diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-14 18:29:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-14 18:29:31 +0000 |
commit | 299bdb0274ac6021f90b883511b05fe7b54b3f84 (patch) | |
tree | 051ee04434aaa2533b7cd95a5ae0737739291632 /Master/texmf-dist/scripts/pdfjam/pdfnup | |
parent | 2f62a5fe6f4a15971e376276ff7a5abaf17fccbf (diff) |
new scripts pdfjam 2.01 (14apr10)
git-svn-id: svn://tug.org/texlive/trunk@17868 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/pdfjam/pdfnup')
-rwxr-xr-x | Master/texmf-dist/scripts/pdfjam/pdfnup | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/pdfjam/pdfnup b/Master/texmf-dist/scripts/pdfjam/pdfnup new file mode 100755 index 00000000000..a4744a112fd --- /dev/null +++ b/Master/texmf-dist/scripts/pdfjam/pdfnup @@ -0,0 +1,28 @@ +#!/bin/sh +## +## pdfnup: A shell program to n-up pages of PDF files +## +## Author David Firth (http://go.warwick.ac.uk/dfirth) +## +## This is a simple wrapper for pdfjam, version 2.01 +## +E_USAGE=64 ## for a command line usage error +for arg in "$@"; do + case "$arg" in + --orient) ## this was allowed in previous versions of pdfnup + printf "pdfnup ERROR: the --orient option is not allowed,\n" 1>&2; + printf " use --landscape or --no-landscape to specify\n" 1>&2; + printf " the output page orientation" 1>&2; + exit "$E_USAGE" ;; + --pages) ## this was allowed in previous versions of pdfnup + printf "pdfnup ERROR: the --pages option is not allowed,\n" 1>&2; + printf " see 'pdfjam --help' or http://go.warwick.ac.uk/pdfjam\n" \ + 1>&2; + printf " for page selection examples\n" 1>&2; + exit "$E_USAGE" ;; + *) continue ;; + esac +done +pdfjam --suffix nup --nup 2x1 --landscape "$@" + + |