diff options
author | Karl Berry <karl@freefriends.org> | 2019-11-19 00:11:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-11-19 00:11:53 +0000 |
commit | db76355f7b5a9e9c58d4bb71e9b44d96f6b72fa3 (patch) | |
tree | 3e395adc1da9237176fbd32020b49887226cb696 /Master/texmf-dist/scripts/pdfjam/pdfbook | |
parent | e0f7e24187626cc11a2dfdb9f9e22660f0b536a9 (diff) |
pdfjam (19nov19)
git-svn-id: svn://tug.org/texlive/trunk@52857 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/pdfjam/pdfbook')
-rwxr-xr-x | Master/texmf-dist/scripts/pdfjam/pdfbook | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/Master/texmf-dist/scripts/pdfjam/pdfbook b/Master/texmf-dist/scripts/pdfjam/pdfbook deleted file mode 100755 index c6490b3881f..00000000000 --- a/Master/texmf-dist/scripts/pdfjam/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 - - - |