
> I get no blank pages when converting the attached file on my linux 2em for that could be throwing off the conversion. I'm wondering if maybe there's some css, like line-height or top/bottom Users really like the page numbers and table of contents so that they can
#Linux convert pdf to epub pdf#
Interestingly, the old pdf engine seems to always get it right, but many margin-bottom 66 -pdf-default- font-size 18 -vv subset- embedded- fonts -margin-left 66 -margin-right 66 -margin-top 66 preserve- cover-aspect- ratio -page- breaks- before= / -toc-title= Contents pdf-add-toc -pdf-page-numbers -disable- font-rescaling -embed-all-fonts *.epub test.pdf -override- profile- size -paper-size letter Imagine with longer books with more chapters it can be quite difficult toįor example, with these parameters, I still get at least one blank page inĮbook-convert. You with the same parameters, getting a good result seems to depend onĪrbitrary margin sizes and a degree of luck with the output.


Thank you for your attention and response. Thanks very much for any attention you can give this. I also don't think it has anything to do with page numbering or the auto table of contents output, as I still get blank pages with those options unselected.

The serif font size set for pdf output is 18px, but I try at different pixel sizes and different margin sizes to try to get an output without blank pages, but usually with no success. I am attaching the epub input and pdf output of a recent book I produced (it's in Spanish, but it's a fairly short and simple example). I'm running Arch Linux and I my calibre is updated directly from the calibre-ebook site, not from the repos. It never used to do this, but now it's rare I can convert any epub to pdf without this happening. Usually I have the ebook split with each chapter a separate and the chapters split into their own html/xml files. It seems to occur before a new chapter, but not always. For the last number of versions, maybe since 2.40 but I'm using 2.52 now, when I convert epub to pdf, I usually get at least a few blank pages in the pdf output.
