summaryrefslogtreecommitdiff
path: root/compile.sh
diff options
context:
space:
mode:
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