From 00a3d900e1ab73cd473a5dafb4c980a2e27185c6 Mon Sep 17 00:00:00 2001 From: Axel Dürkop Date: Wed, 10 Feb 2021 20:20:40 +0100 Subject: Add Docker command --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3