diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | default.pdf.do | 7 | ||||
-rw-r--r-- | gup/Gupfile | 2 | ||||
-rwxr-xr-x | gup/pdf.gup | 6 | ||||
l--------- | ws2015/betriebssysteme/blaetter/01/default.pdf.do | 1 |
5 files changed, 9 insertions, 9 deletions
@@ -1,2 +1,2 @@ | |||
1 | **/.redo | 1 | **/.gup |
2 | 2 | ||
diff --git a/default.pdf.do b/default.pdf.do deleted file mode 100644 index d6b4ac4..0000000 --- a/default.pdf.do +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | redo-ifchange $2.md | ||
2 | |||
3 | tmp=$(mktemp --suffix=.pdf) | ||
4 | |||
5 | pandoc -t latex -o $tmp -V "geometry=margin=2cm" -V "fontfamily=libertine" $2.md >&2 | ||
6 | |||
7 | cat $tmp | ||
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 | ||
diff --git a/ws2015/betriebssysteme/blaetter/01/default.pdf.do b/ws2015/betriebssysteme/blaetter/01/default.pdf.do deleted file mode 120000 index a3ec235..0000000 --- a/ws2015/betriebssysteme/blaetter/01/default.pdf.do +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | ../../../../default.pdf.do \ No newline at end of file | ||