diff options
-rwxr-xr-x | gup/pdf.gup | 4 |
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 | ||
3 | gup -u ${2%.pdf}.md | 3 | gup -u ${2%.pdf}.md |
4 | 4 | ||
5 | pandoc -t latex -o $2 -V "geometry=margin=2cm" -V "fontfamily=libertine" --listings --latex-engine=lualatex ${2%.pdf}.md >&2 | 5 | for 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 | ||
7 | done | ||
6 | [[ -e $2 ]] && touch $2 | 8 | [[ -e $2 ]] && touch $2 |