fix latex generation caused by bug in patch

This commit is contained in:
dae 2014-06-03 17:35:19 +09:00
parent 85488afb8f
commit 8cdfce4dd8

View file

@ -95,6 +95,7 @@ package in the LaTeX header instead.""") % bad
png = namedtmp("tmp.png")
try:
# generate png
os.chdir(tmpdir())
for latexCmd in latexCmds:
if call(latexCmd, stdout=log, stderr=log):
return _errMsg(latexCmd[0], texpath)