Created
January 19, 2014 03:04
-
-
Save ats/8499989 to your computer and use it in GitHub Desktop.
Bare-bones TextMate command to run the current markdown file through pandoc with a hardcoded LaTeX template.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
name="$TM_FILENAME" | |
barename="${name%.*}" | |
pandoc --read=markdown -s $TM_FILEPATH --output=$TM_DIRECTORY/$barename.pdf --template=$TM_DIRECTORY/template-tufte.tex --latex-engine=xelatex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment