Gitiles
Code Review
Sign In
korap.ids-mannheim.de
/
IDS-Mannheim
/
posterdown
/
917b6180971f6eb4fa45f7d6e7491bd171a1e922
/
.
/
ci
/
html2pdf
blob: 9596c1f786f0cc8783e2b9b77b9945ff97a4726e [
file
] [
log
] [
blame
]
#!/bin/sh -eu
in
=
$1 out
=
$2 page0
=
$
{
3
:-}
page1
=
$
{
4
:-
$page0
}
google
-
chrome
--
no
-
sandbox
--
headless
=
new
--
no
-
pdf
-
header
-
footer
--
print
-
to
-
pdf
=
"$out"
.
tmp
"$in"
pdfseparate
-
f
1
-
l
1
"$out"
.
tmp $out