strudel/paper/make.sh
2022-03-22 15:56:26 +00:00

16 lines
509 B
Bash
Executable File

#!/bin/bash
if [ -d "$HOME/.cabal/bin" ] ; then
PATH="$HOME/.cabal/bin:$PATH"
fi
# --template=templates/template.latex \
pandoc -s paper.md \
--from markdown+auto_identifiers --pdf-engine=xelatex --template latex-template.tex -V colorlinks --number-sections --citeproc --pdf-engine=xelatex \
--dpi=300 --bibliography strudel.bib -o paper.pdf
pandoc -s paper.md --filter filter.py --citeproc --bibliography strudel.bib \
-t markdown-citations -t markdown-fenced_divs \
-o paper-preprocessed.md