Quote:
Originally Posted by Banjo
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.
|
I had a feeling that the process of saving to html would be very similar to that of MS Word seeing how aligned they are in other matters, but not having LibreOffice installed I could not be sure.
What I was actually looking for was a stand-alone program that would take a pre-saved docx (odt?) file a convert it to html similar to the ones I have linked to for Windows and Mac.
Thanks for the information.
@Kevin.
When I was looking at that chapter in the latest release I spotted a small change that I would like to make to my editing. It was probably not worth changing for just that, but now there is this information regarding LibreOffice to add would you like me to look at the chapter again?