summaryrefslogtreecommitdiff
path: root/gup/pdf.gup
diff options
context:
space:
mode:
Diffstat (limited to 'gup/pdf.gup')
-rwxr-xr-xgup/pdf.gup4
1 files changed, 3 insertions, 1 deletions
diff --git a/gup/pdf.gup b/gup/pdf.gup
index 9f1ba61..f49ec39 100755
--- a/gup/pdf.gup
+++ b/gup/pdf.gup
@@ -2,5 +2,7 @@
2 2
3gup -u ${2%.pdf}.md 3gup -u ${2%.pdf}.md
4 4
5pandoc -t latex -o $2 -V "geometry=margin=2cm" -V "fontfamily=libertine" --listings --latex-engine=lualatex ${2%.pdf}.md >&2 5for i in 0 1; do
6 pandoc -t latex -o $2 -V "geometry=margin=2cm" -V "fontfamily=libertine" --listings --latex-engine=lualatex ${2%.pdf}.md >&2
7done
6[[ -e $2 ]] && touch $2 8[[ -e $2 ]] && touch $2