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