jenom / pdfbook2

Create booklets from PDF files
GNU General Public License v3.0
60 stars 13 forks source link

Cannot make it work to convert A5 PDF into A4 book sheets #10

Closed rrthomas closed 3 years ago

rrthomas commented 3 years ago

Whatever I do, pdfbook seems to change the size or margins of the input, whereas A5 pages should simply be impressed on an A4 sheet.

I tried:

$ pdfbook2 --paper=a4 --no-crop -o 0 -i 0 -t 0 -b 0 foo.pdf

This ensures that the correct output paper size is selected, sets all the margins to 0, and turns off cropping. But even with this, the pages are resized.

It seems this is actually a problem with pdfjam (I'm using 3.03), as I get the same wrong results when I just run:

pdfjam --landscape --suffix book foo.pdf --booklet true --paper a4

Still, I thought you should know, since it affects pdfbook2!

rrthomas commented 3 years ago

I found the problem: I should be using a4paper not a4. Sorry for the noise!