Match the TeX Live BibTeX line length on Windows
This commit is contained in:
1 parent
c9d8ab5522
commit
dcfa144f8e
1 file changed
+3
-1
@@ -56,8 +56,10 @@ def stage_bibtex(output, downloads):
|
|||||||
shutil.copyfileobj(source, target)
|
shutil.copyfileobj(source, target)
|
||||||
require_amd64_pe(output / name)
|
require_amd64_pe(output / name)
|
||||||
receipts[package] = {"revision": fields["revision"], "sha512": checksum}
|
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(
|
(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",
|
encoding="ascii",
|
||||||
)
|
)
|
||||||
return receipts
|
return receipts
|
||||||
|
|||||||
Reference in new issue
Block a user