|09-24-2010, 10: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 05:56 PM.
|09-24-2010, 11:16 AM||#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 11:20 AM.
|09-25-2010, 11:22 AM||#4|
Join Date: Jul 2010
Device: PRS-300, PW2
Many thanks! Just what I needed and avoids resorting to Sigil for minor ePub edits.
Last edited by Agama; 09-25-2010 at 11:27 AM.
|09-25-2010, 12: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, 01: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, 08: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-25-2010, 11:39 PM||#11|
Join Date: Jan 2009
Location: The Frozen North (aka Illinois, USA)
Device: Samsung Galaxy Note 8
OMG!!! I did it!! Exploded an ePub, fixed a problem, rebuilt it, and it's perfect!!
|09-26-2010, 06: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, 06: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, 05: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 09:09 AM|
|Tweak ePub||Daniel0312||Calibre||6||06-26-2011 11:31 AM|
|Tweak ePub Error on Fedora 15||apastuszak||Calibre||2||06-06-2011 09:15 AM|
|Setting Path for Tweak ePub||Agama||Calibre||6||12-03-2010 02:06 AM|
|Tweak epub and Simple CSS Editor||Shadowman123||Calibre||11||09-30-2010 10:07 AM|