Quote:
Originally Posted by Quoth
The docx is best. I've tried all the possibilities. It's nearly perfect if the docx is properly created (even if it's a converted LibreOffice ODT). Only Save As a docx for Calibre and only edit odt on LO Writer as it otherwise converts on every import.
You might have to use the Edit Tool bag (Spans & Divs) to change <p to <h for headings if the style name was not Heading1, Heading2 etc, but as the class name will be unique to headings that's a simple change.
The CSS of Images width & height will need edited in Calibre too unless they are small ones
The default units must be pt in LO or MS Word, not cm or inches as that only works for paper / pdfs.
You might need to change margin-top to padding-top for any heading at the start of a new page.
Only have one page style, no registration, headers, footers. All that is for POD / PDF / Paper.
Don't use lists, simulate with regular paragraph styles and manually enter the list prefix because lists using HTML are poorly supported on ereaders.
No columns or logical frames and tables are tricky. You can have enclosing line styles on a paragraph style for visual frames (any or all of the 4 sides), but no curve on corners.
|
I will give DOCX a try and see it works better than RTF. I like the RTF format because it is just text with tagging and it is readable by just about word processor, and is somewhat easy to understand if you view it through a text editor. This is different from the DOC format, which I avoid whenever possible.
Since RTF is one of Calibre's conversion supported formats, I took a ODT file (a story I wrote myself), saved it as an RTF, imported the RTF file into Calibre, and then used Calibre to convert it into an EPUB. The results weren't very good, with the following issues:
- Everything was rendered in a single typeface at the same size
- No page breaks at the beginning of chapters
- Page breaks where they shouldn't be (each line in my title page had a page break before it)
- Widow and orphan issues
- Centering missing where formatted by styles
- Nothing listed in the e-readers Table of Contents except for "Start" while with the PDF version the contents are listed (chapters and scene breaks)
About the only things that made it through correctly was:
- The text I marked as thoughts (which I directly formatted in italics)
- The text intended to be bold was bold in the EPUB
At least it appears that the text does reflow correctly.
Although it is possible that the issues occurred in LibreOffice's conversion to RTF, I'm going to check Calibre's conversion settings to see if I need to make some changes to fix these issues.