diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-10-17 16:35:33 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-10-17 16:35:33 +0200 |
commit | d53e624fe2d3236a8dce751fd0f3bfde49f04134 (patch) | |
tree | 0a55fea46420bba6e5dbb40b535ee5880832d48e /gup | |
parent | 822f938a89fca26e16b7260d165bb92679021a61 (diff) | |
download | uni-d53e624fe2d3236a8dce751fd0f3bfde49f04134.tar uni-d53e624fe2d3236a8dce751fd0f3bfde49f04134.tar.gz uni-d53e624fe2d3236a8dce751fd0f3bfde49f04134.tar.bz2 uni-d53e624fe2d3236a8dce751fd0f3bfde49f04134.tar.xz uni-d53e624fe2d3236a8dce751fd0f3bfde49f04134.zip |
Switched from redo to gup
Diffstat (limited to 'gup')
-rw-r--r-- | gup/Gupfile | 2 | ||||
-rwxr-xr-x | gup/pdf.gup | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gup/Gupfile b/gup/Gupfile new file mode 100644 index 0000000..159f942 --- /dev/null +++ b/gup/Gupfile | |||
@@ -0,0 +1,2 @@ | |||
1 | pdf.gup: | ||
2 | **/*.pdf \ No newline at end of file | ||
diff --git a/gup/pdf.gup b/gup/pdf.gup new file mode 100755 index 0000000..9b6749e --- /dev/null +++ b/gup/pdf.gup | |||
@@ -0,0 +1,6 @@ | |||
1 | #!/usr/bin/env zsh | ||
2 | |||
3 | gup -u ${2%.pdf}.md | ||
4 | |||
5 | pandoc -t latex -o $2 -V "geometry=margin=2cm" -V "fontfamily=libertine" ${2%.pdf}.md >&2 | ||
6 | touch $2 | ||