1

I'm new to epubs; I'm wading through the InDesign tutorials and will then have to learn how to work with iBooks Author (and perhaps Sigil as well).

Anyway, I ran into an unexpected snag in InDesign: It doesn't like bold and italics tags. As I understand it, they prefer to replace these tags with classes that select a particular font (e.g. Arial Bold or Arial Italic).

Given that 1) ebooks are based on html, and 2) there must be 10 million websites that use bold and italics tags, this seems like a really stupid move to me.

So here's my question: What would happen if I snubbed the new rules and published an epub with bold and italics tags? Would it create some technical problems that would come back to haunt me? Will Amazon or other publishers reject epubs that have traditional bold/italic tags?

On a related note, I wonder if there's a way to instruct an epub to disallow fonts that don't "recognize" bold/italics tags. Fonts like Arial and Times New Roman would be allowed, while really funky fonts would be essentially banned (except perhaps in headings or art work).

2

I have never used Adobe Indesign, but I'm guessing that when they spit out html they use the italic and bold html tags. My guess is that in Adobe Indesign you are not seeing a separate font at all but a compound statement about font-style and font-family.

You can easily test this by outputting it epub/html and viewing the source.

1

I'm testing this with Calibre editor, I don't know if InDesign works the same, but html tags are the same regardless of the software.


I can render a bold italic text in two ways, with <b> and <i> tags, or with <strong> and <em> tags.

Example:

<b><i>This is a bold and italic text</i></b>

gives me

This is a bold and italic text

<strong><em>This is a strong and emphasized text</em></strong>

gives me

This is a strong and emphasized text


I tested it with Calibre reader and on a Kobo Glo and it works.

I don't understand what you mean by saying

Anyway, I ran into an unexpected snag in InDesign: It doesn't like bold and italics tags. As I understand it, they prefer to replace these tags with classes that select a particular font (e.g. Arial Bold or Arial Italic).

but if you manually insert the tags, there should be a way to tell the program to leave the code that way instead of modifying it with CSS classes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.