[prestest] Message about path not found (windows)
Siep Kroonenberg
siepo at bitmuis.nl
Sun Mar 5 15:09:17 CET 2023
On Sat, Mar 04, 2023 at 05:26:32PM -0700, Karl Berry wrote:
> Hi Uwe,
>
> Das System kann den angegebenen Pfad nicht finden. (*)
>
> Thanks for the report.
>
> Surely about the new context regenerations, based on the point where
> it's occurring (between mktexlsr and updmap-sys), but I don't know what
> to do about it. What tlmgr and install-tl do is this:
>
> my $lmtx = "$bindir/luametatex";
> if (defined($localtlpdb->get_package('context'))
> && (-x "$lmtx" || -x "$lmtx.exe")
> && TeXLive::TLUtils::system_ok("$lmtx --version")
> ) {
> $errors += do_cmd_and_check("mtxrun --generate");
> $errors += do_cmd_and_check("context --luatex --generate");
>
> In other words, if (a) the context package is installed (presumably yes,
> for you), and (b) the luametatex[.exe] file is present and executable,
> and (c) it can actually be run, then (and only then) run ConTeXt's two
> --generate commands (both those scripts end up running the luametatex binary).
Somehow, luametatex --version fails under windows, although not from the
command-line. I propose to stupidly exempt windows from this test:
&& (wndws() || TeXLive::TLUtils::system_ok("$lmtx --version"))
--
Siep Kroonenberg
More information about the tex-live
mailing list.