summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-12-15 10:54:19 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-12-15 10:54:19 +0100
commitca25e7179c2bae96442d44dc81bc6c6cd4b23a12 (patch)
tree68979351933339fbcdaa8bbf8195787ef3f8f65b
parent248647ecb3d8e7c5343c666ff00d8f0a77c483d2 (diff)
downloaduni-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-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