Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creates books with flip on short-edge #26

Open
Geremia opened this issue Sep 1, 2024 · 8 comments
Open

Creates books with flip on short-edge #26

Geremia opened this issue Sep 1, 2024 · 8 comments

Comments

@Geremia
Copy link

Geremia commented Sep 1, 2024

This program used to work, but now it creates booklets with the binding/flip on the short-edge, not the long-edge.

@Geremia
Copy link
Author

Geremia commented Sep 1, 2024

It has the same behavior regardless if I specify --short-edge or not.

@Geremia
Copy link
Author

Geremia commented Sep 1, 2024

I was able to temporarily fix this issue by putting "--a3paper", after pdfbook2#L120.
I have no idea why. The output is 8.5×11, like I wanted anyways (not A3), but somehow it fixed the issue.

@edbrannin
Copy link

@Geremia I just tried adding --a3paper here, and it didn't help for me (with v1.4).

    pdfJamCallList = [
        "pdfjam",
        "--a3paper",
        "--landscape",
        "--suffix",
        "book",
        tmpFile,
    ]

Did I understand you correctly?

@edbrannin
Copy link

Example of the issue:

Source file:
from https://domergue.itch.io/wanna-play-right-now

Command:

pdfbook2 --paper letter --inner-margin=15 --outer-margin=15 Wanna\ Play\ Right\ Now.pdf

Desired result: something like
image

Observed result:

image

@edbrannin
Copy link

Version:

% pdfbook2 --version

    pdfbook2 v1.4 (https://github.com/jenom/pdfbook2)
    (c) 2015 - 2020 Johannes Neumann (http://www.neumannjo.de)
    licensed under GPLv3 (http://www.gnu.org/licenses/gpl-3.0)
    based on pdfbook by David Firth with help from Marco Pessotto

Installed on MacOS with Homebrew as part of texlive version 20240312_3

@Geremia
Copy link
Author

Geremia commented Dec 25, 2024

@edbrannin Yes, for some reason it worked for me.

@edbrannin
Copy link

@Geremia What version of pdfjam do you have?

% pdfjam --version
3.10

@Geremia
Copy link
Author

Geremia commented Dec 26, 2024

@edbrannin Yes, that's my version, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants