Closed rm-dr closed 10 months ago
The following lines of latex.ltx
in the zip bundle seem to be causing an issue: \
(These are lines 10582-10601, the first line after \ifx
triggers the error above)
\ifx \Umathcode\@undefined \else
\DeclareTextCommand{\textzerooldstyle} \UnicodeEncodingName{\oldstylenums{0}}
\DeclareTextCommand{\textoneoldstyle} \UnicodeEncodingName{\oldstylenums{1}}
\DeclareTextCommand{\texttwooldstyle} \UnicodeEncodingName{\oldstylenums{2}}
\DeclareTextCommand{\textthreeoldstyle}\UnicodeEncodingName{\oldstylenums{3}}
\DeclareTextCommand{\textfouroldstyle} \UnicodeEncodingName{\oldstylenums{4}}
\DeclareTextCommand{\textfiveoldstyle} \UnicodeEncodingName{\oldstylenums{5}}
\DeclareTextCommand{\textsixoldstyle} \UnicodeEncodingName{\oldstylenums{6}}
\DeclareTextCommand{\textsevenoldstyle}\UnicodeEncodingName{\oldstylenums{7}}
\DeclareTextCommand{\texteightoldstyle}\UnicodeEncodingName{\oldstylenums{8}}
\DeclareTextCommand{\textnineoldstyle} \UnicodeEncodingName{\oldstylenums{9}}
\DeclareTextSymbol{\textpilcrow} \UnicodeEncodingName{"00B6}
\DeclareTextSymbol{\textborn} \UnicodeEncodingName{"002A}
\DeclareTextSymbol{\textdied} \UnicodeEncodingName{"2020}
\DeclareTextSymbol{\textlbrackdbl} \UnicodeEncodingName{"27E6}
\DeclareTextSymbol{\textrbrackdbl} \UnicodeEncodingName{"27E7}
\DeclareTextSymbol{\textguarani} \UnicodeEncodingName{"20B2}
\DeclareTextSymbol{\textdollaroldstyle}{TS1}{138}
\DeclareTextSymbol{\textcentoldstyle} {TS1}{139}
\fi % --- END of Unicode engines specials
I removed these lines and built all my documents using the new bundle. Everything worked.\ (Of course, maybe removing those lines broke a feature I've never used.)
diff
says that the latex.ltx
in the repo and the latex.ltx
in the currently active tarball are identical.
I forked this repo, reworked the build process, and built a bundle from texlive2023.0r0
without any patches. It worked. Maybe the patches for tl2022 are bad?
I'm trying to build a set of texlive bundles using the documented commands:
I'm building against Texlive 2022 (
tags/texlive-2022.0
in the git repo)They all complete successfully, but tectonic refuses to compile latex documents using the bundle. With the V2 interface, the following
Texlive.toml
works:And the one below doesn't, failing with the following error.
test/formats.py
also fails for the same reason.I'm using tectonic
0.14.1
. What's going on?