File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Original file line number Diff line number Diff line change @@ -361,7 +361,8 @@ def make_dvi(self, tex, fontsize):
361
361
texfile = self .make_tex (tex , fontsize )
362
362
with Locked (self .texcache ):
363
363
self ._run_checked_subprocess (
364
- ["latex" , "-interaction=nonstopmode" , texfile ], tex )
364
+ ["latex" , "-interaction=nonstopmode" , "--halt-on-error" ,
365
+ texfile ], tex )
365
366
for fname in glob .glob (basefile + '*' ):
366
367
if not fname .endswith (('dvi' , 'tex' )):
367
368
try :
@@ -387,7 +388,8 @@ def make_dvi_preview(self, tex, fontsize):
387
388
if not os .path .exists (dvifile ) or not os .path .exists (baselinefile ):
388
389
texfile = self .make_tex_preview (tex , fontsize )
389
390
report = self ._run_checked_subprocess (
390
- ["latex" , "-interaction=nonstopmode" , texfile ], tex )
391
+ ["latex" , "-interaction=nonstopmode" , "--halt-on-error" ,
392
+ texfile ], tex )
391
393
392
394
# find the box extent information in the latex output
393
395
# file and store them in ".baseline" file
You can’t perform that action at this time.
0 commit comments