I use LibreOffice for creating EPUBs, but I use the "Export to Epub" that gets installed with the writer2xhtml extension.
This has the advantage that when it writes the epub the names of the LO Styles maps to the classes used in the css. So if I have a LO style called "noindent" then it generates a <p class="noindent"> paragraph and the appropriate css style. Being able to use meaningful style names without having to examine them to work out what say "calibre27" was used for is very useful.
I also use a couple of other add-ons to LO that help in fixing and tidying up the odt file - there are some excellent macros in the OOOFBTools add-in even if you don't want FB2 output - the stuff that generates footnotes from simple [1] etc type references for instance is excellent once you get the hang of how to use it. The Alternative Search add-on also gives me a "library" of transformations based on regex - easy to do the things like changing "markdown" italics based on underscores to proper italics and making Chapter headings into proper headings that then get processed by the export routine as separate files within the epub.
BobC
|