09-24-2010, 11:00 AM | #1 |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
[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. Usage tips:
Under the hood:
If you have problems:
Please post comments, questions, suggestions in this thread. G Last edited by GRiker; 09-24-2010 at 06:56 PM. |
09-24-2010, 11:29 AM | #2 |
Banned
Posts: 640
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
|
The best just keeps getting better! Thank you to Kovid and all the developers.
|
Advert | |
|
09-24-2010, 12:16 PM | #3 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Great feature GRiker! Last edited by Starson17; 09-24-2010 at 12:20 PM. |
|
09-25-2010, 12:22 PM | #4 |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Many thanks! Just what I needed and avoids resorting to Sigil for minor ePub edits.
And it works with Notepad++ for Windows. Last edited by Agama; 09-25-2010 at 12:27 PM. |
09-25-2010, 01:03 PM | #5 |
Wizard
Posts: 1,454
Karma: 37243
Join Date: Dec 2009
Location: Europe
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!
|
Advert | |
|
09-25-2010, 02:53 PM | #6 |
Well trained by Cats
Posts: 30,572
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
OOOH!
Spell check possible Image substitution (keeping same name) possible. Notepad++ is my friend |
09-25-2010, 05:33 PM | #7 |
Bookmaker
Posts: 426
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
This is an extremely useful feature. Thanks!
|
09-25-2010, 09:00 PM | #8 |
Hooked on Phonics
Posts: 122
Karma: 24
Join Date: Jun 2010
Location: Ottawa, Canada
Device: Kindle
|
This is great! Thank you.
|
09-25-2010, 09:02 PM | #9 |
Member
Posts: 23
Karma: 1074640
Join Date: Jun 2008
Device: Kindle 3G
|
Fantastic! Just like Agama said, works great in Notepad++!
Thank you, thank you! |
09-25-2010, 09:06 PM | #10 |
US Navy, Retired
Posts: 9,878
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
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 |
ZCD BombShel
Posts: 4,793
Karma: 8293322
Join Date: Jan 2009
Location: The Frozen North (aka Illinois, USA)
Device: iPad, STB Kindle Oasis
|
OMG!!! I did it!! Exploded an ePub, fixed a problem, rebuilt it, and it's perfect!!
|
09-26-2010, 07:05 AM | #12 |
Connoisseur
Posts: 82
Karma: 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 |
Enthusiast
Posts: 31
Karma: 300143
Join Date: Jan 2008
Device: Kobo Aura One, Kobo Aura HD, BeBook Neo
|
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-05-2010, 04:16 PM | #14 |
Enthusiast
Posts: 43
Karma: 10
Join Date: Apr 2009
Location: Malaga - Spain
Device: Kindle Touch, iPad, iPhone
|
Thanks a lot! Is a very useful feature
|
10-24-2010, 06:40 PM | #15 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2010
Device: kindle 3G + wifi
|
Problem exploding EPUB
When I explode an EPUB nothing happens. Calibre returns the following terminal message:
Code:
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)
Thanks. |
|
Similar Threads | ||||
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 |