strudel/paper/make.sh
2022-04-15 08:55:53 +01:00

18 lines
522 B
Bash
Executable File

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