Skip to content

Commit

Permalink
Fix long file names
Browse files Browse the repository at this point in the history
latexrun doesn't properly parse LaTeX's output when the filename doesn't
fit in a single line - see
aclements/latexrun#19. This forces it to use
MAX_INT as a max line length, effectively leaving the line-wrapping job
up to the terminal (which should be its responsibility, not LaTeX's),
and works around this issue.

Fixes ProdriveTechnologies#50
  • Loading branch information
Kernald committed Aug 3, 2021
1 parent 48bc8b9 commit d9b9b05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run_lualatex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = "2147483647"

os.mkdir("bin")
shutil.copy(kpsewhich_file, "bin/kpsewhich")
Expand Down

0 comments on commit d9b9b05

Please sign in to comment.