View Single Post
Old 08-07-2020, 10:20 AM   #29
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 270
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
I've come back to needing to generate epub files from LO Writer. My last experiences were around 2015/6 and I used the LO Writer extension, writer2xhtml (v1.5.2alpha). This worked fine.

Now, I see that the world has moved on. Writer's native epub export gives me a poor result. The writer2xhtml extension no longer appears to be maintained but I have tried the writer2xhtml.oxt file from both writer2latex 152alpha and 161 and the results with LO Writer 6.3.5.2 are disappointing. The file > export method using any of the writer2xhtml options on offer fails with a 'general input/output' error.

The only thing that does work is the 'publish epub' button on the writer2xhtml toolbar and that gives me an epub3 output without any way of selecting a name for the output file. The file produced needs some work but is not bad.

I imagine that something else is required for a Writer extension than just using the .oxt file from writer2latex.

I have read this thread and tried this ODTimport plugin v 0.3.2 to produce an epub file. The first thing I noticed was that it stole my first image to use as a cover image and then failed to use the same image in the correct place in the document. It also produced a couple of style sheets, styles.css and styles1.css.

Styles1.css contains some but not all of my Writer document styles I used and the output epub file contains a mixture of styles from each of the css files. I guess I can sort that out by using the various suggestions in this thread.

Is this plugin still a recommended way to produce an epub file from odt or has it become obsolete and been replaced by other different workflows and tools?
philja is offline   Reply With Quote