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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2015, 06:35 PM   #946
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: 5,083
Karma: 3786999
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by Terisa de morgan View Post
@Rev. Bob, I send you a PM with the small changes I've made for the jacket at the end of the book.
@Rev. Bob - FYI - I took Terisa de morgan's Modify PI for a test drive of its 'jacket at the back' feature - works for me It's better than my lost one, which didn't provide a tick-a-box option.

BR
BetterRed is offline   Reply With Quote
Old 05-04-2015, 07:26 AM   #947
Tanjamuse
Evangelist
Tanjamuse began at the beginning.
 
Posts: 466
Karma: 20
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
is there a way to make a custom column to auto-fill when I've run the Modify epub plugin?
Tanjamuse is offline   Reply With Quote
Old 05-04-2015, 08:03 AM   #948
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: 5,083
Karma: 3786999
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by Tanjamuse View Post
is there a way to make a custom column to auto-fill when I've run the Modify epub plugin?
No, but not a bad idea, maybe the custom column could be a timestamp.

BR
BetterRed is offline   Reply With Quote
Old 05-04-2015, 10:10 AM   #949
Tanjamuse
Evangelist
Tanjamuse began at the beginning.
 
Posts: 466
Karma: 20
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
and perhaps a yes/no column?
Tanjamuse is offline   Reply With Quote
Old 05-18-2015, 10:48 AM   #950
Wiekje
Junior Member
Wiekje began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2015
Device: Kobo Aura
Remove embedded fonts

I used Calibre Modify Epub before to remove embedded fonts, but now I get a failure. I downloaded Modify again, restarted Calibre, but the failure is coming.
I see this at show details:

Modify ePubs
Logfile for book ID 7 (De Eerste Wet 3 - De val van een koning / Joe Abercrombie)
7
Modifying: C:\Users\jan\AppData\Local\Temp\calibre_fnthj0\l44 xcq_modify_epub\7.epub
Parsing xml file: OEBPS/content.opf
Parsing xml file: OEBPS/toc.ncx
Looking for embedded fonts
Looking for css @font-face style declarations
Looking for inline @font-face style declarations
ePub not changed after 3.60 seconds

I don't understand what I'm doing wrong. It worked before.
Wiekje is offline   Reply With Quote
Old 05-18-2015, 11:06 AM   #951
theducks
Grand Sorcerer
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: 16,510
Karma: 7667356
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Quote:
Originally Posted by Wiekje View Post
I used Calibre Modify Epub before to remove embedded fonts, but now I get a failure. I downloaded Modify again, restarted Calibre, but the failure is coming.
I see this at show details:

Modify ePubs
Logfile for book ID 7 (De Eerste Wet 3 - De val van een koning / Joe Abercrombie)
7
Modifying: C:\Users\jan\AppData\Local\Temp\calibre_fnthj0\l44 xcq_modify_epub\7.epub
Parsing xml file: OEBPS/content.opf
Parsing xml file: OEBPS/toc.ncx
Looking for embedded fonts
Looking for css @font-face style declarations
Looking for inline @font-face style declarations
ePub not changed after 3.60 seconds

I don't understand what I'm doing wrong. It worked before.
I believe the PI expects a fully (font) validated book.
Look at the book with the editor, check that it validates

You may have a broken book:
Only fragments of a previous 'Font' inclusion remain (left dirty)
Font files missing the/wrong declaration in the OPF
theducks is offline   Reply With Quote
Old 05-18-2015, 12:02 PM   #952
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 40,590
Karma: 22911941
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
There could be font-family declarations in the ePub without having @font declarations and sometimes you really don't want to remove them all or even at all.

You really should not just willy nilly remove fonts. The way to do it is to look at the CSS and see what's what. Sometimes you get like monopsace or sans-serif fonts defined for very specific reasons. So have a look before removing embedded fonts and/or specified font commands.
JSWolf is offline   Reply With Quote
Old 05-18-2015, 12:50 PM   #953
theducks
Grand Sorcerer
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: 16,510
Karma: 7667356
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Quote:
Originally Posted by JSWolf View Post
There could be font-family declarations in the ePub without having @font declarations and sometimes you really don't want to remove them all or even at all.

You really should not just willy nilly remove fonts. The way to do it is to look at the CSS and see what's what. Sometimes you get like monopsace or sans-serif fonts defined for very specific reasons. So have a look before removing embedded fonts and/or specified font commands.
+1
This is one of the few cases I totally agree with JSW

Fonts is a case where I wish the PI had a user specified condition list to apply to 1)the CSS, 2) EPUB

Remove TTF, OTF font files: X, Y, Z /* reader has those installed. redundant*/
Leave family types: monospace, italic
Replace with: TNR>GentianBas /*fix readability issues */
Update (import replacement) CharrisSIL /*from a configured source folder */
generic only /* strip reference to named fonts from CSS. leave basic types :italic, monospace */
theducks is offline   Reply With Quote
Old 05-18-2015, 03:03 PM   #954
Wiekje
Junior Member
Wiekje began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2015
Device: Kobo Aura
I tried it again with another book and it worked. Finally.

Don't know how because I already had tried another book. But I'm happy now.

What you all said above is really abracadabra to me.

But thank you for responding.
Wiekje is offline   Reply With Quote
Old 05-20-2015, 06:33 PM   #955
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 40,590
Karma: 22911941
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by Wiekje View Post
I tried it again with another book and it worked. Finally.

Don't know how because I already had tried another book. But I'm happy now.

What you all said above is really abracadabra to me.

But thank you for responding.
What you should try is loading the eBook into Calibre's editor and having a look at the CSS to see what's going on with fonts before stripping anything out. Just doing so could end up with a problematic read. For example, the eBook The Martian makes very good use of different font styles such as monoapsce and if you were to remove this, you would spoil the book because of the way the different fonts are used. They are used very well when the monopace font is used, it is used for a specific purpose that without loses how the book works.

So if you don't understand CSS/XML, go learn. Don't just dive in and remove things you don't understand.
JSWolf is offline   Reply With Quote
Old 06-27-2015, 05:48 AM   #956
chrisridd
Addict
chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.
 
chrisridd's Avatar
 
Posts: 312
Karma: 56114
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura
The plugin's pretty handy in removing all the Adobe cruft in an ePub, but I buy a lot of books from Google Play and removing the Google Play cruft via Sigil is a bit tedious.

IME Google Play adds two kinds of cruft:

1. Unreferenced anchors which look like page numbers. e.g. this regex

Quote:
<a id="page.*"></a>
2. Non-displayed divs containing empty and unreferenced "GBS" anchors. e.g. this regex

Quote:
<div style=display: none">\s*
<a id="GBS.*"></a>\s*
</div>
Please add an option to remove these!
chrisridd 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
[GUI Plugin] Open With kiwidude Plugins 269 06-28-2015 08:53 AM
[GUI Plugin] Quality Check kiwidude Plugins 816 06-14-2015 12:56 PM
[GUI Plugin] Manage Series kiwidude Plugins 117 02-14-2015 06:42 PM
Modify ePub plugin dev thread kiwidude Development 346 09-02-2013 05:14 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 02:35 AM.


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