View Single Post
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