![]() |
#1591 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#1592 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
modify epub plugin changes order of book files
i have used this plug in for years
but now it it mangling an omnibus edition that I am tidying it seems to perform an unwanted alpha sort of the htm files, ordering them by title! so any places where I have added splits are getting shuffled to end of book e.g. 1st .htm file should be publication info - that is moving to the end. so are all the splits I introduce,via sigil, which have names like section xxx its definitely the plug in because I can save "before" and "after" version of the book to compare so am i using a no longer maintained/supported plugin or is it a known issue any suggestions for an alternative workflow please for now I have laboriously renamed every affected file, then resolved to not run the plug in on this book ever again. most frustrating a coupe of times, wen proof reading, I have wrongly concluded that I@d deleted entire chapters and have been replacing the m from backups, but in fact those chpters were still there but moved to end of book a why ? i searched here for modify epub bu find no relevant threads i see nothign in plug in preferences that could be causing this any suggestions for an alternative workflow please or a better plug in that does the same stuff i.e. that auto regenerates a toc to match any edit changes I have made |
![]() |
![]() |
Advert | |
|
![]() |
#1593 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,752
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
As for being maintained, it has been maintained. It gets updated to keep compatibility with the changes in Calibre. |
|
![]() |
![]() |
![]() |
#1594 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Mar 2022
Location: France
Device: kobo
|
New picture section
Could you add a pictures section :
- compress jpg (like calibre-editor) - convert png to jpg To reduce the epub file size Thanks |
![]() |
![]() |
![]() |
#1595 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
I'm not sure if this is a Calibre conversion issue or a Modify ePub issue (or perhaps Modify ePub makes a call to Calibre's functions to do the task). But, if I run the ePubCheck plugin within the Calibre Editor, it gives the following error:
Quote:
<table class="cbj_header"> <tbody> ... <tr data-calibre-jacket-searchable-tags="1" style="color:white; display:none"> ... </tbody> </table> I *think* it might have to do with the "Add/Replace Metadata Jacket" option in Modify ePub. Unfortunately, I can't find anything in this thread or on the forum, in general, on this. If this isn't the right place to mention it, let me know. |
|
![]() |
![]() |
Advert | |
|
![]() |
#1596 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I copy/pasted your code into a new epub in sigil. When I ran epubcheck, it complained the </tr> was missing so I added it. At that point, epubcheck had no issues with the code (epubcheck 4.26 is the version in use) reporting no problems found.
Code:
<table class="cbj_header"> <tbody> <tr data-calibre-jacket-searchable-tags="1" style="color:white; display:none"></tr> </tbody> </table> |
![]() |
![]() |
![]() |
#1597 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,752
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I just tested Modify ePub adding a jacket and it failed to produce valid code. epubcheck came up with two errors. I fixed it by deleting bad code and it made no difference to the jacket formatting and it fixed the errors.
|
![]() |
![]() |
![]() |
#1598 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The Polish books tool can also Add/replace jackets - does it have similar EPUBCheck problems?
I prefer using Modify EPUB: it has the option to put the jacket at the back of the book; and it does not require that all the metadata be embedded in the book. BR |
![]() |
![]() |
![]() |
#1599 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
Quote:
|
|
![]() |
![]() |
![]() |
#1600 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Second: It has a problem, but it doesn't seem similar. Running polish to create a jacket puts this in jacket.xhtml: Code:
.cbj_banner { background: #eee; color: black; border: thin solid black; margin: 1em; padding: 1em; -webkit-border-radius:8px; } Code:
border-radius:8px; Code:
table.cbj_header tr.cbj_series { } I have no idea if either of these are important. I also don't know how to fix it. |
|
![]() |
![]() |
![]() |
#1601 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#1602 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#1603 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,752
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
In the jacket created at the back of the eBook, deleting the following code allows epubcheck to validate the jacket without error. Also, deleting this code does not change the formatting of the jacket.
Code:
<tr data-calibre-jacket-searchable-tags="1" style="color:white; display:none"> <td colspan="2"/> </tr> Last edited by JSWolf; 04-18-2022 at 05:01 AM. |
![]() |
![]() |
![]() |
#1604 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
According to Kovid, adding these tags is deliberate. He said in a bug report: Quote:
Code:
<tr data-calibre-jacket-searchable-tags="1" style="color:white; display:none"><td colspan="2">{searchable_tags}</td></tr> |
||
![]() |
![]() |
![]() |
#1605 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I spent a lot of time looking for these problems and found the following:
|
![]() |
![]() |
![]() |
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 |