1#!/bin/bash 2 3if [ -d "$HOME/.cabal/bin" ] ; then 4 PATH="$HOME/.cabal/bin:$PATH" 5fi 6 7# --template=templates/template.latex \ 8 9pandoc -s demo.md \ 10 --from markdown+auto_identifiers --pdf-engine=xelatex --template tex/latex-template.tex -V colorlinks --number-sections \ 11 --citeproc --pdf-engine=xelatex \ 12 --dpi=300 -o demo.pdf 13 14pandoc -s demo.md --filter bin/code-filter.py \ 15 --citeproc \ 16 -t markdown-citations -t markdown-fenced_divs \ 17 -o demo-preprocessed.md