Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 06-23-2009, 10:51 AM   #301
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,448
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
open a ticket and attach the prc
kovidgoyal is offline  
Old 06-23-2009, 11:21 AM   #302
sirbruce
Provocateur
sirbruce ought to be getting tired of karma fortunes by now.sirbruce ought to be getting tired of karma fortunes by now.sirbruce ought to be getting tired of karma fortunes by now.sirbruce ought to be getting tired of karma fortunes by now.sirbruce ought to be getting tired of karma fortunes by now.sirbruce ought to be getting tired of karma fortunes by now.sirbruce ought to be getting tired of karma fortunes by now.sirbruce ought to be getting tired of karma fortunes by now.sirbruce ought to be getting tired of karma fortunes by now.sirbruce ought to be getting tired of karma fortunes by now.sirbruce ought to be getting tired of karma fortunes by now.
 
sirbruce's Avatar
 
Posts: 1,859
Karma: 505847
Join Date: Feb 2009
Location: Columbus, OH
Device: Kindle Touch, Kindle 2, Kindle DX, iPhone 3GS
Quote:
Originally Posted by JSWolf View Post
I just found yet another error in converting to ePub from Mobipocket. When converting using 0.6.0b8, the resulting ePub has no ToC and the internal ToC has the links going to the wrong place.
I've found TOC issues converting to MOBI as well:
http://calibre.kovidgoyal.net/ticket/2678
sirbruce is offline  
Old 06-23-2009, 11:30 AM   #303
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: 80,031
Karma: 147977995
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 kovidgoyal View Post
open a ticket and attach the prc
I've emailed the eBook as I don't want it to be open to the public. But I will go and open a ticket without the book attached.
JSWolf is offline  
Old 06-23-2009, 11:33 AM   #304
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: 80,031
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Ticket #2699 has been created.
JSWolf is offline  
Old 06-25-2009, 11:35 AM   #305
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
There seems to be a recursion in the latest beta8. I'm noticing that the command line tool is merging additional several fields fields like the "Book-Producer" to the "Author" tag. The result is something like this
Athtour="Unknown & Plato & BookCreator". I don't know what field the "Unknown" is coming from.

The "Book-Producer" == "BookCreator"

Edit: This problem happens on the meta data for these test formats EPUB, LIT, MOBI, PDB, PDF.
See my next post for the command line switches
=X=

Last edited by =X=; 06-25-2009 at 11:36 AM. Reason: Added more info
=X= is offline  
Old 06-25-2009, 11:40 AM   #306
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Error Creating LRF

Cannot build for LRF get and error message on the command line

Here is the command line options
Quote:
"C:\Program Files\calibre\ebook-convert.exe" "Plato - Apology_PURIFIED.html" "Plato - Apology.lrf" --title="Apology" --authors="Plato" --language="english" --page-breaks-before="//*[name()='h1' or name()='h2']" --book-producer="BookCreator" --publisher="MR/PG" --tags="Philosophy" --header --header-format=""%t"" --header-format="2" --margin-left=3 --margin-right=3 --margin-top=3 --margin-bottom=3 --chapter-mark="pagebreak" --chapter "//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level1-toc="//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level2-toc="//h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc="//h:p[re:test(@class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max-levels=2 --output-profile="default" --input-profile="default"
Here is the conversion output

Quote:
1% Converting input to HTML...
InputFormatPlugin: HTML Input running on C:\DOCUME~1\xplas\LOCALS~1\Temp\BookCreatorTemp\Pl ato - Apology\Plato - Apology_PURIFIED.html
Language not specified
Creator not specified
Building file list...
Parsing file u'Plato%20-%20Apology_PURIFIED.html' as HTML
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Detected chapter: INTRODUCTION.
Detected chapter: APOLOGY
Detected chapter: PROJECT GUTENBERG LICENSE
Auto generated TOC with 3 entries.
Flattening CSS and remapping font sizes...
Property: Unknown Property name. [7:2: panose-1]
Property: Unknown Property name. [10:2: panose-1]
Source base font size is 10.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating LRF Output...
67% Creating LRF Output
Traceback (most recent call last):
File "cli.py", line 225, in <module>
File "cli.py", line 217, in main
File "calibre\ebooks\conversion\plumber.pyo", line 685, in run
File "calibre\ebooks\lrf\output.pyo", line 156, in convert
File "calibre\ebooks\lrf\output.pyo", line 62, in __init__
TypeError: can't multiply sequence by non-int of type 'float'
=X= is offline  
Old 06-25-2009, 11:49 AM   #307
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Can't create PDF what am I doing wrong?

Okay from the calibre tool I can create a PDF file however through the command line via BookCreator I cannot.

Here is what I am passing in
Quote:
"C:\Program Files\calibre\ebook-convert.exe" "Plato - Apology_PURIFIED.html" "Plato - Apology.pdf" --title="Apology" --authors="Plato" --language="english" --page-breaks-before="//*[name()='h1' or name()='h2']" --book-producer="BookCreator" --publisher="MR/PG" --tags="Philosophy" --paper-size="a6" --orientation="portrait" --margin-left=3 --margin-right=3 --margin-top=3 --margin-bottom=3 --chapter-mark="pagebreak" --chapter "//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level1-toc="//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level2-toc="//h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc="//h:p[re:test(@class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max-levels=2 --output-profile="default" --input-profile="default"

I've also attached the compressed HTML file and the final PDF file.
Attached Files
File Type: zip Plato - Apology_PURIFIED.zip (40.4 KB, 183 views)
File Type: pdf Plato - Apology.pdf (140.6 KB, 269 views)

Last edited by =X=; 06-25-2009 at 11:49 AM. Reason: Disabled smillies
=X= is offline  
Old 06-25-2009, 12:02 PM   #308
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,448
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
LRF from the command line will be fixed in the next beta.
kovidgoyal is offline  
Old 06-25-2009, 12:35 PM   #309
Garachico
Junior Member
Garachico began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2009
Device: Kindle DX
Can you tell us when you will release the next beta?
Could you fix the convert ".cbz" to "Kindle DX"-problem (blank pages)?

Thank you in advance!

Jens
Garachico is offline  
Old 06-25-2009, 05:11 PM   #310
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
I'm using 0.6.0b8. Please, tell me how turn OFF TOC creation completely??? Tried any thinkable option and that didn't work. I set number of TOC links to 0 and they are created anyway. I convert from fb2 to epub.
Garfunkel is offline  
Old 06-25-2009, 08:06 PM   #311
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Okay found the PDB problem

Hi user_none,
I finally idientifed what the PDB problem I have been seeing since version b3. It's due to the TOC creating.

If a HTML file has no TOC or just one level of TOC the PDB file is created just fine. However if there is a second level TOC the PDB is not created the converter errors out.

I've attached the zip file with the HTML and command line options.
=X=
Attached Files
File Type: zip calibre_PDB_error.zip (3.4 KB, 176 views)
=X= is offline  
Old 06-25-2009, 08:26 PM   #312
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
@=X=, I've opened a ticket for it. It's an issue with the transforming to oeb stage before the output generation. Kovid will have to look into it.

@Garachico, The next beta will be out when it's ready. As for the DX mobi comic bug, a fix has been committed but I can't guarantee it will work.

@Garfunkel, --no-chapters-in-toc and --max-toc-links=0 should turn it off.
user_none is offline  
Old 06-25-2009, 09:49 PM   #313
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,448
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Uploaded beta 9 with lots of conversion fixes.
kovidgoyal is offline  
Old 06-25-2009, 11:36 PM   #314
TevK
Member
TevK doesn't litterTevK doesn't litter
 
Posts: 13
Karma: 166
Join Date: Mar 2007
Device: Sony Reader
I still get a blank page after each image page when doing CBZ -> MOBI, and a chapter for each page and table of contents are created even when I set "Number of links to add to Table of Contents" to 0.

I submitted tickets for these, but I may have accidentally submitted the tickets twice, since in "View Tickets" I was filtering my username as "owner" not "reporter", so didn't see the ones I'd already put in - my bad!
TevK is offline  
Old 06-26-2009, 01:24 AM   #315
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
Quote:
Originally Posted by user_none View Post
@Garfunkel, --no-chapters-in-toc and --max-toc-links=0 should turn it off.
Please, how to do that using GUI? I guess all those console commands are implemented in the GUI version, right?

OK, I've tried unchecking the "Do not add detected chapters to the TOC" option, and setting "Number of links to add to Table of Contents" to 0. I also changed "Chapter Threshold" to 1 then to 99, nothing helped in any combination. Please, help!

Last edited by Garfunkel; 06-26-2009 at 01:33 AM.
Garfunkel is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre metadata.calibre not allowing updates Chuckels550 Calibre 10 08-09-2010 05:12 PM
Using Calibre as a client for another Calibre instance? toddos Calibre 27 06-30-2010 04:57 AM
Sigil 0.2.0 betas available Valloric Sigil 98 05-03-2010 04:07 PM
cannot open calibre on osx 10.6-- "Calibre is already running" message jlip Calibre 4 01-02-2010 11:05 PM
calibre command line utilities and calibre defaults astrodad Calibre 2 08-07-2008 03:27 PM


All times are GMT -4. The time now is 07:42 PM.


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