##// END OF EJS Templates
Use batchmode in latex_to_png_dvipng...
Thomas Kluyver -
Show More
@@ -134,8 +134,8 b' def latex_to_png_dvipng(s, wrap):'
134
134
135 with open(os.devnull, 'w') as devnull:
135 with open(os.devnull, 'w') as devnull:
136 subprocess.check_call(
136 subprocess.check_call(
137 ["latex", "-halt-on-error", tmpfile], cwd=workdir,
137 ["latex", "-halt-on-error", "-interaction", "batchmode", tmpfile],
138 stdout=devnull, stderr=devnull)
138 cwd=workdir, stdout=devnull, stderr=devnull)
139
139
140 subprocess.check_call(
140 subprocess.check_call(
141 ["dvipng", "-T", "tight", "-x", "1500", "-z", "9",
141 ["dvipng", "-T", "tight", "-x", "1500", "-z", "9",
General Comments 0
You need to be logged in to leave comments. Login now