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 08-04-2017, 08:08 AM   #241
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,086
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by abogomolov View Post
Wow, isn't it something eager to be optimized?
I never bothered to optimize it because it worked fast enough with my books. But there is one part of the code where the time used increases rapidly with the complexity of the book.

I have now optimized that and it will be part of the next plugin release. One large book I tested takes three hours to convert with the current version. It will take about three minutes with the new one. There will be only a slight increase in speed for shorter and less complex books.
jhowell is offline   Reply With Quote
Old 08-04-2017, 08:32 AM   #242
mathil
Evangelist
mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.
 
Posts: 445
Karma: 287725
Join Date: Sep 2014
Location: Europe
Device: Kobo Aura H2O/Glo HD/Libra 2, Kindle PW3/PW5/PW11, Boox Palma
That's great news, jhowell! In case anyone is interested, the book I was trying to convert as per my previous post was The Complete Malazan Book of the Fallen (omnibus edition containing 10 books of the series), 12.8 mb ca. in size. It was successfully converted to KFX format, with the conversion taking 6 hours in total.
mathil is offline   Reply With Quote
Old 08-04-2017, 09:43 AM   #243
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,086
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
I plan to release the new plugin version in the next few days. I need to test it with the just released Kindle Previewer 3.13. (No longer called a "beta" by Amazon.)

Added: So far the plugin works properly with Previewer 3.13. As with most Previewer releases, this one converts more books than prior ones.

A new version of the plugin should be ready sometime next week. Until then the current version is OK to use with Previewer 3.13.

Last edited by jhowell; 08-06-2017 at 09:39 AM.
jhowell is offline   Reply With Quote
Old 08-04-2017, 10:37 AM   #244
AcidWeb
KCC Co-Author
AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.
 
AcidWeb's Avatar
 
Posts: 845
Karma: 765434
Join Date: Mar 2013
Location: Poland
Device: Kindle Oasis 2
Re-tested 3.13 comic output. No changes. Still no Panel View and e-books are unstable.
AcidWeb is offline   Reply With Quote
Old 08-09-2017, 09:00 AM   #245
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,086
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 1.9.0 - 09 Aug 2017

Remove support for Previewer versions older than 3.13.

Allow English language MS Word DOC and DOCX files and MOBI files (created using kindlegen version 2.9 without the -dont_append_source option) to be converted to KFX using the Command Line Interface.

Allow Chinese language books to be converted.

Improve performance when converting large and complex books.

Improve reporting of conversion errors. Do not truncate (tail) Previewer conversion logs in the calibre conversion job log.

Handle more EPUB problems that would otherwise cause the Previewer to fail. (badly sized transparent GIFs, "onload" attribute)

Further internal changes based on the Amazon Ion specifications.
jhowell is offline   Reply With Quote
Old 08-19-2017, 02:49 PM   #246
bobb40
Enthusiast
bobb40 has a complete set of Star Wars action figures.bobb40 has a complete set of Star Wars action figures.bobb40 has a complete set of Star Wars action figures.
 
Posts: 28
Karma: 274
Join Date: Jul 2011
Device: Kindle3, Kindle4, KoboGlo
Can the plugin work (or be made to work) with kindlegen? That's available to linux, where previewer isn't, but previewer is said to use kindlegen to convert epub to kindle.
bobb40 is offline   Reply With Quote
Old 08-19-2017, 02:51 PM   #247
AcidWeb
KCC Co-Author
AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.AcidWeb ought to be getting tired of karma fortunes by now.
 
AcidWeb's Avatar
 
Posts: 845
Karma: 765434
Join Date: Mar 2013
Location: Poland
Device: Kindle Oasis 2
No. If KindleGen could generate KFX this entire plugin would not be needed.
AcidWeb is offline   Reply With Quote
Old 08-22-2017, 08:28 PM   #248
shoelesshunter
copyleft librarian
shoelesshunter began at the beginning.
 
shoelesshunter's Avatar
 
Posts: 58
Karma: 10
Join Date: Nov 2015
Device: KV
KFX and linux

I am using the KFX output plugin on Window 7. When I return home, I would like to continue using it on my linux machine.

The plugin looks for Kindle Previewer in it's default location on Windows.

Is there a trick to using Wine to make this happen on linux?

Thanks.

Moderator Notice
Post moved - please post questions about a plugin in the plugin's thread.

tks - BR

Last edited by BetterRed; 08-22-2017 at 11:58 PM. Reason: mod message
shoelesshunter is offline   Reply With Quote
Old 08-24-2017, 12:23 PM   #249
Kaan88
Member
Kaan88 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Oct 2013
Device: Kindle PW 3
Is there an automated way to generate page numbers for epub files? NCX pageList, NAV page-list, page-map.xml all require manually adding them to epub file as far as I could find. Thanks.
Kaan88 is offline   Reply With Quote
Old 08-24-2017, 06:55 PM   #250
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,086
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by bobb40 View Post
Can the plugin work (or be made to work) with kindlegen? That's available to linux, where previewer isn't, ...
Quote:
Originally Posted by shoelesshunter View Post
Is there a trick to using Wine to make this happen on linux?
The plugin launches a Windows application (Java) that is part of the Previewer in order to perform the bulk of the KFX conversion process. That in turn launches several other Windows executables to perform subtasks.

I do not use Linux or know how this would work under that platform. If anyone has been able to get the Previewer to run in that environment using Wine or knows why it cannot do so perhaps they will post here.

Quote:
Originally Posted by Kaan88 View Post
Is there an automated way to generate page numbers for epub files? NCX pageList, NAV page-list, page-map.xml all require manually adding them to epub file as far as I could find. Thanks.
I don't know of any software that can do this.

It could be done using a calibre plugin. The problem would be finding someone interested enough to develop it. (Not me.)
jhowell is offline   Reply With Quote
Old 08-28-2017, 09:09 PM   #251
sdspieg
Connoisseur
sdspieg began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Jun 2009
Device: Nook, Kindle 3
Any ideas on this one?
Quote:
ERROR: yj.eidhash_eid_section_map has extra: XW26tKp0SoqBSddYmlQhlw118/XW26tKp0SoqBSddYmlQhlw119
sdspieg is offline   Reply With Quote
Old 08-28-2017, 10:06 PM   #252
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,086
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by sdspieg View Post
Any ideas on this one?
ERROR: yj.eidhash_eid_section_map has extra: ...
The plugin was written based on my reverse engineering of the output of Kindle Previewer. I put in some safety checks for conditions that I never expected to occur and that is one of them.

Since I do not have any books that cause that condition I cannot replicate the problem. I do not know what is causing it or how to prevent it.
jhowell is offline   Reply With Quote
Old 08-30-2017, 08:04 AM   #253
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,086
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 1.10.0 - 30 Aug 2017

Adjustments to output format to better match KFX files currently produced by Amazon. (Reading these files with the latest Kindle firmware/app version is recommended for best results.)

Fix occasional error during conversion: "TypeError: info() takes exactly 2 arguments (3 given)"

Attempt to work around occasional error during conversion caused by unexpected data produced by the Previewer: "yj.eidhash_eid_section_map has extra: ..."
jhowell is offline   Reply With Quote
Old 09-01-2017, 11:36 PM   #254
HowlerX
Enthusiast
HowlerX began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Aug 2016
Device: Kindle Voyage
Don't know what you changed, but now code like:
Code:
<span epub:type="pagebreak" id="page39" title="39"></span>
or
Code:
<span id="page39" title="39"></span>
is adding a line of space where there shouldn't be one. These are usually used for page numbers in epub. Before version 1.10 of your plugin the line space wasn't there, but now it is. Explanation?
HowlerX is offline   Reply With Quote
Old 09-02-2017, 05:54 AM   #255
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,796
Karma: 146391129
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 HowlerX View Post
Don't know what you changed, but now code like:
Code:
<span epub:type="pagebreak" id="page39" title="39"></span>
or
Code:
<span id="page39" title="39"></span>
is adding a line of space where there shouldn't be one. These are usually used for page numbers in epub. Before version 1.10 of your plugin the line space wasn't there, but now it is. Explanation?
They are not usually used for page numbers. They are usually used to mark where some version pBook page number is in the ePub. In most ePub, those two sets of spans can be deleted. Also, it's also inserted as <a id="page39"/>.

What I do is regex remove them and the do a check of the ePub to make sure they are not needed. If not too many are needed, I leave those and dump the rest.
JSWolf 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 11:11 PM.


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