Fix markup error
[ccbib.git] / scripts / a3_6
blobd2248ef920130c187def8633d427592095aa46f0
1 #!/bin/sh
3 bbox="0 0 842 1191" #A3
5 if [ -z "$2" ]; then
6 output=$(basename $1)
7 else
8 output=$2
9 fi
11 v_posstring="6:0L(0.5w,0)+1L(0.5w,14cm)+2L(0.5w,28cm)+3L(1w,0)+4L(1w,14cm)+5L(1w,28cm)"
13 h_posstring="6:2L(0.5w,0.5cm)+1L(0.5w,14.5cm)+0L(0.5w,28.5cm)+5L(1w,0.5cm)+4L(1w,14.5cm)+3L(1w,28.5cm)"
15 pstops 2:0 $1 | mypsbook -g6 | pstops -pa3 "$v_posstring" | strippagesize "$bbox" a3 >v_$output
16 pstops 2:1 $1 | mypsbook -g6 | pstops -pa3 "$h_posstring" | strippagesize "$bbox" a3 >h_$output