aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Dürkop <axel.duerkop@tuhh.de>2021-02-10 20:20:40 +0100
committerAxel Dürkop <axel.duerkop@tuhh.de>2021-02-10 20:20:40 +0100
commit00a3d900e1ab73cd473a5dafb4c980a2e27185c6 (patch)
tree726405130f1b59c170af491bb54d1abb739932c1
parent7aaa14d3ab6b46ad62801b89c080b89a0c6ced9d (diff)
Add Docker command
-rwxr-xr-xbuild.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 32af8b8..289f75e 100755
--- a/build.sh
+++ b/build.sh
@@ -1,3 +1,7 @@
#!/bin/sh
-xargs -a ./content/toc.txt pandoc -H content/preamble.tex --citeproc -o build/book.pdf ./config/.pandoc-config.yml --pdf-engine=xelatex
+# xargs -a ./content/toc.txt pandoc -H content/preamble.tex --citeproc -o build/book.pdf ./config/.pandoc-config.yml --pdf-engine=xelatex
+
+# Da pandoc 2.11.3 einen Bug mit einer Tabelle hat, muss ich lokal mit docker und pandoc 2.11.4 bauen
+
+docker run --rm -v $PWD:/data --entrypoint /bin/sh pandoc/latex:2.11.4 -c 'tlmgr install footmisc; /usr/bin/xargs -a ./content/toc.txt pandoc -H content/preamble.tex --citeproc -o build/book.pdf ./config/.pandoc-config.yml --pdf-engine=xelatex' \ No newline at end of file