Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-02-2008, 11:43 AM   #151
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
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/
Hadrien is offline   Reply With Quote
Old 10-02-2008, 02:35 PM   #152
yekim54
What the Dog Saw
yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.
 
yekim54's Avatar
 
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).
yekim54 is offline   Reply With Quote
Old 10-02-2008, 02:38 PM   #153
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by yekim54 View Post
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).
attach a file showing this problem.
kovidgoyal is offline   Reply With Quote
Old 10-02-2008, 09:22 PM   #154
yekim54
What the Dog Saw
yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.yekim54 ought to be getting tired of karma fortunes by now.
 
yekim54's Avatar
 
Posts: 311
Karma: 981684
Join Date: Jul 2008
Location: Dunn Loring
Device: Sony PRS-650, Surface3
Quote:
Originally Posted by kovidgoyal View Post
attach a file showing this problem.
I got the same results with both a large 107 chapter book and a very small 4 chapter test book. I opened a ticket with the small book attached.
yekim54 is offline   Reply With Quote
Old 10-03-2008, 10:19 AM   #155
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
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.
JeffElkins is offline   Reply With Quote
Old 10-03-2008, 10:59 AM   #156
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 10-03-2008, 12:54 PM   #157
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by kovidgoyal View Post
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.
Code:
$any2epub --override-css="p{margin:0pt; padding:0pt}" 01_dead_until_dark.epub
Didn't do the job. Still double-spaced between paras. Also, the converted epub was frozen on page 1, although I could force a jump to page 2. Did I enter the command incorrectly?
JeffElkins is offline   Reply With Quote
Old 10-03-2008, 01:06 PM   #158
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 10-03-2008, 01:21 PM   #159
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
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
However I did come across a new warning:
Quote:
Too much markup. Re-splitting without structure preservation. This may cause incorrect rendering.
Do you still want me to open a ticket?

Last edited by JeffElkins; 10-03-2008 at 01:23 PM.
JeffElkins is offline   Reply With Quote
Old 10-03-2008, 01:41 PM   #160
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 10-04-2008, 07:39 PM   #161
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 10-04-2008, 09:31 PM   #162
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by kovidgoyal View Post
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.
Hi Kovid,

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.
JeffElkins is offline   Reply With Quote
Old 10-04-2008, 09:43 PM   #163
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 10-04-2008, 10:20 PM   #164
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by kovidgoyal View Post
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.
How about a 0.4.90a?
JeffElkins is offline   Reply With Quote
Old 10-05-2008, 01:08 AM   #165
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
0.4.91
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 07:49 AM.


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