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 03-04-2020, 09:13 AM   #766
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,094
Karma: 91592869
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Acaread View Post
Thank you for the quick reply! If you need a tester, I am happy to help. I could set aside some time to be available on demand and report back whether your changes worked.
I have attached a beta test version of the plugin to this post that may fix the error. (Test plugin removed.)

If you want to try it you will need to install it manually in calibre. see the topic "How do I install a plugin manually?" in the Introduction to plugins post.

Make sure that you remove the "kfx_output_previewer_path" tweak before trying it.

(This test plugin did not work. Another test posted below.)

Last edited by jhowell; 03-04-2020 at 02:29 PM. Reason: Remove test plugin
jhowell is offline   Reply With Quote
Old 03-04-2020, 10:50 AM   #767
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,094
Karma: 91592869
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Amazon will be dropping support for the Kindle Previewer running under 32-bit versions of Windows starting in April.

Anyone using 32-bit Windows will eventually need to upgrade to a 64-bit OS in order for this plugin to continue to be usable.
jhowell is offline   Reply With Quote
Old 03-04-2020, 01:40 PM   #768
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,094
Karma: 91592869
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Here is a second attempt at a fix for supporting Kindle Previewer 3.37 under MacOS.

(Test plugin removed. Problem fixed in plugin release 1.40.0.)

Last edited by jhowell; 03-05-2020 at 12:46 PM.
jhowell is offline   Reply With Quote
Old 03-04-2020, 02:07 PM   #769
Acaread
Member
Acaread began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2019
Device: None
It works! Thank you a lot! Do you have a Patreon or something where I can contribute a small sum from my student's wallet?
Acaread is offline   Reply With Quote
Old 03-04-2020, 02:19 PM   #770
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,094
Karma: 91592869
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Acaread View Post
It works! Thank you a lot!
Great. Thank you for testing it!

Quote:
Originally Posted by Acaread View Post
Do you have a Patreon or something where I can contribute a small sum from my student's wallet?
Thanks, but no. I do this strictly for my own enjoyment.

If you want to contribute then I suggest making a donation to the developer of calibre.
jhowell is offline   Reply With Quote
Old 03-05-2020, 12:45 PM   #771
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,094
Karma: 91592869
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 1.40.0 - 05 Mar 2020

Detect Kindle Previewer versions up to 3.37 and remove support for Previewer versions older than 3.35. Version 3.37 handles books with many SVG images, SVG images with viewBox having non-zero min-x or min-y co-ordinate, tables with column widths specified in different units.

Handle different file layout used by Kindle Previewer 3.37 under MacOS. (Fixes "Conversion error:</b> Kindle Previewer 3 not installed as expected. (/Applications/Kindle Previewer 3.app/Contents/MacOS/lib/fc missing)")

Support additional KFX features. (Fixes "Unexpected Ion symbols used: $134")
jhowell is offline   Reply With Quote
Old 03-07-2020, 06:15 AM   #772
lolloso
Junior Member
lolloso began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4
Hello, I'm using calibre 4.12.0 and KFX Output 1.40.0. Kindle is on version 5.12.4.

I've converted an ePub to KFX but footnotes are not displayed. Only the note number is showed. However, If I touch the link to go to the footnotes chapter, it sends me to the correct note. Touching the link to go back also works.

If I convert to AZW3 footnotes are correctly displayed.

This is a link with a screenshot of the problem: https://ibb.co/y4Pvv1M
lolloso is offline   Reply With Quote
Old 03-07-2020, 10:08 AM   #773
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,094
Karma: 91592869
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by lolloso View Post
I've converted an ePub to KFX but footnotes are not displayed. Only the note number is showed. However, If I touch the link to go to the footnotes chapter, it sends me to the correct note. Touching the link to go back also works.
It looks like something is causing the end of the footnote content to be detected incorrectly. Most likely the footnote number and text are not in the same <p> or <div> element.

See section 10.3.12 Footnote Guidelines in the Amazon Kindle Publishing Guidelines for information on how to properly code footnotes.
jhowell is offline   Reply With Quote
Old 03-07-2020, 12:19 PM   #774
lolloso
Junior Member
lolloso began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4
Quote:
Originally Posted by jhowell View Post
It looks like something is causing the end of the footnote content to be detected incorrectly. Most likely the footnote number and text are not in the same <p> or <div> element.

See section 10.3.12 Footnote Guidelines in the Amazon Kindle Publishing Guidelines for information on how to properly code footnotes.
Thank you for your answer. I'm not entirely sure what that means since I don't know HTML or digital publishing, but I tried editing the ePub in calibre.

This is an example footnote from the end of the book:

Code:
    <div class="footnote">
      <a href="../Text/e9788845981708_c02.html#ref_ftn_fn70" id="ftn_fn70"><span>70</span></a>

      <p class="p"> [FOOTNOTE TEXT HERE, redacted because I don't know if I can post it] </p>
    </div>
If I understood what you mean, it looks like the footnote number (70) is inside the same <div> element of the text.
lolloso is offline   Reply With Quote
Old 03-07-2020, 03:39 PM   #775
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,094
Karma: 91592869
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by lolloso View Post
Thank you for your answer. I'm not entirely sure what that means since I don't know HTML or digital publishing, but I tried editing the ePub in calibre.
What you have doesn't quite match what the Publishing Guidelines specify for footnote coding and that might be the cause of the problem.

If you want me to investigate this further then use the ScrambleEbook plugin on your book to remove the copyrighted text. If the resulting file shows the same problem with footnotes you can post it here and I will take a look at it.
jhowell is offline   Reply With Quote
Old 03-08-2020, 01:53 PM   #776
gers1978
Addict
gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.
 
Posts: 392
Karma: 1008414
Join Date: Jun 2011
Device: Kindle
Got this error in the latest 1.40 release:

Code:
calibre, version 4.12.0
ERROR: KFX conversion failed: <p><b>Cannot convert The SBS in World War II</b><br><br><b>Conversion error:</b> Kindle Previewer error: Error:E00015: Unsupported tag or style was found. Tag: (), HTML Attribute: (), CSS Style: (width=inherit).</p>
gers1978 is offline   Reply With Quote
Old 03-08-2020, 02:27 PM   #777
theducks
Well trained by Cats
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: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by gers1978 View Post
Got this error in the latest 1.40 release:

Code:
calibre, version 4.12.0
ERROR: KFX conversion failed: <p><b>Cannot convert The SBS in World War II</b><br><br><b>Conversion error:</b> Kindle Previewer error: Error:E00015: Unsupported tag or style was found. Tag: (), HTML Attribute: (), CSS Style: (width=inherit).</p>
If that was supposed to be HTML CSS, that code is malformed
width: inherit NOT =
theducks is offline   Reply With Quote
Old 03-08-2020, 02:30 PM   #778
gers1978
Addict
gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.
 
Posts: 392
Karma: 1008414
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by theducks View Post
If that was supposed to be HTML CSS, that code is malformed
width: inherit NOT =
calibre, version 4.12.0
ERROR: KFX conversion failed: <p><b>Cannot convert The SBS in World War II</b><br><br><b>Conversion error:</b> Kindle Previewer error: Error:E00015: Unsupported tag or style was found. Tag: (), HTML Attribute: (), CSS Style: (width=inherit).</p>

gers1978 is offline   Reply With Quote
Old 03-08-2020, 03:13 PM   #779
theducks
Well trained by Cats
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: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
and width=inherit is WRONG
The book is WRONG
theducks is offline   Reply With Quote
Old 03-08-2020, 07:48 PM   #780
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,094
Karma: 91592869
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by gers1978 View Post
calibre, version 4.12.0
ERROR: KFX conversion failed: <p><b>Cannot convert The SBS in World War II</b><br><br><b>Conversion error:</b> Kindle Previewer error: Error:E00015: Unsupported tag or style was found. Tag: (), HTML Attribute: (), CSS Style: (width=inherit).</p>
The value "inherit" is not supported by the Kindle Previewer for the "width" property. If you want to convert that book to KFX you will need to use the calibre editor to find and remove that.


Quote:
Originally Posted by theducks View Post
and width=inherit is WRONG
The book is WRONG
"width=inherit" is just the way that the Kindle Previewer reports an unsupported property value. It does not show the actual CSS syntax "width: inherit" in the error message.
jhowell is offline   Reply With Quote
Reply

Tags
kfx, linux, wine


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Output] KePub Output Plugin jgoguen Plugins 588 03-28-2025 02:26 PM
Conversion output plugins? jgoguen Development 14 08-10-2013 11:19 AM
Output file name after conversion dbellefuil Calibre 2 06-14-2013 04:40 PM
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 02:03 AM
Conversion output folders TechieLady Conversion 6 01-19-2012 02:49 AM


All times are GMT -4. The time now is 12:09 PM.


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