File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 except :
5252 warnings .warn ('error getting fonts from fc-list' , UserWarning )
5353
54-
54+
5555_luatex_version_re = re .compile (
5656 'This is LuaTeX, Version (?:beta-)?([0-9]+)\.([0-9]+)\.([0-9]+)'
5757)
@@ -66,7 +66,7 @@ def get_texcommand():
6666
6767def _get_lualatex_version ():
6868 """Get version of luatex"""
69- output = check_output (['lualatex' , '--version' ])
69+ output = subprocess . check_output (['lualatex' , '--version' ])
7070 return _parse_lualatex_version (output .decode ())
7171
7272
@@ -1157,7 +1157,9 @@ def _run_latex(self):
11571157 os .path .basename (self ._fname_tex ),
11581158 ]
11591159 try :
1160- check_output (cmdargs , stderr = subprocess .STDOUT , cwd = self ._tmpdir )
1160+ subprocess .check_output (
1161+ cmdargs , stderr = subprocess .STDOUT , cwd = self ._tmpdir
1162+ )
11611163 except subprocess .CalledProcessError as e :
11621164 raise RuntimeError (
11631165 "%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