View Single Post
Old 03-04-2021, 03:27 PM   #207
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,906
Karma: 6120478
Join Date: Nov 2009
Device: many
Thanks,

I will try to add that to the tutorial_convert_to_html chapter. Since LibreOffice isfully cross-platform it could help all users and not just Linux users.

KevinH


Quote:
Originally Posted by Banjo View Post
FYI, on Linux you can convert the docx format into html using LibreOffice, which is installed by default on most distros. Open the docx file in LibreOffice, then save it out using one of:

File => Save a Copy... setting the filter to "HTML Document (Writer) (.html) "

or

File => Export... setting the filter to XHTML (.html;.xhtml) "


"Save a Copy" creates a cleaner output than Export. It puts less formatting trash in the document. It also links to any images, whereas Export embeds the image data in the file. I suspect that "Save a Copy" would be preferable for use in an ePub.
KevinH is offline   Reply With Quote