Quote:
Originally Posted by Thierry31
I also thought of a not very classy solution to skip the lines by putting one point in each of the desired line breaks and then changing the color of their font to white.
But I think the points could be seen if readers chose a wallpaper other than white, right?
On the other hand, I don't see any such solution for centering titles and removing numbering.
|
In LibreOffice Writer you simply must use paragraph styles. For each type of text, heading, paragraphs, whatever,
use a style to determine top and bottom spacing, as well as centered alignment (where you want it). Each style you use will become html styles and css instructions in conversion. Never use blank lines as spacing, use a style with top and bottom margins specified.
The numbering of headings means that the source file is considering the heading part of a numbered list. I get this if I save a Writer doc as .docx before conversion. I have fought it forever and don't know why. Others may not have this problem. To avoid it, use some custom style in Writer, rather than the "heading" ones. Or just convert the .odt file rather than the .docx saved one.
Either way, you will have to get into the code a bit to make it completely correct. A bit of a learning curve, but worth it.
Or, look into Jutoh (
https://www.jutoh.com). It will let you import your .odt file, make changes to the appearance in a wysiwyg environment, and compile a very nice epub. I used it a lot before I learned to edit the code in the books, and still use it for some tricky things. Not free, but quite inexpensive and the author provides excellent help.