LO Writer
edit in odt format
Save As an extra copy in docx
Convert docx to epub2 in Calibre.
Only edit HTML if doing something NOT simple, and then maybe in Sigil or Calibre Editor, not with Pages or any other HTML WYSIWYG editor.
If you use paragraph styles, heading levels and links-anchors properly the results from Word or extra Save As in LO Writer to docx are perfect in Calibre to epub2.
Never edit docx with LO Writer, either import it once and fix it and edit only in odt and "Save As" an extra copy from LO Writer.
Samples in my sig. Each css block { } created by Calibre is from ONE LO Writer paragraph style. There are no extra blocks.
Only items to appear in the NCX have a heading level (via paragraph style). Some textual headings and all scene breaks are just paragraph styles with body text level.
|