blob: 3b3aa3aaa169bc39ea81e988c9912f8517fbd7c9 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env zsh
base=(${2%.pdf}.(md|lhs)([1]))
gup -u ${base} preamble.tex
for i ({0..1}); do
pandoc -t latex -o $1 -V "geometry=margin=2cm" -V "fontfamily=libertine" -H preamble.tex --listings --latex-engine=lualatex ${base} >&2
done
|