Created
August 14, 2012 19:56
-
-
Save felixjung/3352272 to your computer and use it in GitHub Desktop.
LaTeX Typeset & View Command (hide log window preference)
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
# | |
# Decide what to do with the Latex & View log window | |
# | |
if not tmPrefs['latexKeepLogWin']: | |
if numErrs == 0 and viewer != 'TextMate': | |
eCode = 200 | |
else: | |
eCode = 0 | |
else: | |
eCode = 0 | |
print '</div></div>' # closes <pre> and <div id="commandOutput"> | |
# | |
# Some more code | |
# | |
sys.exit(eCode) | |
# | |
# End of File | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment