View Single Post
Old 05-30-2018, 08:42 AM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,025
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by FrustratedReader View Post
Yes, obviously ems are best for ebooks & webpages.
However, the word processor only uses absolute (except for fonts which can be %), such as metric, imperial or points. It's not possible to specify indents in ems in the source. I do edit the styles in the source and save different versions for paperback (export PDF), Smashwords (save As .doc), Amazon (save As .doc)and Google (I edit the Smashwords ePub). The Smashwords converted ePub and Amazon mobi from .doc exported from Libre Office is fine.

There IS an option to remove blank lines and put an indent based on ems in Calibre. However that messes up some aspects. Editing the css for the body text to 1.5em is better, Calibre seems to do it to all styles.

Sometimes (whatever it is), the Kobo H2O DOES do correct indent for the body text. Note that it's not a problem on Calibre's own eReader, or on other ePub ereaders or conversion to Mobi.

So though whatever it is due to Calibre conversion, only my Kobo H2O is "sensitive" to this issue.
Indents do not go in the body style. You put an indent in the <p> style. In fact, the best thing to do is set <p> to what most paragraphs will be and do not use <p class="somestyle"> for most paragraphs. You only use a style with <p> for when you need to change the style of the paragraph such as no indent.
JSWolf is offline   Reply With Quote