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-tex 229B

12345678910
  1. #!/usr/bin/env zsh
  2. # Converts into tex with pandoc and the protocol template
  3. # Arg 1: Template
  4. # Arg 2: Input file
  5. DIR=$(pwd)
  6. cd ~/dev/pandoc
  7. stack exec pandoc -- -i ${DIR}/${2} --template=${1} -o ${DIR}/${2%.*}.tex
  8. cd ${DIR}