|
|
#1 |
|
Enthusiast
![]() 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
(I don't mess with margins in the recipe file.) What am I doing wrong? ![]() Thanks for any help! |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,592
Karma: 28548962
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.
|
|
|
|
|
|
#3 |
|
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 Wifi only
|
Thanks for you answer! Should I submit it?
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,592
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
no there's already a bug report for it
|
|
|
|
![]() |
| Tags |
| conversion, error, margins, pagelayout, pdf |
|
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 | 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 |