1man(1) pdfxup man page man(1)
2
3
4
6 pdfxup - n-up PDF pages with reduced margins
7
9 pdfxup [OPTIONS] [FILE]
10
12 pdfxup creates a PDF document where each page is obtained by combining
13 several pages of a PDF file given as output. The important feature of
14 pdfxup, compared to similar programs, is that it tries to compute the
15 (global) bounding box of the input PDF file, in order to remove the
16 margins and to keep the text only. Instead of having the font size
17 divided by 2 (for the case of 2-up output), in some case you may end up
18 with almost the same font size as in the original document (as is the
19 case for a default 'article' document produced by LaTeX).
20
21 pdfxup uses ghostscript for computing the maximal bounding box of (some
22 of) the pages of the document, and then uses pdflatex (with graphicx
23 package) in order to produce the new document.
24
26 pdfxup accepts numerous options. The most important ones are:
27
28 -x n, --columns n
29 sets the number of columns in the output file (default 2);
30
31 -y n, --rows n
32 sets the number of lines in the output file (default 1);
33
34 -l (0|1), --landscape (0|1)
35 sets orientation of paper (of final document) landscape;
36
37 -b (0|1|le|se), --booklet (0|1|le|se)
38 configure for printing as a booklet. '1' is equivalent to 'le',
39 which assumes that two-sided printing is in 'long-edge' mode
40 (you turn from one page to the next along the long edge of the
41 paper). 'se' is the 'short-edge' option;
42
43 -o file, --output file
44 name of output file;
45
46 -i ask before overwriting output file;
47
48 -fw d, --framewidth d
49 width of the frame around each page (default 0.4pt);
50
51 -im d, --innermargins d
52 inner margin between frame and page (default 5pt);
53
54 -m d, --margins d
55 margin of pages of the new document (default 5pt);
56
57 -is d, --intspacess d
58 space between different pages (default 1pt);
59
60 -p a-b, --pages a-b
61 only consider pages a to b of input document;
62
63 -bb a-b, --pages a-b
64 only consider pages a to b of input document for computing
65 bounding box;
66
67 -nobb a-b, --no-bb a-b
68 omit pages a to b of input document from computation of bounding
69 box;
70
71 -g (0|1), --get-bb (0|1)
72 only compute (and output) bounding box;
73
74 -s x y W H, --set-bb x y W H
75 set the bounding box to the given values;
76
77 -d, --debug
78 debug mode: keep intermediary files;
79
80 -V [0-3], --verbose [0-3]
81 select verbosity (default: 1);
82
83 -q, --quiet
84 run quietly (equiv. '-V=0')
85
86 -v, --version
87 print version number and exit;
88
89 -h, --help
90 print help message and exit.
91
92
94 gs(1), pdflatex(1)
95
97 No known bugs.
98
100 Nicolas Markey (pdfxup@markey.fr)
101
102
103
1041.30 6 october 2015 man(1)