openstax / oer.exports

Converter to various book formats (PDF, epub, mobi)
2 stars 0 forks source link

Entrepreneurship - Enabling italics in TOC, module titles and links #3997

Closed mwest-WWprod closed 4 years ago

mwest-WWprod commented 4 years ago

Italics occurs in this book in Chapter 11 Module 1 Entrepreneurship

If possible we should enable italics in module titles/TOC/links; the Chapter 11 Module 1 refers to the film Field of Dreams, while 'How I Built This' refers to a podcast (this is contained in links).

Bookmap https://docs.google.com/spreadsheets/d/1bM9caERXQZA7LmUimgJYRXi3PNYj5WFQNjRqoGluXvo/edit?usp=sharing

Field of Dreams_Eship

HowIBuiltThis_Italics 2

openstaxalina commented 4 years ago

@mwest-WWprod could your teams please apply the following markup, test in PDF and webview formats, and confirm this resolves the issue?

<i> text in italics </i>

(Note: While the above pertains to Entrepreneurship, we will have an update on tomorrow's call regarding this change to the Tutor platform for APUSH.)

mwest-WWprod commented 4 years ago

@openstaxalina yes we'll test this - for reference our team noted this in their proofread and had the following response:

Since this was added within CNX Server and not CNXML, italics is not supported in the platform.

openstaxalina commented 4 years ago

@mwest-WWprod that's correct - italics were not previously supported in module titles. We recently started supporting them when they were requested for APUSH.

mwest-WWprod commented 4 years ago

@openstaxalina we have tested this in PDF and webview, please see below

Field of Dreams_Eship Test Field of Dreams_Eship Test Webview

mwest-WWprod commented 4 years ago

@openstaxalina FYI I added an example of another media title in a link to the main ticket, title updated as well

openstaxalina commented 4 years ago

@mwest-WWprod italics are only possible in anchor text if the entire anchor text (and the URL) are italicized using italics tags outside the link tags.

Per today's call, we will use content workaround of quotation marks in both instances ("Field of Dreams" and "How I Built This"). @mwest-WWprod straight quotation marks must be used (not curly quotation marks). Please close this issue once your teams have been able to implement markup and verify this resolves the issue.