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 11-06-2024, 01:28 AM   #781
yoshi
Member
yoshi began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2024
Location: Japan
Device: Kindle Voyage & Kindle for PC
I'm trying to upload 1 zip file and 2 epubs.
Attached Files
File Type: zip public domain novel.zip (1.99 MB, 11 views)
File Type: epub Converted with 'From KFX'.epub (1.95 MB, 9 views)
File Type: epub Converted with 'Calibre'.epub (1.95 MB, 11 views)
yoshi is offline   Reply With Quote
Old 11-06-2024, 11:10 AM   #782
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: 6,753
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by yoshi View Post
I got the book from Amazon Japan. The ASIN is B01EUC17SW.
Unfortunately that books is not available in my country.

Quote:
Originally Posted by yoshi View Post
I changed "margin-bottom" to "margin-left" and "margin-top" to "margin-right". After these changes, the EPUB was displayed correctly.
I would still need to see the KFX file in order to look into this further.


EDIT: I see you were able to post some files. I will take at look at them and respond.
jhowell is offline   Reply With Quote
Old 11-06-2024, 03:58 PM   #783
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: 6,753
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by yoshi View Post
I changed "margin-bottom" to "margin-left" and "margin-top" to "margin-right". After these changes, the EPUB was displayed correctly.
I found where the incorrect margins are being generated for vertical text. This will be fixed in the next release of the plugin.
jhowell is offline   Reply With Quote
Old 11-06-2024, 07:31 PM   #784
yoshi
Member
yoshi began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2024
Location: Japan
Device: Kindle Voyage & Kindle for PC
Thank you for your quick response.
yoshi is offline   Reply With Quote
Old 11-08-2024, 08:05 AM   #785
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: 6,753
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 2.17.0 - 08 Nov 2024

Handle invalid characters in links to external content. (Fixes "ValueError: Invalid IPv6 URL")

Fix incorrect margins in vertical text paragraphs.
jhowell is offline   Reply With Quote
Old 11-08-2024, 05:11 PM   #786
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,772
Karma: 26974049
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
A few Change requests for From KFX and comic/manga KFX:

- have separate Split landscape images options for PDF and CBZ (I only like to split for PDF)

- convert to ePub: set spine <itemref> properties attribute to 'page-spread-center' when it is empty. I think it looks better in two page view if the reader supports it.

- convert to PDF: find first page with 'page-spread-left' (or 'page-spread-right' for manga) property and add a blank page after 'cover' (first page) when the number of previous pages is even. This will put spread pages on the correct side when pdf viewer is in two-page display mode with 'show cover page' set (this would probably be another option).

Some comics won't have spreads, in which case convert to ePub and PDF should not do anything special.
tomsem is offline   Reply With Quote
Old 11-08-2024, 10:48 PM   #787
Calm6315
Junior Member
Calm6315 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2024
Device: tablet
Is it possible to make batch processing possible for the "from KFX" GUI, currently if multiple KFX books were selected the EPUB conversion is greyed out. So the only option is to convert one by one.
Calm6315 is offline   Reply With Quote
Old 11-09-2024, 05:38 AM   #788
bustacap
PC Dev
bustacap began at the beginning.
 
bustacap's Avatar
 
Posts: 13
Karma: 10
Join Date: Sep 2024
Device: Kindle Paperwhite (11th Gen), Lenovo Tab M10 (3rd Gen)
Quote:
Originally Posted by tomsem View Post
A few Change requests for From KFX and comic/manga KFX:

- convert to ePub: set spine <itemref> properties attribute to 'page-spread-center' when it is empty. I think it looks better in two page view if the reader supports it.
only if its a spread (aka wide image)?
otherwise i would disagree
bustacap is offline   Reply With Quote
Old 11-10-2024, 12:15 PM   #789
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: 6,753
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
A few Change requests for From KFX and comic/manga KFX:
I do not have much free time at the moment so it will be a while before the next plugin update.

Quote:
Originally Posted by tomsem View Post
- have separate Split landscape images options for PDF and CBZ (I only like to split for PDF)
Since that feature was added specifically for you I will change it to only apply to PDF and not to CBZ.

Quote:
Originally Posted by tomsem View Post
- convert to ePub: set spine <itemref> properties attribute to 'page-spread-center' when it is empty. I think it looks better in two page view if the reader supports it.
I can add that as an optional feature that can be set by those who desire it. If set it will apply the property page-spread-center to any comic page that does not have a page spread indicated.

Quote:
Originally Posted by bustacap View Post
only if its a spread (aka wide image)?
otherwise i would disagree
That would be more effort to implement. The change won't effect anyone who does not enable it.

Quote:
Originally Posted by tomsem View Post
- convert to PDF: find first page with 'page-spread-left' (or 'page-spread-right' for manga) property and add a blank page after 'cover' (first page) when the number of previous pages is even. This will put spread pages on the correct side when pdf viewer is in two-page display mode with 'show cover page' set (this would probably be another option).
The code that converts to PDF does not currently have access to page spread information. Changing that would require more effort than I am willing to put into this project at the moment.
jhowell is offline   Reply With Quote
Old 11-10-2024, 12:16 PM   #790
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: 6,753
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Calm6315 View Post
Is it possible to make batch processing possible for the "from KFX" GUI, currently if multiple KFX books were selected the EPUB conversion is greyed out. So the only option is to convert one by one.
It is technically possible, but not something that I have the free time to work on at the moment. Possibly next year.
jhowell is offline   Reply With Quote
Old Yesterday, 05:48 PM   #791
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,772
Karma: 26974049
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by bustacap View Post
only if its a spread (aka wide image)?
otherwise i would disagree
It does not apply to comics without any spreads, where it doesn't matter which side a page is on.

With comics/manga with spreads, it usually only applies to the first couple of pages in the dozens I have looked at, which are untagged and are placed on left or right depending on page reading order. After that all the pages are tagged left, right, or center.

Kindle Create previewer displays pages with page type 'single page' centered when in landscape orientation (facing pages mode). That's how it will look on a Kindle. I just want it to be the same with ePub reader that supports 2 page view (most e-readers do not, at least my Kobo and PocketBook readers don't).
tomsem is offline   Reply With Quote
Old Yesterday, 06:02 PM   #792
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,772
Karma: 26974049
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by jhowell View Post
I do not have much free time at the moment so it will be a while before the next plugin update.



Since that feature was added specifically for you I will change it to only apply to PDF and not to CBZ.



The code that converts to PDF does not currently have access to page spread information. Changing that would require more effort than I am willing to put into this project at the moment.
Thanks, it is already pretty perfect as it is.

I think KCC can split CBZ spread pages if anyone wants to do that, and adding a page to PDF when desired is easy enough to do manually.
tomsem is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Input] Microsoft Doc Input Plugin igi Plugins 76 06-28-2019 05:47 AM
KFX conversion, transfer back to library issue. shoelesshunter Conversion 2 08-22-2017 07:40 PM
[Conversion Input] LaTeX Formulas Input Conversion Plugin sevyls Plugins 0 03-23-2015 06:52 AM
[Input Plugin] DOCX Input SauliusP. Plugins 42 06-05-2013 05:01 AM
Looking For MHT Input Conversion Plugin FlooseMan Dave Plugins 4 03-30-2010 06:52 PM


All times are GMT -4. The time now is 10:31 AM.


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