diff --git a/desktop/build-windows-backend.py b/desktop/build-windows-backend.py index cf38577..35b8c92 100644 --- a/desktop/build-windows-backend.py +++ b/desktop/build-windows-backend.py @@ -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