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

Option for right-binding books #119

Open
kodft opened this issue Jun 22, 2024 · 2 comments
Open

Option for right-binding books #119

kodft opened this issue Jun 22, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kodft
Copy link

kodft commented Jun 22, 2024

Is it possible to add a booklet option for right-to-left languages like Arabic, Hebrew, (vertical) Japanese, and so on? For right-to-left scripts, the spine is on the right.

Thank you for your excellent work.

@kodft
Copy link
Author

kodft commented Jun 22, 2024

For now, a possible workaround would be:

  • sort the PDF in reverse order (one may consider pdftk from PDF Labs)
    pdftk input.pdf cat 32-1 output reverse.pdf (this sorts a 32-page PDF in reverse)
  • use the reversed PDF for the Bookbinder JS.

Successfully tested with 8-, 16-page booklets, and 8-page single-sheet-zine.

This approach may fail when the number of signatures isn't a whole number (for example, a 120-page book printed in 16-page signatures would have 7.5 signatures; of course, in reality, it will be 8).

@momijizukamori
Copy link
Owner

I think this would be a good enhancement, and would also be work towards some more complex implementations of #11

@momijizukamori momijizukamori added enhancement New feature or request good first issue Good for newcomers labels Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants