![]() |
#1246 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
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 |
![]() |
![]() |
![]() |
#1247 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Quote:
Code:
p { margin-top: 0em; margin-bottom: 0em; text-align: left; text-indent: 1.5em; } body { font-family: unset; line-height: 1.2; } Last edited by lumpynose; 07-14-2019 at 09:51 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#1248 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
Spoiler:
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? |
|
![]() |
![]() |
![]() |
#1249 | ||
Member
![]() 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:
Quote:
|
||
![]() |
![]() |
![]() |
#1250 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#1251 |
Member
![]() 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.
|
![]() |
![]() |
![]() |
#1252 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
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.
|
![]() |
![]() |
![]() |
#1253 |
Member
![]() Posts: 11
Karma: 10
Join Date: Mar 2018
Device: Kobo Aura
|
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.
|
![]() |
![]() |
![]() |
#1254 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
![]() |
![]() |
#1255 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
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. |
|
![]() |
![]() |
![]() |
#1256 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#1257 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#1258 |
Member
![]() Posts: 11
Karma: 10
Join Date: Mar 2018
Device: Kobo Aura
|
|
![]() |
![]() |
![]() |
#1259 | ||
Member
![]() Posts: 11
Karma: 10
Join Date: Mar 2018
Device: Kobo Aura
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#1260 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
Last edited by JSWolf; 10-04-2019 at 06:22 AM. |
|
![]() |
![]() |
![]() |
Tags |
modify epub |
|
![]() |
||||
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 |