Created
April 29, 2014 13:33
-
-
Save jckantor/11400556 to your computer and use it in GitHub Desktop.
Texpad tpbuild script for latex standalone class to produce .png file. Useful for creating tikz figures.
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 | |
# Texpad build (.tpbuild) for standalone | |
pdflatex "$TEXPAD_ROOTFILE" | |
convert -density 300 "$TEXPAD_ROOTFILE_NO_EXT".pdf "$TEXPAD_ROOTFILE_NO_EXT".png | |
rm "$TEXPAD_ROOTFILE_NO_EXT".aux | |
rm "$TEXPAD_ROOTFILE_NO_EXT".log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment