Miscellaneous script for my everyday usage.
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.

conv-pdf 217B

1234567
  1. #!/usr/bin/env zsh
  2. # Converts a Markdown into PDF using pandoc and a chosen template.
  3. # Arg 1: Template
  4. # Arg 2: Input file
  5. pandoc -i ${2} --template=${1} --from=markdown+raw_tex --pdf-engine=xelatex -o ${2%.*}.pdf