Index of /support/pdfbook
      Name                    Last modified       Size  Description

[DIR] Parent Directory 14-Jan-2021 00:07 - [   ] Makefile 16-Sep-2009 19:20 1k [TXT] pdfbook.c 16-Sep-2009 19:32 9k



Rearrange pages in a PDF file into signatures and (optionally) rescale
to fit 2 original pages on 1 physical one. Allows one to easily
convert pdf documents to booklet format, e.g. transform from A4 paper
to A5 pages on A4 paper, such that one can fold the pages and obtains
a small booklet.


Original version by Tigran Aivazian, based on the algorithm from
psutils/psbook.c, which was written by Angus J. C. Duggan 1991-1995.

Modification and additions by:
Jaap Eldering <eldering at>
Roman Buchert <roman.buchert at>
Pierre Francois <pf at>


This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA


On a *nix environment, installation should be as simple as running
'make pdfbook' in the directory containing the pdfbook.c source.

Runtime-depends on LaTeX and the pdfpages package and pdfinfo.


Running pdfbook without parameters produces a short help.

For simply transforming an A4 document to print in A5 booklet format,
use: 'pdfbook -2 <infile> <outfile>'


 * 16-09-2009, Jaap Eldering, added Makefile and patch by Jeroen
   Leeuwestein adding quoting of filenames in system commands.

 * +/- 2007, modifications by Jaap Eldering, Roman Buchert, Pierre
   Francois, adding support for autodetected and manual papersize
   setting, reduction of pages for last book with signatures, and
   debugging option.

 * June 2005, modified by Jaap Eldering <eldering at>,
   added option to generate booklet by placing 2x A5 pages on A4 paper.

 * Original version by Tigran Aivazian <tigran at>
   based on the algorithm from psutils/psbook.c, which was written by
   Angus J. C. Duggan 1991-1995.