diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-12-15 10:54:19 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-12-15 10:54:19 +0100 |
commit | ca25e7179c2bae96442d44dc81bc6c6cd4b23a12 (patch) | |
tree | 68979351933339fbcdaa8bbf8195787ef3f8f65b | |
parent | 248647ecb3d8e7c5343c666ff00d8f0a77c483d2 (diff) | |
download | uni-ca25e7179c2bae96442d44dc81bc6c6cd4b23a12.tar uni-ca25e7179c2bae96442d44dc81bc6c6cd4b23a12.tar.gz uni-ca25e7179c2bae96442d44dc81bc6c6cd4b23a12.tar.bz2 uni-ca25e7179c2bae96442d44dc81bc6c6cd4b23a12.tar.xz uni-ca25e7179c2bae96442d44dc81bc6c6cd4b23a12.zip |
multiple passes with pandoc for correct linkage
-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 |