Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 08-19-2019, 11:57 AM   #1
Jane Eyre
Enthusiast
Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.
 
Jane Eyre's Avatar
 
Posts: 38
Karma: 6368
Join Date: Nov 2018
Location: Italy
Device: Kindle Paperwhite 2015
Converting odt to ePub

Hi!
I've been trying to convert to epub an odt document (LibreOffice 6.1.3.2), but it gives me the following error.

How could I fix? Thanks!!
Attached Thumbnails
Click image for larger version

Name:	error.jpg
Views:	50
Size:	150.5 KB
ID:	173037  
Jane Eyre is offline   Reply With Quote
Old 08-19-2019, 12:29 PM   #2
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,252
Karma: 12666714
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
moved this thread to a more appropriate place.
DaleDe is offline   Reply With Quote
Old 08-19-2019, 12:36 PM   #3
patrik
Evangelist
patrik can program the VCR without an owner's manual.patrik can program the VCR without an owner's manual.patrik can program the VCR without an owner's manual.patrik can program the VCR without an owner's manual.patrik can program the VCR without an owner's manual.patrik can program the VCR without an owner's manual.patrik can program the VCR without an owner's manual.patrik can program the VCR without an owner's manual.patrik can program the VCR without an owner's manual.patrik can program the VCR without an owner's manual.patrik can program the VCR without an owner's manual.
 
Posts: 463
Karma: 185023
Join Date: Jan 2010
Location: Sweden
Device: Kobo Aura HD, Pocketbook InkPad 3
FWIW I gave up odt -> epub after I tried the docx-plugin for Sigil.

So, I just save from LibreOffice in docx, and open it with the plugin in Sigil. Works very nicely.
patrik is offline   Reply With Quote
Old 08-19-2019, 12:40 PM   #4
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,252
Karma: 12666714
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
I did try the ODT to ePub and I find the programmer made a lot of assumptions and does not follow the actual source well. I consistently get better results using Atlantis Word Processor to convert to ePub.

Dale
DaleDe is offline   Reply With Quote
Old 08-19-2019, 09:56 PM   #5
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,393
Karma: 12542140
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Jane Eyre - if you save it as DOCX you can either use Sigil's DOCXImport plugin which offers the possibility of mapping the Writer Styles to ePub CSS styles, or you can use calibre conversion (or editor) to convert DOCX to ePub, which will preserve your Writer styles the ePub's CSS, but it won't retain the style names, and it will flatten any hierarchical structure.

BR
BetterRed is online now   Reply With Quote
Old 08-20-2019, 07:24 PM   #6
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,297
Karma: 6580661
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Jane Eyre View Post
I've been trying to convert to epub an odt document (LibreOffice 6.1.3.2), but it gives me the following error.
Since LibreOffice 6.0, you're able to convert directly to EPUB:

File > Export As > Export As EPUB

I would also recommend downloading the latest LibreOffice for feature/bug fixes (latest as of today is v6.3.0 or v6.2.6).

It still has quite a lot of kinks though, so you may want to try other methods as well.

Quote:
Originally Posted by BetterRed View Post
if you save it as DOCX you can either use Sigil's DOCXImport plugin which offers the possibility of mapping the Writer Styles to ePub CSS styles, or you can use calibre conversion (or editor) to convert DOCX to ePub, which will preserve your Writer styles the ePub's CSS, but it won't retain the style names, and it will flatten any hierarchical structure.
Yes, this works as well.

Calibre also takes ODT directly.
Tex2002ans is offline   Reply With Quote
Old 08-20-2019, 08:01 PM   #7
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,393
Karma: 12542140
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Tex2002ans View Post
Calibre also takes ODT directly.
Calibre's DOCX conversion is usually yields better results. The DOCX Input module is actively maintained by Kovid - afaik the ODT input module is on life support. IMO the only reasons for using calibre's ODT conversions is because you're using an ancient version of Writer or political/religious/cultural bias.

BR
BetterRed is online now   Reply With Quote
Old 08-21-2019, 08:11 AM   #8
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,652
Karma: 14713457
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Tex2002ans View Post
It still has quite a lot of kinks though, so you may want to try other methods as well.
IMHO, the LibreOffice epub filter isn't production-ready. I've re-tested the epub export filter with LibreOffice 6.3.0.4 and Kovid Goyal's demo.docx test file.

The filter still doesn't support lists in epub2/epub3 files and generates invalid epub2/epub3 books.

HTML files in Epub2 books still contain duplicate <title/> tags and stand-alone <br/> tags.

HTML files in Epub3 books still contain no <title></title> tags and style sheets contain direction: ltr; declarations, which are not allowed in epub3 books.

Also, the LibreOffice epub export filter generates CSS declarations with in and pt values.
Attached Files
File Type: epub demo_epub2.epub (186.3 KB, 12 views)
File Type: epub demo_epub3.epub (186.7 KB, 10 views)

Last edited by Doitsu; 08-21-2019 at 08:50 AM.
Doitsu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre converting portrait odt to landscape epub MarjaE Conversion 4 11-20-2017 09:35 AM
Attributes lost from hierarchical custom style when converting from ODT to EPUB bgiroud Conversion 6 07-27-2015 03:43 AM
little issue converting from odt to epub (top and bottom margin) superanima Calibre 1 02-15-2010 04:15 PM
Strange behavior converting from ODT to EPUB, lots of page-break superanima Calibre 0 01-25-2010 02:57 AM
Converting ODT to EPUB/LRF banjomike Calibre 2 10-03-2009 04:32 PM


All times are GMT -4. The time now is 04:56 AM.


MobileRead.com is a privately owned, operated and funded community.