Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
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
Old 02-03-2011, 10:55 AM   #2
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: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's a bug in PDF output that causes it to ignore top and bottom margins.
kovidgoyal is online now   Reply With Quote
Advert
Old 02-03-2011, 10:58 AM   #3
hiperlink
Enthusiast
hiperlink began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 Wifi only
Thanks for you answer! Should I submit it?
hiperlink is offline   Reply With Quote
Old 02-03-2011, 11:00 AM   #4
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: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
no there's already a bug report for it
kovidgoyal is online now   Reply With Quote
Reply

Tags
conversion, error, margins, pagelayout, pdf


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] Convert epub to mobi with wide left margin on Kindle victoria0217 Conversion 91 11-15-2011 05:25 PM
larger top page margin when printing to pdf? whbenson Sigil 0 05-15-2010 12:38 AM
Convert size of pdf to sony prs-505 format rocklobster PDF 3 02-15-2010 05:43 AM
calibre ignore margin-top and margin-bottom bender Calibre 2 12-11-2009 06:58 AM
How does one set the margin size? lunged Sigil 13 09-17-2009 07:30 AM


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


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