repo.or.cz
/
objavi2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Return status from process-running helper function
[objavi2.git]
/
tests
/
arabic-test.sh
blob
477b316878178ac8aaa74573b72eb9d9d221f7e4
1
2
WK
=
wkhtmltopdf-static
3
#WK=wkhtmltopdf-static-beta
4
5
HERE
=
`dirname
$0
`
6
cd
$HERE
7
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
18