Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-14-2019, 02:58 PM   #1246
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
Modify ePub failing

Something about write and KeyError at the bottom of the log file.

Edit: unchecking "Remove unmanifested files from ePub" gets rid of this error and it finishes successfully.
Spoiler:

calibre, version 3.45.2
ERROR: Modify ePub failed: No ePub files were updated

Modify ePubs
Logfile for book ID 7325 (Roy Blakeley in the Haunted Camp / Percy Keese Fitzhugh)
7325
Modifying: d:\tmp\calibre_akzdsd\hhv1nx_modify_epub\7325.epub
Updating metadata and cover
Parsing xml file: OEBPS/content.opf
Parsing xml file: OEBPS/toc.ncx
Looking for files to remove: [u'iTunesMetadata.plist', u'iTunesArtwork']
Looking for files to remove: [u'META-INF/calibre_bookmarks.txt']
Looking for files to remove: [u'.DS_Store', u'thumbs.db']
Looking for unused images
Removing unused image: OEBPS/OEBPS/cover.jpg
Manifest item removed: OEBPS/cover.jpg (cover)
Changing playOrder from: 8 to: 3
Changing playOrder from: 17 to: 4
Changing playOrder from: 30 to: 5
Changing playOrder from: 35 to: 6
Changing playOrder from: 42 to: 7
Changing playOrder from: 51 to: 8
Changing playOrder from: 57 to: 9
Changing playOrder from: 63 to: 10
Changing playOrder from: 72 to: 11
Changing playOrder from: 80 to: 12
Changing playOrder from: 84 to: 13
Changing playOrder from: 92 to: 14
Changing playOrder from: 100 to: 15
Changing playOrder from: 108 to: 16
Changing playOrder from: 113 to: 17
Changing playOrder from: 116 to: 18
Changing playOrder from: 121 to: 19
Changing playOrder from: 127 to: 20
Changing playOrder from: 134 to: 21
Changing playOrder from: 141 to: 22
Changing playOrder from: 148 to: 23
Changing playOrder from: 156 to: 24
Changing playOrder from: 160 to: 25
Changing playOrder from: 166 to: 26
Changing playOrder from: 172 to: 27
Changing playOrder from: 182 to: 28
Changing playOrder from: 192 to: 29
Changing playOrder from: 201 to: 30
Changing playOrder from: 205 to: 31
Changing playOrder from: 213 to: 32
Changing playOrder from: 219 to: 33
Changing playOrder from: 227 to: 34
Changing playOrder from: 236 to: 35
Stripping spans
Stripped spans in: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html
Stripped spans in: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-1.htm.html
Stripped spans in: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-2.htm.html
Stripped spans in: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-4.htm.html
Stripped spans in: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-0.htm.html
Stripping Kobo remnants
Looking for redundant entries in manifest
Looking for unmanifested files
Found file to to remove: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html
Found file to to remove: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-1.htm.html
Found file to to remove: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-2.htm.html
Found file to to remove: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-5.htm.html
Found file to to remove: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-4.htm.html
Found file to to remove: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-0.htm.html
Looking for broken links in the NCX
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-0.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-0.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-0.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-0.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-0.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-0.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-1.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-1.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-1.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-1.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-1.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-1.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-1.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-2.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-2.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-2.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-2.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-2.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-2.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-2.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-2.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-4.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-4.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-4.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-4.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-4.htm.html
TOC Navpoint broken to remove of: @public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-4.htm.html
Looking for Adobe xpgt files and links to remove
Looking for Adobe DRM meta tags to remove
Looking for CSS margins
Modified CSS margins in: OEBPS/pgepub.css
Modified CSS margins in: OEBPS/1.css
Modified CSS margins in: OEBPS/0.css
Looking for extra CSS to append
Modified CSS margins in: OEBPS/pgepub.css
Modified CSS margins in: OEBPS/1.css
Modified CSS margins in: OEBPS/0.css
Looking for inline javascript blocks to remove
Looking for .js files to remove
Applying smarten punctuation
Roy Blakeley in the Haunted Camp - ERROR: Traceback (most recent call last):
File "calibre_plugins.modify_epub.modify", line 81, in process_book
File "calibre_plugins.modify_epub.container", line 680, in write
KeyError: u'OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html'

ePub not changed after 0.38 seconds

Edit: unchecking "Remove unmanifested files from ePub" gets rid of this error and it finishes successfully.

Last edited by theducks; 07-14-2019 at 05:00 PM. Reason: add SPOILER tags
lumpynose is offline   Reply With Quote
Old 07-14-2019, 05:33 PM   #1247
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
Quote:
Originally Posted by FulciLives View Post
Thank you for this Caliber plugin.

I had an epub with an embedded font that I hated. I used this plugin to remove it.

So simple yet so life-changing. I can read the book now!

P.S.
To be clear, the Caliber reader would not let me change the type of font until I did this.
The next time another thing you could try is using CSS unset; the Calibre reader honors this in my tests. In Calibre's Preferences I've added the following to the Conversion, Common Options, Look & Feel, Styling, Extra CSS, and then I have Append extra CSS checked for the plugin.

Code:
p {
    margin-top: 0em;
    margin-bottom: 0em;
    text-align: left;
    text-indent: 1.5em;
}

body {
    font-family: unset;
    line-height: 1.2;
}
The font-family:unset is the only one that matters in your case; the other stuff is my preferences.

Last edited by lumpynose; 07-14-2019 at 09:51 PM.
lumpynose is offline   Reply With Quote
Advert
Old 07-16-2019, 06:35 AM   #1248
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by lumpynose View Post
Something about write and KeyError at the bottom of the log file.

Edit: unchecking "Remove unmanifested files from ePub" gets rid of this error and it finishes successfully.
Let’s take a look...

Spoiler:
(Chopped for clarity…)

Looking for unmanifested files
Found file to to remove: OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html

Applying smarten punctuation
Roy Blakeley in the Haunted Camp - ERROR: Traceback (most recent call last):
File "calibre_plugins.modify_epub.modify", line 81, in process_book
File "calibre_plugins.modify_epub.container", line 680, in write
KeyError: u'OEBPS/@public@vhost@g@gutenberg@html@files@31452@31452-h@31452-h-3.htm.html'

ePub not changed after 0.38 seconds

My instinct on this one is to look at the odd filename. I suspect the @ symbols may be causing trouble, even though neither Windows nor MacOS forbids them. Another possibility could be the sequence of smartening vs. removal; the log shows that the plugin is trying to apply both functions to the file. If it’s getting deleted before it gets smartened, that could definitely complicate matters.

Could you see if you get the same error when only trying to remove unmanifested files?
Rev. Bob is offline   Reply With Quote
Old 10-01-2019, 07:45 PM   #1249
otapi
Member
otapi began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2018
Device: Kobo Aura
Hi guys, I haven't found an answer for the question of #3rd and #4th reply of this thread on 'how to remove color or background color from css'.

If anyone interested, I found a small hack how to strip a CSS style with 'Append extra CSS' of this plugin. E.g. if you want strip a background-color:
Quote:
.calibre {
background-color: initial;
}
If you know a better way to do this (like really remove the
Quote:
background-color: #A0A0A0;
from batch of books), let me know.
otapi is offline   Reply With Quote
Old 10-01-2019, 09:56 PM   #1250
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by otapi View Post
Hi guys, I haven't found an answer for the question of #3rd and #4th reply of this thread on 'how to remove color or background color from css'.
...~~~...
If you know a better way to do this (like really remove the from batch of books), let me know.
Removing color is not a feature of this plugin. But if you do an epub to epub conversion you can remove colors by going to the Look & feel section of the conversion settings - Styling Tab - scroll down and check the Colors box then run the conversion. This should remove colors from the converted book.
DoctorOhh is offline   Reply With Quote
Advert
Old 10-03-2019, 02:08 AM   #1251
otapi
Member
otapi began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2018
Device: Kobo Aura
Yes, I tried that, but an epub-epub convert is an overkill to this, and it messes up the wrapping; it removes a lot of new line characters somewhy.
otapi is offline   Reply With Quote
Old 10-03-2019, 06:40 AM   #1252
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: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by otapi View Post
Yes, I tried that, but an epub-epub convert is an overkill to this, and it messes up the wrapping; it removes a lot of new line characters somewhy.
The easiest solution is to open the ePub in the Editor and go to the CSS and remove any color lines you want to get rid of.
JSWolf is offline   Reply With Quote
Old 10-03-2019, 09:22 AM   #1253
otapi
Member
otapi began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2018
Device: Kobo Aura
Quote:
Originally Posted by JSWolf View Post
The easiest solution is to open the ePub in the Editor and go to the CSS and remove any color lines you want to get rid of.
It is OK to this way in one book, but not in hundreds of books. I will look into this plugin's code and will add an option to strip background-color from the CSS.
otapi is offline   Reply With Quote
Old 10-03-2019, 09:48 AM   #1254
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: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by otapi View Post
It is OK to this way in one book, but not in hundreds of books. I will look into this plugin's code and will add an option to strip background-color from the CSS.
Where did you get those eBooks? Color codes like that are not the norm.
JSWolf is offline   Reply With Quote
Old 10-04-2019, 03:00 AM   #1255
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by otapi View Post
It is OK to this way in one book, but not in hundreds of books. I will look into this plugin's code and will add an option to strip background-color from the CSS.
Modify ePub really isn’t built for that type of manipulation. The engine isn’t designed for it, in the same way that cars aren’t built to be driven underwater. To clarify, from a post contemporary to the ones you looked at:

Quote:
Originally Posted by ldolse View Post
I think the trick would be to apply all the css modifications at once though, so it would require a bit of a re-design of the current function - basically a top level modify css, then a bunch of sub-functions - sort of like heuristics.
That’s a significant undertaking, and not one anybody has really wanted to tackle. There are a lot of ways to get that wrong, and referring someone to calibre’s ebook editor for a case-by-case solution is far easier (and safer).

Last edited by Rev. Bob; 10-04-2019 at 04:22 AM.
Rev. Bob is offline   Reply With Quote
Old 10-04-2019, 04:00 AM   #1256
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
I’ve been doing some review to make sure what the current status of this plugin is, and here’s my assessment so far.

First post: Kiwidude’s latest revision, v1.3.13, from 2015. Latest official release, AFAIK.
Fork 1, on my machine: A stable beta that adds some minor unpretty enhancements.
Fork 2, in post 1127: A version-number bump which adds an option to remove page map files, from late 2017.
Fork 3, in post 1208: A patch for a reported bug, from May of this year. Source code posted, but not incorporated into a currently available version due to other issues.

If that’s an accurate summary of the current status, it’s past time to harmonize everything into a proper, official update. I’m looking at calling the final result either v1.3.15 or v1.4.0, to avoid any confusion with other forks. Does anybody have any further information to add before I start working on such a merge?

(Opinions on whether 1.3.15 or 1.4.0 is preferred would be useful, but secondary to the key question of whether other forks exist that need to be folded in.)

Last edited by Rev. Bob; 10-04-2019 at 04:03 AM.
Rev. Bob is offline   Reply With Quote
Old 10-04-2019, 04:44 AM   #1257
BetterRed
null operator (he/him)
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: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Since 2019-05-01 08:25 I've been using version 1.3.14 (ex post #1208), I installed it to do some regression tests for JX, i.e. not to test or use additional featues. It didn't break anything so I kept it.

For no particular reason I suggest version 1.4.0

BR
BetterRed is offline   Reply With Quote
Old 10-04-2019, 05:46 AM   #1258
otapi
Member
otapi began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2018
Device: Kobo Aura
Quote:
Originally Posted by JSWolf View Post
Where did you get those eBooks? Color codes like that are not the norm.
Where did you get the idea what is the norm? Even the first question on this thread from 2011 is about this problem...
otapi is offline   Reply With Quote
Old 10-04-2019, 05:48 AM   #1259
otapi
Member
otapi began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2018
Device: Kobo Aura
Quote:
Originally Posted by Rev. Bob View Post
Modify ePub really isn’t built for that type of manipulation. The engine isn’t designed for it, in the same way that cars aren’t built to be driven underwater.
Well, I looked into the code of the plugin (ver 1.3.13) and I'm pretty sure, I could change css.py/rewrite_css to remove all background color settings with a regex in the variable 'data'.

Quote:
If that’s an accurate summary of the current status, it’s past time to harmonize everything into a proper, official update. I’m looking at calling the final result either v1.3.15 or v1.4.0, to avoid any confusion with other forks. Does anybody have any further information to add before I start working on such a merge?
Do you plan to share the code of the merged changes on github?
otapi is offline   Reply With Quote
Old 10-04-2019, 06:14 AM   #1260
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: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Rev. Bob View Post
I’ve been doing some review to make sure what the current status of this plugin is, and here’s my assessment so far.

First post: Kiwidude’s latest revision, v1.3.13, from 2015. Latest official release, AFAIK.
Fork 1, on my machine: A stable beta that adds some minor unpretty enhancements.
Fork 2, in post 1127: A version-number bump which adds an option to remove page map files, from late 2017.
Fork 3, in post 1208: A patch for a reported bug, from May of this year. Source code posted, but not incorporated into a currently available version due to other issues.

If that’s an accurate summary of the current status, it’s past time to harmonize everything into a proper, official update. I’m looking at calling the final result either v1.3.15 or v1.4.0, to avoid any confusion with other forks. Does anybody have any further information to add before I start working on such a merge?

(Opinions on whether 1.3.15 or 1.4.0 is preferred would be useful, but secondary to the key question of whether other forks exist that need to be folded in.)
I've been running 1.3.14 with no problem. I think it's a good idea to make your version the standard version. It works very well. If 1.4.0 is working no problem, then use that one. Can the latest version please be attached since it seems I have an older version? Thanks.

Last edited by JSWolf; 10-04-2019 at 06:22 AM.
JSWolf is offline   Reply With Quote
Reply

Tags
modify epub


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Quality Check kiwidude Plugins 1251 07-07-2025 09:13 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Manage Series kiwidude Plugins 167 07-28-2024 03:07 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 05:54 PM.


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