Copy link to clipboard
Copied
Hi there,
I'm laying out a book and when I try to export an HTML version the italics are gone in the HTML document. Does anyone know how to resolve this?
In your book, wherever you use italics, make sure that you apply an italic character style to each instance. Open the italic character style and click on Export Tagging on the left hand side. Choose em from the Tag drop-down menu. Now when you export to HTML, the italics should be retained.
Copy link to clipboard
Copied
Not without some details. Are you expecting an HTML export of InDesign maintain all styling or are you exporting an EPUB?
What version of InDesign and operating system? How are looking at this file?
Copy link to clipboard
Copied
Yes I was hoping that an HTML export from InDesign would maintain styling. Not exporting an EPUB.
InDesign CC 2019
I don't know what you mean by how are looking at this file... but it's for a book. We've finalized the print version with an exported .pdf and now I just need to export the HTML for the digital forms of the book. When I do that I don't see italics in the exported HTML file.
Copy link to clipboard
Copied
It's not as easy as that.
Do you want to produce a FXL ePub or a Reflowable ePub or another format?
Copy link to clipboard
Copied
InDesign’s native HTML export is for content only, not styling. If you want that, look into in5 from www.ajarproductions.com
Copy link to clipboard
Copied
in5 are just about to launch a series of training videos on how to use it.
Copy link to clipboard
Copied
If you want to do some easy testing export to InDesign's Publish Online, which is a form of FXL ePub (HTML5)
Copy link to clipboard
Copied
If you just need to preserve the italics, do a GREP find change: Search for .+ with your italics applied, and replace with <span class="italics">$0</span>.
Then copy and paste the text directly into a text editor such as notepad, and from there to your website.
(Obviously, use whatever your preferred html markup you like for the italics. The span thing with class="italics" is just by way of an example.)
Ariel
Copy link to clipboard
Copied
In your book, wherever you use italics, make sure that you apply an italic character style to each instance. Open the italic character style and click on Export Tagging on the left hand side. Choose em from the Tag drop-down menu. Now when you export to HTML, the italics should be retained.
Copy link to clipboard
Copied
Hi there,
I would like to know if the steps suggested above worked for you, or the issue still persists.
Kindly update the discussion if you need further assistance with it.
Thanks,
Srishti
Find more inspiration, events, and resources on the new Adobe Community
Explore Now