PDFjam is a small collection of shell scripts that provide a simple interface to some of the functionality of the pdfpages package for pdfLaTeX. At present, the utilities available are pdfnup, pdfjoin, and pdf90. PDFjam depends on a working installation of (pdf)LaTeX. pdfnup puts multiple document pages together on one physical page at a reduced size. pdfjoin concatenates multiple PDF documents. pdf90 rotates the pages of PDF documents. For Mac OS X, some example applications (droplets) are provided for drag-and-drop access to the scripts.
| Tags | Utilities Text Processing Filters multimedia Graphics Graphics Conversion |
|---|---|
| Licenses | GPL |
| Operating Systems | Unix |
| Implementation | Unix Shell bash |
Recent releases


Changes: This release fixes some important security problems. The scripts now call for "/bin/bash" (rather than "/bin/sh") as the interpreter. Availability of "mktemp -d" is also now assumed. The sample Mac OS X droplets now look for "pdflatex" at (by default) "/usr/texbin/pdflatex", but this is still configurable.


Changes: This release provides minimal man pages and allows the site-wide configuration file to live in more places.


Changes: This release adds a --scale option to pdfnup, which allows the output page margins either to be enlarged (e.g., --scale 0.9) or reduced (e.g., --scale 1.1) by scaling the page contents.


Changes: Output files now appear in the same directory as input files, rather than in the current working directory. Improvements have been made to the MacOS X sample droplets, including icons and session logging. This version also fixes a bug that caused the scripts not to work on some versions of Solaris.


Changes: Portability has been improved by the removal of all instances of $RANDOM, which is not supported by some Bourne-type shells.
- All comments
Recent commentsUsing > |
Hello,
I wonder why your script don't use the Unix tube (and /dev/stdout and >)
It could be a good idea because each script could act as a filter.
That's the case of psutils... so why not with PDFJam.
Have a look at
psselect -p1,1 main.ps | psnup -n 2 > main_idem_2.ps
it makes a file called main_idem_2.ps that contain the first page of main.ps and which is reproduced 2 times on the same sheet of paper.
Making a .ps booklet also use Unix tube
psbook main.ps | psnup -2 -pa4 > main_book.ps
Using tubes simplify such works.
Maybe you should add a hack such as using --outfile=/dev/stdout
Regards
Re: PDFReflect
For using pdfreflect try
./pdfreflect pdfpages.pdf
You will have a file called pdfpages-reflected.pdf
The pdfpages script is also done. It allows us to give any optional parameters to \includepdf[...]{myfile.pdf}.
Maybe some things need to be done (for example when there is no --do argument)... but I'm not kind at shell scripting...
Try this :
./pdfpages --do pages=-,reflect pdfpages.pdf
you will have a file called pdfpages-new.pdf
It has the same effect as pdfreflect script... but you can do more things... using the pdfpages package doc at
http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf
You can download the script at :
http://svn.berlios.de/wsvn/openphysic/bash/pdf/pdfjam/pdfpages
Sorry for the man pages... I don't know how to make them...
Regards
Sebastien CELLES
PDFReflect
Hello,
I'm a Physic teacher and I sometimes use slides (a sheet of
transparent paper with overhead projector)
This kind of paper has generally two kind of side.
- a rough side (for print)
- a smooth side (for write with a pen)
I you want to use it like that you need to print your slide with a
miror (reflect) effect
Therefore I use your pdf90 script and adapt it to become a pdfreflect
script.
I think that could be a good idea to add it in PDFJam.
Of course it is released under the licence you want ;-) GNU GPL is a
good think for me !!
http://svn.berlios.de/wsvn/openphysic/bash/pdf/pdfjam/pdfreflect
I will also consider making a pdfpages script that will be able to
send other parameters [...] to the LaTeX \includepdf command
so it will provide an easy way to support any option of the pdfpages
package
Sorry for using comments but your mail adress seems not to be active...
Regards
pdfjam
These scripts are really very nice-working and effective. I actually wanted to thank the developer that it is working so good on every type of pdfs in both Western and Indic fonts and all. But saw that warwick.ac.uk site is not working. The only problem is that, the name of the project is pdfjam, and hence the installer should install a manual page on the very name 'pdfjam', even if it just has the names of the scripts to search like 'pdfnup', 'pdf90' and so on.