Gitiles
Code Review
Sign In
korap.ids-mannheim.de
/
IDS-Mannheim
/
posterdown
/
c1ef9d271218cf3f8c201bfa46c295aeefb61f4f
/
.
/
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