|09-24-2010, 11:00 AM||#1|
Comparer of the Ephemeris
Join Date: Mar 2009
[Old Thread] Tweak ePub - new feature (0.7.20)
Calibre now makes it possible to make small edits — tweaks — to ePubs in your library. You can use this feature to correct typos and formatting problems, or to edit CSS rules. This feature requires some knowledge of the ePub format — I would describe it as an intermediate user feature. If you need to learn more about the structure of ePubs, take a look at Liza Daly's Build a Digital Book with ePub or Liz Castro's EPUB Straight to the Point.
Begin by selecting a book in your library including an ePub format. Right-click to display the context menu, then select Tweak ePub. (You can also press the shortcut key 'T'). If you do not see the 'Tweak ePub' option, see If you have problems below. If the book does not currently include an ePub format, see Usage tips below.
The Tweak ePub dialog is displayed overlaying the top left corner of the calibre interface:
Click Explode ePub to open a file browser window showing the contents of the ePub. In the file browser window, right-click the file to be edited, then 'Open with...' your editor of choice. (The feature has been tested with BBEdit and Dreamweaver under OSX, and EditPad Pro under Windows.)
When your tweaks are complete, close the file browser window. Click Rebuild ePub. The tweaked ePub is rebuilt, and the rebuilt ePub replaces the original ePub in your calibre library.
Clicking Cancel discards all changes. The original ePub remains untweaked in your library.
Under the hood:
If you have problems:
Please post comments, questions, suggestions in this thread.
Last edited by GRiker; 09-24-2010 at 06:56 PM.
|09-24-2010, 12:16 PM||#3|
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Great feature GRiker!
Last edited by Starson17; 09-24-2010 at 12:20 PM.
|09-25-2010, 12:22 PM||#4|
Join Date: Jul 2010
Device: PRS-300 (R.I.P.), PW2, Nexus7
Many thanks! Just what I needed and avoids resorting to Sigil for minor ePub edits.
Last edited by Agama; 09-25-2010 at 12:27 PM.
|09-25-2010, 01:03 PM||#5|
Join Date: Dec 2009
Device: pocketbook 360, kindle 4
What a fantastic feature! I always avoided making changes to epubs unless absolutely necessary, because I was bored of the repackaging process. Thank you!
|09-25-2010, 02:53 PM||#6|
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Spell check possible
Image substitution (keeping same name) possible.
Notepad++ is my friend
|09-25-2010, 09:06 PM||#10|
US Navy, Retired
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Thanks a bunch. I was using the tweak-epub by AWP but I was growing bored having to drill my way through the directory structure to the file even when using the "Open with" option.
This makes things much more convenient.
|09-26-2010, 12:39 AM||#11|
Join Date: Jan 2009
Location: The Frozen North (aka Illinois, USA)
Device: Dell Venue Pro 8
OMG!!! I did it!! Exploded an ePub, fixed a problem, rebuilt it, and it's perfect!!
|09-26-2010, 07:05 AM||#12|
Join Date: Apr 2010
Device: Nokia e71, Ipod Touch, Sony PRS 300
Great feature!! Really saves my time cause I like to play around with epub.
Interesting choice of name too, "explode epub" rather than unePub (such as zip and unzip).
|09-26-2010, 07:18 AM||#13|
Join Date: Jan 2008
Location: Drachten, The Netherlands
Device: Kobo Aura HD, BeBook Neo, Cybook Gen3
Very happy with this new functionality.
I also used the AWP tweak-epub a lot, but since I switched to Linux (Mint) recently, I sorely missed being able to use it. (Wine made it an irritating experience...)
|10-24-2010, 06:40 PM||#15|
Join Date: Oct 2010
Device: kindle 3G + wifi
Problem exploding EPUB
When I explode an EPUB nothing happens. Calibre returns the following terminal message:
error: no assocations found for cannot open `/home/username/file:/tmp/calibre_0.7.24_tmp_r07ZTh/calibre_0.7.24_LPg7xk_exploded' (No such file or directory)
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Feature/tweak/plugin request||lathom||Calibre||0||08-03-2011 10:09 AM|
|Tweak ePub||Daniel0312||Calibre||6||06-26-2011 12:31 PM|
|Tweak ePub Error on Fedora 15||apastuszak||Calibre||2||06-06-2011 10:15 AM|
|Setting Path for Tweak ePub||Agama||Calibre||6||12-03-2010 03:06 AM|
|Tweak epub and Simple CSS Editor||Shadowman123||Calibre||11||09-30-2010 11:07 AM|