From 702b957c7faed467225d26fb8db20f19201903c5 Mon Sep 17 00:00:00 2001 From: Marc Plano-Lesay Date: Tue, 3 Aug 2021 14:21:58 +1000 Subject: [PATCH] Fix long file names latexrun doesn't properly parse LaTeX's output when the filename doesn't fit in a single line - see https://github.com/aclements/latexrun/issues/19. This forces it to use 480 as a max line length, effectively working around this issue. Fixes #50 --- run_lualatex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/run_lualatex.py b/run_lualatex.py index c8ccf62..7117b5f 100644 --- a/run_lualatex.py +++ b/run_lualatex.py @@ -54,6 +54,7 @@ env["TEXMFCNF"] = os.path.abspath("texmf/texmf-dist/web2c") env["TEXMFROOT"] = os.path.abspath("texmf") env["TTFONTS"] = ":".join(texinputs) +env["max_print_line"] = "480" os.mkdir("bin") shutil.copy(kpsewhich_file, "bin/kpsewhich")