Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-03-2011, 11:49 AM   #1
hiperlink
Enthusiast
hiperlink began at the beginning.
 
Posts: 37
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, 11: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: 26,338
Karma: 5382313
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 offline   Reply With Quote
 
Advertisement
Old 02-03-2011, 11:58 AM   #3
hiperlink
Enthusiast
hiperlink began at the beginning.
 
Posts: 37
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, 12:00 PM   #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: 26,338
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
no there's already a bug report for it
kovidgoyal is offline   Reply With Quote
Reply

Tags
conversion, error, margins, pagelayout, pdf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:25 PM
larger top page margin when printing to pdf? whbenson Sigil 0 05-15-2010 01:38 AM
Convert size of pdf to sony prs-505 format rocklobster PDF 3 02-15-2010 06:43 AM
calibre ignore margin-top and margin-bottom bender Calibre 2 12-11-2009 07:58 AM
How does one set the margin size? lunged Sigil 13 09-17-2009 08:30 AM


All times are GMT -4. The time now is 01:27 PM.


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