summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Agarwal <mohit.agarwal@sky.com>2021-07-20 20:39:15 +0100
committerMohit Agarwal <mohit.agarwal@sky.com>2021-07-20 20:39:15 +0100
commit7c950571d832148bd50c0d41f4513ebd611f2681 (patch)
tree1ac172e817e1217b62d0d868fe6977d115145e42
parent119953c845e2b7db4db289d8c1a3c31774c91335 (diff)
Make debian compatible
-rwxr-xr-xcompile.sh7
1 files 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