Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-08-2014, 08:05 PM   #1
Borodin
Member
Borodin began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jul 2012
Device: Android mobile phone
Coverting from the Open eBook

It is clear that ebook-convert can be used to convert from any supported format to Open eBook format, which is a collection of files in a directory, but there is nothing in the documentation that describes a way to convert from that collection.

Am I missing something, or does such a facility really not exist?

It seems to me that the OEB directory format is best for manually tweaking the format of books before they continue to their intended destination, as the HTML, stylesheets, images, and manifest files are laid out there ready for editing as desired.

The documentation says that "These files are the files that would normally have been passed to the output plugin" it is clear that the functionality is already there to make the final transformation, but it seems to be accessible only as the second half of a conversion from one readable format to another.

Can someone please help me with this?
Borodin is offline   Reply With Quote
Old 08-08-2014, 11:03 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,255
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
ebook-convert file.opf whatever
kovidgoyal is offline   Reply With Quote
Advert
Old 08-10-2014, 03:38 AM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
As Kovid said, use as the input file, the opf which lists all the book's resources.

But maybe you should be using the editor? If you are tweaking, you may not want some of the changes a conversion will do. Like flattening the CSS, which is only nice for end users that just want the book on their device already.

The editor will pop open the book and offer you the raw resources, with lots of useful tools to process them and a checkpoint system for reverting mistakes. Or use the Unpack book feature to temporarily extract the book to a temp folder, where you can edit it with any tools you might prefer before rebuilding it.

Last edited by eschwartz; 08-10-2014 at 03:40 AM.
eschwartz is offline   Reply With Quote
Old 09-10-2014, 04:30 PM   #4
Borodin
Member
Borodin began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jul 2012
Device: Android mobile phone
Thank you both for your help.

I hadn't realised that the editor was less intrusive than the convertor. I'll take a look.

Is there a command-line utility to just unpack an eBook file?
Borodin is offline   Reply With Quote
Old 09-10-2014, 04:53 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,946
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Borodin View Post
Thank you both for your help.

I hadn't realised that the editor was less intrusive than the convertor. I'll take a look.

Is there a command-line utility to just unpack an eBook file?
(EPUB is a zip file with rules)

Tweak-book
free from the makers of AWP
makes it a snap

Calibre has unpack builtin but I don't know if you can use it from the CLI
theducks is offline   Reply With Quote
Advert
Old 09-10-2014, 05:15 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
http://manual.calibre-ebook.com/gene...bre-debug.html

Code:
calibre-debug --explode-book /path/to/book
Command-line launcher for Unpack Book.

Give the editor a look though -- it has a lot of nice tools notepad++ and others don't have, specific to ebooks.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using only the coverting features of Calibre jr! Calibre 7 05-02-2011 06:49 AM
Coverting EPUB to MOBI cford Conversion 2 02-14-2011 12:03 PM
eBook Software Only Opens in Library, Used to Open in eBook Store Lon Gnome Sony Reader 6 04-22-2009 04:31 PM
Open eBook Forum's eBook (Fiction) Bestseller List Colin Dunstan Reading Recommendations 4 02-26-2009 11:02 PM
Reference Open eBook Forum: Open eBook Publication Structure. IMP. V1.0.1 14 September 2007 DaleDe IMP Books 0 09-14-2007 05:06 PM


All times are GMT -4. The time now is 08:49 AM.


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