05-05-2018, 10:29 PM | #91 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2014
Device: KINDLE PAPERWHITE 2
|
Quote:
Here you have the book. The <body class="especial"> clausure begins in "Libro01.xhtml" to "Libro05.xhtml" whichs is actually the main book, the other chapters are introductions and bibliography that have the normal <body> clausure. Moderator Notice
File removed, as it is most likely a copyrighted translation Last edited by Jellby; 05-06-2018 at 02:42 AM. |
|
05-06-2018, 02:57 AM | #92 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
The file OEBPS/Styles/style.css within the book indeed contains:
Code:
body.especial { font-family:"Times New Roman", Times, serif; margin:1em 0 1em 1em; } Code:
body { font-size: 8pt; font-family: Bookerly, serif !important; ... } |
05-06-2018, 05:48 PM | #93 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2014
Device: KINDLE PAPERWHITE 2
|
Quote:
Thanks, I tried both solutions and both worked perfectly. Again, I thank you for this plug-in, which I usually use to read my books without margins and with more customization. |
|
06-05-2018, 06:47 AM | #94 |
Enthusiast
Posts: 29
Karma: 447178
Join Date: Jan 2014
Device: Kobo H2O
|
@Jellby
I am a new user of prince (11.4) and I found some hours ago your plugin. My first try ends with an error and that protocol Code:
calibre, version 3.25.0 FEHLER: Konnte nicht in PDF konvertieren: Die Konvertierung ist fehlgeschlagen.Prüfen Sie das Protokoll. prince: loading document: C:\Program Files (x86)\Prince\engine\license\license.dat prince: Loading document... prince: loading HTML5 input: text00000.html prince: loading document: text00000.html prince: Applying style sheets... prince: loading style sheet: C:\Users\UserName\AppData\Local\Temp\calibre_c8wnu_\o5kasr prince: loading HTML5 input: text00001.html prince: loading document: text00001.html prince: Applying style sheets... prince: loading style sheet: C:\Users\UserName\AppData\Local\Temp\calibre_c8wnu_\o5kasr prince: loading HTML5 input: text00002.html prince: loading document: text00002.html prince: Applying style sheets... prince: loading style sheet: C:\Users\UserName\AppData\Local\Temp\calibre_c8wnu_\o5kasr prince: loading HTML5 input: text00003.html prince: loading document: text00003.html prince: Applying style sheets... prince: loading style sheet: C:\Users\UserName\AppData\Local\Temp\calibre_c8wnu_\o5kasr prince: loading HTML5 input: text00004.html prince: loading document: text00004.html prince: Applying style sheets... prince: loading style sheet: C:\Users\UserName\AppData\Local\Temp\calibre_c8wnu_\o5kasr prince: loading HTML5 input: text00005.html prince: loading document: text00005.html prince: Applying style sheets... prince: loading style sheet: C:\Users\UserName\AppData\Local\Temp\calibre_c8wnu_\o5kasr prince: loading HTML5 input: text00006.html prince: loading document: text00006.html prince: Applying style sheets... prince: loading style sheet: C:\Users\UserName\AppData\Local\Temp\calibre_c8wnu_\o5kasr prince: Preparing document... prince: Converting document... prince: used font: Times New Roman, Italic prince: used font: Times New Roman, Regular prince: loading hyphenation patterns: C:\Program Files (x86)\Prince\engine\style\..\hyph\hyph-en-us.pat prince: used font: Times New Roman, Bold prince: Resolving cross-references... prince: loading hyphenation patterns: C:\Program Files (x86)\Prince\engine\style\..\hyph\hyph-en-us.pat prince: Ganser, Daniele\Illegale Kriege_ Wie die NATO-Lander die UNO sabotieren. Eine Chronik von Kuba bis Syrien\Illegale Kriege_ Wie die NATO-Lander die UNO sabotieren. Eine Chronik von Kuba bis Syrien - Daniele Ganser.pdf: error: can't open output file: No such file or directory prince: Finished: failure |
06-05-2018, 04:47 PM | #95 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
It could have something to do file/folder names and Windows... The error is in the second to last line.
I tried my best to have the code work properly in different platforms, unfortunately I don't have a Windows machine to test it on, so there could be some rough edges left. Try using a shorter/simpler folder name and title for the book. Do you have the "add file to the book record" option checked? |
06-06-2018, 01:47 AM | #96 |
Enthusiast
Posts: 29
Karma: 447178
Join Date: Jan 2014
Device: Kobo H2O
|
@Jellby
Thx for the quick reaction. After your hint a give the plugin another try (using a book with a short name) and here it works, but the result is bullshit as you can see. and the same problem again using the book with the long name Your comment sounds like you are using Linux? If that is what you are using there are two ways to run Windows software inside of Linux. The first (and better) option would be to install VMware Workstation where you can install inside a full Windows version. The other option would be to use Wine (no experience) but you find here a list of all software that was tested on Wine. If you need help to find what you need if you are interested please use PN or if you use PGP / GPG (some information never should be readable public | a mailserver admin is also public for me) we could communicate by mail. regards Togijak |
06-06-2018, 04:49 AM | #97 | ||
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Quote:
|
||
06-06-2018, 04:16 PM | #98 |
Enthusiast
Posts: 29
Karma: 447178
Join Date: Jan 2014
Device: Kobo H2O
|
@Jellby
Looks like that plugin has a problem. I converted the first book with epubor (uses calibre engine inside) from epub to PDF without any problems. You are right that one book could be a problem but 2 and more with problems 4 Pages from the converted PDF as picture (to big to inserte) Would be fine if the plugin problem could be found and fixed. |
06-07-2018, 04:52 AM | #99 | ||
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
If you mean problems with how the generated PDF looks, the plugin does very little, most of it is Prince's doing. The rest is just default CSS and ePub coding, so it's a matter of adjusting the style. Note that the plugin defaults to small pages (for reading in an ebook reader) and not to A4/letter (for printing). Quote:
|
||
06-07-2018, 08:34 AM | #100 |
Enthusiast
Posts: 29
Karma: 447178
Join Date: Jan 2014
Device: Kobo H2O
|
I don't think that limitation regarding filenames (length or allowed characters) in Windows are the problem, the name was created from Calibre and all Windows operation with this file (including automatic synchronization of the lbrary) are working well.
I understand that the plugin defaults to small pages (for reading in an ebook reader) but why epubor converting the pagesize correct from epub to pdf? For me that's the same situation. The reason why I hope that the problem can be fixed is that I build some month ago something I called e-Book Postprocess Toolbox and I want to build in the near future a new updated version. There was Calibre integrated and it would be fine if the next version has a integrated Prince plugin. Last edited by Togijak; 06-07-2018 at 08:45 AM. |
06-07-2018, 04:06 PM | #101 | |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Have you tried without the "PDF zum Bucheintrag hinzufügen" option? (I don't use this option, so it is less tested, even in Linux.)
Quote:
If the book has, for example, some hard-coded font or picture sizes such that some element takes 15 cm, it will fit a 21 cm wide page with 2 cm margins, but it won't fit a 9 cm wide page with 2 mm margins. If the book is coded in such a way that this element cannot scale or reflow... well, it's the book's fault. The other difference I saw in your example is that one version has an "Overview" where the other has the TOC, this could be due to epubor ignoring nonlinear elements, or adding something of its own, or some other tricks. If you can share an ePub file and specify what you would like to get, I may be able to devise a style file for conversion. Last edited by Jellby; 06-08-2018 at 02:50 AM. |
|
06-08-2018, 06:16 AM | #102 |
Enthusiast
Posts: 29
Karma: 447178
Join Date: Jan 2014
Device: Kobo H2O
|
@Jellby
You are right the book that I used for the first test includes much errors. After your comment I open it first in Calibre editor and there where no important errors shown after test (only 2 parts to big) but after using pagina EPUB-Checker I was shocked. The error list was so long that I stopped the tool and the check in Sigil with the FlightCrew plugin results a similar error list. Next test was with a purchased epub where I only removed the DRM and here was only one unimportant error in pagina EPUB-Checker. The first result was for the trash and I started to change some page definitions and after playing around a wile I was happy with the result. (see attached pictures) I think your argument why you delinted the page size can't be accepted. No normal user will read a eBook in PDF format on a eBook reader if he has the epub. Normal use of a PDF is on a tablet, handheld or computer and in my opinion the eBook should look more like a normal book. That was the reason to not only change the page size to A5 (14,8 / 21 cm). I also changed the margin to 15mm. For the moment there is for me only two question left
Last edited by Togijak; 06-08-2018 at 06:18 AM. |
06-08-2018, 11:59 AM | #103 | |||
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
There could be several reasons for reading a PDF instead of an ePub in an ebook reader:
Quote:
Quote:
|
|||
06-08-2018, 02:01 PM | #104 | |
Enthusiast
Posts: 29
Karma: 447178
Join Date: Jan 2014
Device: Kobo H2O
|
Quote:
If it is not minimum conform with idpf 3.01 definition |
|
06-08-2018, 02:39 PM | #105 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
There's ePub 2, and calibre has its own interpretation of what's an error.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] EpubMerge | JimmXinu | Plugins | 522 | 04-01-2024 10:25 AM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 AM |
[GUI Plugin] Ex Libris | AlPe | Plugins | 87 | 10-10-2020 03:10 PM |
[GUI Plugin] Wordpress | frescogamba | Plugins | 11 | 04-06-2015 09:09 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |