View Single Post
Old 03-04-2021, 02:27 PM   #206
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
Quote:
Originally Posted by Ashjuk View Post
No problem.

I stumbled across the app whilst searching for tutorials on converting MS Word docx to html and thought it might be useful note it.

I will have a look and see if there is anything similar for Mac and Linux.

Edit:
I have found a Mac document converter app that seems to work in converting docx files to html. Despite searching I could not find anything similar for Linux.

I have edited the tutorial_convert_to_html.html file to add some text and a link to the app.

https://www.mobileread.com/forums/at...1&d=1614784845
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.
Banjo is offline   Reply With Quote