You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
462 B

#!/bin/bash
#This script is used to compile md file using markdown
if [ "$2" = '' ]; then
out=${1/md/pdf}
else
out=$2
fi
pandoc $1 --pdf-engine=xelatex --lua-filter="$HOME"/typesetting/pandoc_lua_filters/scholarly-metadata.lua --lua-filter="$HOME"/typesetting/pandoc_lua_filters/author-info-blocks.lua --filter=pandoc-crossref --citeproc --bibliography=/home/aselimov/typesetting/references.bib --csl=/home/aselimov/typesetting/csl/els.csl -o $out