File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 51
51
except :
52
52
warnings .warn ('error getting fonts from fc-list' , UserWarning )
53
53
54
-
54
+
55
55
_luatex_version_re = re .compile (
56
56
'This is LuaTeX, Version (?:beta-)?([0-9]+)\.([0-9]+)\.([0-9]+)'
57
57
)
@@ -66,7 +66,7 @@ def get_texcommand():
66
66
67
67
def _get_lualatex_version ():
68
68
"""Get version of luatex"""
69
- output = check_output (['lualatex' , '--version' ])
69
+ output = subprocess . check_output (['lualatex' , '--version' ])
70
70
return _parse_lualatex_version (output .decode ())
71
71
72
72
@@ -1157,7 +1157,9 @@ def _run_latex(self):
1157
1157
os .path .basename (self ._fname_tex ),
1158
1158
]
1159
1159
try :
1160
- check_output (cmdargs , stderr = subprocess .STDOUT , cwd = self ._tmpdir )
1160
+ subprocess .check_output (
1161
+ cmdargs , stderr = subprocess .STDOUT , cwd = self ._tmpdir
1162
+ )
1161
1163
except subprocess .CalledProcessError as e :
1162
1164
raise RuntimeError (
1163
1165
"%s was not able to process your file.\n \n Full log:\n %s"
You can’t perform that action at this time.
0 commit comments