summaryrefslogtreecommitdiff
path: root/compile.sh
diff options
context:
space:
mode:
authorMohit Agarwal <mohit.agarwal@sky.com>2021-07-14 21:00:12 +0100
committerMohit Agarwal <mohit.agarwal@sky.com>2021-07-14 21:00:12 +0100
commit6edf1f66f23ae63581d926ba40c76d5b1c29323f (patch)
treedfaba9764a787a6713016de68040efe390e77c81 /compile.sh
parent0c899387cf3e3df1c432290368eaef0c92ea221b (diff)
Change to pandoc
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh
index a63872c..c6a7a1f 100755
--- a/compile.sh
+++ b/compile.sh
@@ -1 +1,4 @@
-latexrun --latex-cmd xelatex paper.tex&
+ls -1 | grep target || mkdir target
+pandoc paper.tex -C --bibliography=reference.bib --pdf-engine=xelatex -H formatting.tex -V fontsize:12pt -o target/paper.pdf
+pandoc paper.tex -C --bibliography=reference.bib --css=https://mohit.uk/document.css -s -o target/paper.html
+#latexrun --latex-cmd xelatex paper.tex