home · contact · privacy
Fix language.
[misc] / bookmaker.py
index 064537824e6c5211bc79868c31748bea24e3c3fb..bf9eba838d9c8872c7f551805ebccedde310d6e3 100755 (executable)
@@ -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:
@@ -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.