![]() |
LilbreOffice 6.0 epub2/epub3 output test
2 Attachment(s)
Since the upcoming LibreOffice 6.0 version will have epub2/epub3 output support, I tested a LibreOffice 6.0 pre-release version with a demo file originally created by Kovid Goyal to test the Calibre DOCX filter.
I wasn't exactly impressed by the output. The epub2 version had duplicate header title tags in each file and both versions had one broken link. The converter also couldn't handle footnotes and endnotes and, most annoyingly, all generated HTML files contained inline styles. |
Wow, what a soup ...
Good luck if you need to edit the code outside Libreoffice. |
Well, EPUB is not a semantic markup format, and it cannot be created with a text editor, so this is expected.
Plus, the LibreOffice has a one-trick pony XHTML exporter, which doesn't even try to simplify the output. |
Better to use Atlantis word processor as it creates very nice compact ePub files.
|
Quote:
|
Quote:
|
Quote:
|
@Doitsu
How does it compare with the epub plugin in the earlier version of Libreoffice? |
Quote:
|
2 Attachment(s)
Quote:
IMHO, the results are much better. It also created lots of inline styles*, but at least footnotes and lists survived the conversion. If I had to pick one, I'd definitely pick the old converter. * Inline styles can be easily converted to classes with KevinH's RemoveInLineStyles Sigil plugin. |
Quote:
https://wiki.documentfoundation.org/....0#New_filters This also linked to the author's blog post about adding EPUB3 support. This is a good first step. :) Quote:
As the LibreOffice EPUB Import/Export grows, there will be less of a need for a lot of the third-party solutions now (Save as DOCX and run through Calibre, etc., etc.). And maybe some of the libraries used in LibreOffice will tangentially lead to better ODT input on Calibre's side of things. |
Quote:
|
1 Attachment(s)
Quote:
I opened the source docx file with LO6 and converted it to odt format. Then I used odtImport (a Sigil plugin) to export directly an Epub3. In the joint zip file you'll find the odt and the Epub3. I only batch renamed the html files to xhtml. Everything else is straight from the converter. Epubcheck reports a missing image . writer2xhtml displays all four images because there are two green dots which are the same image, which it displays with different relative settings. This version of writer2xhtml is an alpha version 1.6. compiled by Doitsu from the source repository. :2thumbsup Edit: for reasons I fail to explain, the odt file has a 4.3 MB size but the resulting Epub has a 32 k size... |
Your ODF file contains 18 embedded fonts.
|
According to the update in this blog post, EPUB support has been substantially approved in the LibreOffice master trunk.
|
| All times are GMT -4. The time now is 09:38 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.