X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/feed.xml?a=blobdiff_plain;f=bookmaker.py;h=bf9eba838d9c8872c7f551805ebccedde310d6e3;hb=83c6b32e0df3f09b704a8d5900c49823d460cb2e;hp=0de7f19b3e2eb69491e5148c4a6f3b90dd30a674;hpb=b97655442a165d6ceba306643e0e2dde084fdce8;p=misc diff --git a/bookmaker.py b/bookmaker.py index 0de7f19..bf9eba8 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 @@ -55,10 +55,10 @@ Initially declare 5cm crop from the left and 1cm crop from right, but alternate Quarter each OUTPUT.pdf page to carry 4 pages from INPUT.pdf, draw stencils into inner margins for cuts to carry binding strings: bookmaker.py -i INPUT.pdf -o OUTPUT.pdf --nup4 -Same as --nup4, but define a printable-region margin of 1.3cm to limit the space for the INPUT.pdf pages in OUTPUT.pdf page quarters: +Same --nup4, but define a printable-region margin of 1.3cm to limit the space for the INPUT.pdf pages in OUTPUT.pdf page quarters: bookmaker.py -i INPUT.pdf -o OUTPUT.pdf -n --print_margin 1.3 -Same as -n, but draw lines marking printable-region margins, page quarts, spine margins: +Same --nup4, but draw lines marking printable-region margins, page quarts, spine margins: bookmaker.py -i INPUT.pdf -o OUTPUT.pdf -n --analyze NOTES: