![]() |
#151 |
Feedbooks.com Co-Founder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
Or maybe something similar to Prince, inside the CSS ? http://princexml.com/doc/6.0/pdf-bookmarks/
|
![]() |
![]() |
![]() |
#152 |
What the Dog Saw
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 311
Karma: 981684
Join Date: Jul 2008
Location: Dunn Loring
Device: Sony PRS-650, Surface3
|
possible bug in chapter mark in GUI
I'm using the GUI version 0.4.89 to create an ePUB file. When Chapter mark option "both" is selected, only the first chapter is marked with both a "page break" and a "rule" line. Each of the other 106 chapters of my book are marked with only the "rule" line (no page break).
|
![]() |
![]() |
![]() |
#153 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
#154 |
What the Dog Saw
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 311
Karma: 981684
Join Date: Jul 2008
Location: Dunn Loring
Device: Sony PRS-650, Surface3
|
|
![]() |
![]() |
![]() |
#155 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
I'm going through my converted books and have noticed a few things:
1. All books checked so far have a small font just a tad smaller than the "normal" small font with a lrf. Epubs from other sources don't exhibit this. Any way to bump this up from the command line? 2. On at least one entire series of books there's a double-space between paragraphs. This does not show up with the lrf versions. 3. One book thus far fails to load. It happens to be big (Clavell's Noble House) at 1100+ pages. It loads fine as a lrf and FBReader loads it (the epub) instantly. With the Reader it stalls on the cover image for about six minutes, then reboots. This book also took over 90 minutes to convert. |
![]() |
![]() |
![]() |
#156 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The next release of calibre will have the ability to set a base font size, just as for LRF files.
The LRF converter actually has code to remove inter-paragraph spacing by default. In html2epub you can try setting --override-css to p{margin:0pt; padding:0pt} The splitting code also has some improvements, try Noble House again with the next release. |
![]() |
![]() |
![]() |
#157 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
Quote:
Code:
$any2epub --override-css="p{margin:0pt; padding:0pt}" 01_dead_until_dark.epub |
|
![]() |
![]() |
![]() |
#158 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No that's fine. There's probably something else in the HTML that's causing the paragraph spacing. Post it and I'll take a look.
Not sure why it should be freezing on the first page, but when you post it mention that and I'll take a look at that as well. |
![]() |
![]() |
![]() |
#159 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
I redid the conversion, this time on an html rather than an epub and it worked.
Code:
$ html2epub --override-css="p{margin:0pt; padding:0pt}" 01_dead_until_dark.html Quote:
Last edited by JeffElkins; 10-03-2008 at 01:23 PM. |
|
![]() |
![]() |
![]() |
#160 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No the epub2epub conversion is a little buggy. If its still a problem after the next release, then open the ticket.
|
![]() |
![]() |
![]() |
#161 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
released version 0.4.90 with various improvements to EPUB support:
1) Support for specifying an absolute base font size 2) --level1-toc --level2-toc --from-ncx options for greater flexibility in TOC generation 3) Automatically remove inter-praragraph spacing by default 4) Make handling of covers and metadata more robust 5) Make splitting a little faster for very large files 1) needed a complete rewrite of the CSS handling code, so there may have been a few regressions introduced. 0.4.90 should hit the servers in about an hour. Enjoy. |
![]() |
![]() |
![]() |
#162 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
Quote:
Using 4.90: Ubuntu 8.04.1 - generic installer 1 epub2epub is not present. 2. any2epub --title= toggle is not working 3. epub-meta --title= toggle not working 4. Default para space removal: working 5. Base font size selection: working 6. epub-meta/any2epub --author= toggle not working ----- 7. Weirdness -- on the one epub tested with any2epub every third or fourth page has a paragraph that is underlined. Last edited by JeffElkins; 10-04-2008 at 09:35 PM. |
|
![]() |
![]() |
![]() |
#163 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There is no separate epub2epub (just pass an epub to any2epub)
Looks like I forgot to commit the metadata changes to 0.4.90...will be in next release. |
![]() |
![]() |
![]() |
#164 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
|
![]() |
![]() |
![]() |
#165 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
0.4.91
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Epub Output: Line Height | greenapple | Conversion | 20 | 01-27-2013 09:27 AM |
EPUB output justification | toki08 | Calibre | 10 | 01-08-2011 04:14 PM |
Calibre epub output details and Nook | squidward | Calibre | 6 | 11-24-2010 03:21 PM |
epub output metadata | troymc | Calibre | 5 | 05-22-2010 12:23 AM |
Problem with epub output in Cybook Gen3 | fjf | Calibre | 3 | 02-03-2010 02:23 AM |