website: improve slogan
[ccbib.git] / scripts / a3_3
blobb5bbcecb03d1b0be6e9e4a635ac73fc49788aebb
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="3:0L(1w,0)+1L(1w,14cm)+2L(1w,28cm)"
13 h_posstring="3:2L(1w,0cm)+1L(1w,14cm)+0L(1w,28cm)"
15 pstops 2:0 $1 | mypsbook -g3 | pstops -pa3 "$v_posstring" | strippagesize "$bbox" a3 >v_$output
16 pstops 2:1 $1 | mypsbook -g3 | pstops -pa3 "$h_posstring" | strippagesize "$bbox" a3 >h_$output