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.