Match the TeX Live BibTeX line length on Windows

This commit is contained in:
gloamxun committed 2026-12-02 19:23:09 +08:00
1 parent c9d8ab5522
commit dcfa144f8e
1 file changed
+3 -1
+3 -1
View File
@@ -56,8 +56,10 @@ def stage_bibtex(output, downloads):
shutil.copyfileobj(source, target)
require_amd64_pe(output / name)
receipts[package] = {"revision": fields["revision"], "sha512": checksum}
# Match TeX Live's width so a wrapped bibliography comment stays a comment.
(output / "texmf.cnf").write_text(
"BIBINPUTS = .\nBSTINPUTS = .\nopenin_any = p\nopenout_any = p\nshell_escape = f\n",
"BIBINPUTS = .\nBSTINPUTS = .\nopenin_any = p\nopenout_any = p\nshell_escape = f\n"
"max_print_line = 79\n",
encoding="ascii",
)
return receipts