PDF Output with even/odd page margins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm using ebook-convert (3.47.1 on Ubuntu) to turn an epub into a pdf intended for print. I would like even numbered pages and odd numbered pages to have different margins so that on left-hand pages, there's a greater right-hand margin, and vice versa. This is to accommodate the spine between printed pages.
I tried using the "@page :left" and "@page :right" CSS pseudo selectors, but theses do not seem to be treated differently from naked "@page". It also appears that "@page" directives are treated differently in the main epub styles and the --extra-css file. The latter appears to stretch the rendered page content after the fact. Even so, I could work around the stretching if the PDFWriter would respect the :left and :right @page pseudo selectors.
How can I specify different margins for even/odd pages in pdf output from epub?
I'm afraid there is no such functionality in the PDF Output plugin,
because this functionality is missing from the library calibre uses
to render HTML to PDF.
status wontfix