From 7c950571d832148bd50c0d41f4513ebd611f2681 Mon Sep 17 00:00:00 2001 From: Mohit Agarwal Date: Tue, 20 Jul 2021 20:39:15 +0100 Subject: Make debian compatible --- compile.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compile.sh b/compile.sh index eda958a..568f286 100755 --- a/compile.sh +++ b/compile.sh @@ -1,5 +1,6 @@ ls -1 | grep target || mkdir target -pandoc paper.md -C --pdf-engine=xelatex -H formatting.tex -V fontsize:12pt -o target/paper.pdf -pandoc paper.md -C --css=https://mohit.uk/document.css -s -o target/paper.html -pandoc paper.md -C -s -o target/paper.docx +pandoc-citeproc --version || alias pandoc-citeproc='pandoc -C' +pandoc-citeproc paper.md --pdf-engine=xelatex -H formatting.tex -V fontsize:12pt -o target/paper.pdf +pandoc-citeproc paper.md -C --css=https://mohit.uk/document.css -s -o target/paper.html +pandoc-citeproc paper.md -C -s -o target/paper.docx #latexrun --latex-cmd xelatex paper.tex -- cgit v1.2.3