has the search path during format creation been changed?

Akira Kakuto kakuto at w32tex.org
Tue Apr 6 02:44:44 CEST 2021


On 2021/04/06 9:15, Norbert Preining wrote:
> So it doesn't look like that fmtutil is the culprit.

Strange!

I tested the system() in tlperl:

# perl mkfmt.pl
my $cmdl="pdftex -ini -translate-file=cp227.tcx -jobname=pdflatex -progname=pdflatex -etex pdflatex.ini <nul";
system($cmdl);

I created by running mkfmt.pl by tlperl, and made pdflatex.fmt
in a current directory.
I copied pdflatex.fmt into $TEXMF-VAR/web2c/pdftex, and removed
pdflatex.fmt in the current directory.

pdflatex test.tex
gives correctly

windows
True

So system() in tlperl is fine.

However, strangely,
fmtutil-sys --byfmt pdflatex

pdflatex test.tex
gives

unknown
False

In my case, texmf.cnf is only the distributed one.

Best,
Akira


More information about the tex-live mailing list.