Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

exporting html with italics

New Here ,
Dec 03, 2018 Dec 03, 2018

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?

890
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 03, 2018 Dec 03, 2018

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.

Forums Em.png

Translate
Community Expert ,
Dec 03, 2018 Dec 03, 2018

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2018 Dec 03, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018

It's not as easy as that.

Do you want to produce a FXL ePub or a Reflowable ePub or another format?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018

InDesign’s native HTML export is for content only, not styling. If you want that, look into in5 from www.ajarproductions.com

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018

in5 are just about to launch a series of training videos on how to use it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018

If you want to do some easy testing export to InDesign's Publish Online, which is a form of FXL ePub (HTML5)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Dec 03, 2018 Dec 03, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2018 Dec 03, 2018

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.

Forums Em.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 06, 2018 Dec 06, 2018
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines