Return status from process-running helper function
[objavi2.git] / tests / arabic-test.sh
blob477b316878178ac8aaa74573b72eb9d9d221f7e4
2 WK=wkhtmltopdf-static
3 #WK=wkhtmltopdf-static-beta
5 HERE=`dirname $0`
6 cd $HERE
8 for HTML in arabic*.html; do
9 PDF=$HTML.pdf
10 echo "outline only:"
11 $WK -s A4 -T 30.5 -R 25.0 -B 32.4402777778 -L 25.0 -d 100 --outline -g $HTML $PDF
12 pdftk $PDF dumpdata
13 PDF2=$HTML-toc.pdf
14 echo "toc + outline:"
15 $WK -s A4 -T 30.5 -R 25.0 -B 32.4402777778 -L 25.0 -d 100 -t --outline -g $HTML $PDF2
16 pdftk $PDF2 dumpdata
17 done