From 6edf1f66f23ae63581d926ba40c76d5b1c29323f Mon Sep 17 00:00:00 2001 From: Mohit Agarwal Date: Wed, 14 Jul 2021 21:00:12 +0100 Subject: Change to pandoc --- compile.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'compile.sh') 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 -- cgit v1.2.3