diff options
author | Norbert Preining <norbert@preining.info> | 2019-11-19 03:02:21 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-11-19 03:02:21 +0000 |
commit | 025f7bfee79d7817a876831bb19f34a2dfb1b2e2 (patch) | |
tree | 76efc8c89514583aae7ddb55b59bfb879500a09d /support/pdfjam/bin/pdfbook | |
parent | 96f9362fc3e3bb70fa2411c62418c42d9acda4d7 (diff) |
CTAN sync 201911190302
Diffstat (limited to 'support/pdfjam/bin/pdfbook')
-rw-r--r-- | support/pdfjam/bin/pdfbook | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/support/pdfjam/bin/pdfbook b/support/pdfjam/bin/pdfbook deleted file mode 100644 index c6490b3881..0000000000 --- a/support/pdfjam/bin/pdfbook +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -## -## pdfbook: Rearrange pages of one or more PDF files into 2-up signatures -## -## Author David Firth (http://go.warwick.ac.uk/dfirth), with help -## from Marco Pessotto -## -## This is a simple wrapper for pdfjam, version 2.08 -## -case $1 in - --short-edge) - shortedge=true ; - shift ; - ;; - *) - ;; -esac -for arg -do - case $arg in - --signature*) - ## catches both --signature and --signature* - signature=true ; break - ;; - *) ;; - esac -done -## -## If $signature is empty, we need to use a default: -## -if test -z "$signature" ; then - signature="--signature 4" -else - signature="" -fi -## -## Make the call to pdfjam: -## -if test -z "$shortedge" -then - exec pdfjam --booklet true --landscape --suffix book $signature "$@" -else - (kpsewhich everyshi.sty >/dev/null) || { - echo "the 'everyshi' package is not installed."; exit 1 - } - exec pdfjam --booklet true --landscape --suffix book $signature \ - --preamble '\usepackage{everyshi} -\makeatletter -\EveryShipout{\ifodd\c@page\pdfpageattr{/Rotate 180}\fi} -\makeatother -' "$@" -fi - - - |