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 01-20-2022, 02:15 AM   #1591
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
Quote:
Originally Posted by chaley View Post
Modify Epub version 1.6.4 beta. The only change to include the new help file.
Any reason to keep this beta now 1.7.0 is released?

BR
BetterRed is offline   Reply With Quote
Old 03-02-2022, 02:29 AM   #1592
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
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
stumped is offline   Reply With Quote
Advert
Old 03-09-2022, 01:46 PM   #1593
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,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:
Originally Posted by stumped View Post
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
Can you run the Scramble eBook plugin on your omnibus and test that the scrambled copy still shows this issue? If it does, then post a copy of the unmodified scrambled eBook and we can test it do see if Modify ePub is changing the order of the eBook. I've never see this done and I've been using Modify ePub basically since it came out.

As for being maintained, it has been maintained. It gets updated to keep compatibility with the changes in Calibre.
JSWolf is offline   Reply With Quote
Old 03-14-2022, 10:43 AM   #1594
Scuba38
Junior Member
Scuba38 began at the beginning.
 
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
Scuba38 is offline   Reply With Quote
Old 04-16-2022, 04:23 PM   #1595
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
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:
jacket.xhtml Line: 101 Col: 87 ERROR(RSC-005): Error while parsing file: attribute "data-calibre-jacket-searchable-tags" not allowed here; expected attribute "align", "char", "charoff", "class", "dir", "id", "lang", "style", "title", "valign" or "xml:lang"
It's pointing to this on jacket.xhtml:

<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.
enuddleyarbl is offline   Reply With Quote
Advert
Old 04-16-2022, 06:11 PM   #1596
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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>
DNSB is offline   Reply With Quote
Old 04-16-2022, 06:27 PM   #1597
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,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.
JSWolf is offline   Reply With Quote
Old 04-16-2022, 07:28 PM   #1598
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
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
BetterRed is offline   Reply With Quote
Old 04-17-2022, 12:02 PM   #1599
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
Quote:
Originally Posted by DNSB View Post
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>
If I fix the errors and then have Modify ePub remove the jacket and then have it create it, the problem recurs.
enuddleyarbl is offline   Reply With Quote
Old 04-17-2022, 01:04 PM   #1600
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
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
First, Modify Epub uses calibre's jacket builder.

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;
	}
The calibre editor complains about the last line, saying that this line should be there too.
Code:
	border-radius:8px;
Polish also adds things like this:
Code:
table.cbj_header tr.cbj_series {
	
	
	}
The calibre editor says that rules without properties should be deleted.

I have no idea if either of these are important. I also don't know how to fix it.
chaley is offline   Reply With Quote
Old 04-17-2022, 05:35 PM   #1601
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
Quote:
Originally Posted by chaley View Post
First, Modify Epub uses calibre's jacket builder.
I had a vague memory that was the case, I think Kovid made it known when he released the Polish books feature.

BR
BetterRed is offline   Reply With Quote
Old 04-17-2022, 06:33 PM   #1602
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by DaveLessnau View Post
If I fix the errors and then have Modify ePub remove the jacket and then have it create it, the problem recurs.
Since Modify ePub has not been modified, the same error will be created on each run.
DNSB is offline   Reply With Quote
Old 04-18-2022, 04:59 AM   #1603
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,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.
JSWolf is offline   Reply With Quote
Old 04-18-2022, 06:55 AM   #1604
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
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>
However, this is a case where epubcheck is wrong. The global attribute data-calibre-jacket-searchable-tags="1" is perfectly legal (here, here).

According to Kovid, adding these tags is deliberate. He said in a bug report:
Quote:
This is deliberate, it allows you to search for individual words across
books on the Kindle and not get matches when those words are part of a
larger word.
If you know you don't want them then create a custom book jacket template and remove the line
Code:
<tr data-calibre-jacket-searchable-tags="1" style="color:white; display:none"><td colspan="2">{searchable_tags}</td></tr>
in jacket/template.xhtml.
chaley is offline   Reply With Quote
Old 04-18-2022, 07:05 AM   #1605
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
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:
  • I had bad (old) code in a customized jacket. This is where the
    Code:
    -webkit-border-radius:8px;
    was coming from.
  • The empty stylesheet declarations are generated by calibre's built-in jacket builder, not this plugin. The calibre editor flags them as errors, but epubcheck doesn't care about them. I have a possible fix I will send to Kovid.
  • The "data-calibre-jacket-searchable-tags" (non-)error is explained in the post above.
chaley 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 09:28 AM.


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