summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up')
-rwxr-xr-xMaster/texmf-dist/scripts/pdfjam/pdfjam-slides6up10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up b/Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up
index 47fa2ea1ec8..3dd9136b81f 100755
--- a/Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up
+++ b/Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up
@@ -5,13 +5,13 @@
##
## Author David Firth (http://go.warwick.ac.uk/dfirth)
##
-## This is a simple wrapper for pdfjam, version 2.01
+## This is a simple wrapper for pdfjam, version 2.05
##
footskip=2.7cm ## default setting
pagecommand='{\thispagestyle{empty}}' ## default setting
-case "${1}" in
+case ${1} in
--pagenumbering)
- case "${2}" in
+ case ${2} in
false)
continue ;;
true)
@@ -20,11 +20,11 @@ case "${1}" in
pagecommand='{\thispagestyle{plain}}' ;
footskip="$2" ;;
esac ;
- shift 2 ;;
+ shift; shift ;;
*)
continue ;;
esac
-pdfjam --suffix 6up --nup 2x3 --frame true --noautoscale false \
+exec pdfjam --suffix 6up --nup 2x3 --frame true --noautoscale false \
--delta "0.2cm 0.3cm" --scale 0.95 --preamble "\footskip $footskip" \
--pagecommand "$pagecommand" "$@"