View Single Post
Old 02-03-2011, 10:49 AM   #1
hiperlink
Enthusiast
hiperlink began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 Wifi only
convert to PDF margin size ignored?

Hi All,

I'm trying to convert one of my custom recipes to PDF format, using the following command:

Code:
ebook-convert some.recipe some.pdf  \
--smarten-punctuation \
--paper-size a4 \
--pretty-print \
--extra-css 'body { background-color: white; color: black }' \
--preserve-cover-aspect-ratio \
--insert-blank-line \
--margin-bottom 72.0 \
--margin-top 72.0 \
--margin-left 72.0 \
--margin-right 72.0 \
-vv | tee conv_2pdf_debug.log
But the output shows that the some of the article-pages does not have the expected margins at top and bottom. Screenshot can be seen at: http://imgur.com/KS2B7

(I don't mess with margins in the recipe file.)

What am I doing wrong?

Thanks for any help!
hiperlink is offline   Reply With Quote