Add infrastructure for (original) page numbers as margin notes
[ccbib.git] / scripts / a5_on_a4_duplex
blob4e19dc3cec6833bfcb0862535af09e7cd4d1b6df
1 #!/bin/sh
3 bbox="0 0 596 842" #A4
5 if [ -z "$2" ]; then
6 output=$(basename $1)
7 else
8 output=$2
9 fi
11 mypsbook -g2 $1 | pstops -pa4 "4:0L(1w,0)+1L(1w,0.5h),2L(1w,0)+3L(1w,0.5h)" | strippagesize "$bbox" a4 >d_$output