~ubuntu-branches/ubuntu/trusty/c++-annotations/trusty

« back to all changes in this revision

Viewing changes to contributions/README.makebook

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2012-01-20 11:53:17 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20120120115317-v4wiq9sttx72fabk
Tags: 9.1.0-1
New upstream release (covering C++11 to a large extend)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
The following recipe was provided by Jurjen Bokma (j dot bokma at rug dot nl)
 
2
for creating a neatly bound C++ Annotations book. He gave me one as a 2011
 
3
X-mas present, and I think it's a great gift. Thanks, Jurjen!
 
4
 
 
5
The recipe then, is:
 
6
    - gunzip makebook.sh.gz
 
7
    - Call the script like this:
 
8
      ./makebook.sh --t7 -p2 cplusplus.pdf
 
9
      (t7 is for 7-sheet signatures, see below, and p2 is to prepend two
 
10
      empty pages, which you may or may not like/do)
 
11
    - Have the output, cplusplus_book.pdf, printed.
 
12
      For normal-size output, you need A3 paper.
 
13
      I use 60-gram paper, so I can keep all in one book.
 
14
      Print double-sided, short-edge-bind.
 
15
    - Separate the printout into bundles of 7 sheets.
 
16
      Don't mess up the order.
 
17
    - Fold every bundle neatly in half.
 
18
    - Take these folded signatures to a book binder, e.g.
 
19
      http://www.boekbinderijerends.nl and wait a few weeks,
 
20
      or try to DIY.
 
21
 
 
22
Background:
 
23
    A bound book is made up of signatures, stacks of a small number n (e.g.
 
24
    7) of sheets double the size of the book's page, folded in half. Each of
 
25
    these signatures gets sewn into the book casing.
 
26
 
 
27
    So the A4 PDF being processed must be reshuffled so that the pages are
 
28
    printed on A3 paper, in signatures of n sheets formed by 4*n original
 
29
    pages. That is what the script does.
 
30
 
 
31
This results in an A4 sized book. If you need other sizes, adapt accordingly.
 
32
 
 
33
 
 
34