X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=bookmaker.py;h=291d00bf9f2f6412fafbdbfe5fcf5cfabcf47f60;hb=3f85c397248cb8fbd594ce68f66f356f26771e61;hp=064537824e6c5211bc79868c31748bea24e3c3fb;hpb=7de2916603e5b9761142cd51e385d956ad88285a;p=misc diff --git a/bookmaker.py b/bookmaker.py index 0645378..291d00b 100755 --- a/bookmaker.py +++ b/bookmaker.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 """ -bookmaker.py is a helper for optimizing PDFs of books for the production of small self-printed, self-bound physical books Towards this goal it offers various PDF manipulation options that may also be used indepéndently and for other purposes. +bookmaker.py is a helper for optimizing PDFs of books for the production of small self-printed, self-bound physical books. Towards this goal it offers various PDF manipulation options that may also be used indepéndently and for other purposes. """ import argparse import io @@ -73,9 +73,9 @@ The --nup4 quartering puts pages into a specific order optimized for no-tumble d (front) (back) +-------+ +-------+ -| 4 | 1 | | 3 | 2 | +| 4 | 1 | | 2 | 3 | |-------| |-------| -| 8 | 5 | | 7 | 6 | +| 8 | 5 | | 6 | 7 | +-------+ +-------+ To facilitate this layout, --nup4 also pads the input PDF pages to a total number that is a multiple of 8, by adding empty pages if necessary.