![]() ![]() Which means that the expl3 that different versions of expl3 were detected. (LaTeX3) is dated, but in your TeX tree the files require (LaTeX3) The 元 programming layer in the LaTeX format The error message says (along these lines): ! LaTeX3 Error: Mismatched LaTeX support files detected. fmt file is not updated, thus frozen with an old version of LaTeX (with an old version of expl3 preloaded), and then when you update, the two different versions are incompatible. This error message was intentionally added mid-2020 after expl3 was integrated into the LaTeX kernel because it happens quite often that tlmgr generates the local. fmt file in the kpsewhich call, for example, pdflatex-dev.fmt and check for the two lines as above check that the output of the kpsewhich call returns only one line.check if you are using the correct kpsewhich call for the engine you are using.Then delete the file from the path that starts /home//.texlive (or /Users//Library if you're on Mac) and the problem should be gone! usr/local/texlive/2021/texmf-var/web2c/pdftex/pdflatex.fmt If you have two lines of output, looking like this: /home//.texlive2021/texmf-var/web2c/pdftex/pdflatex.fmt kpsewhich -all -engine=xetex xelatex.fmt if you are using XeLaTeX.kpsewhich -all -engine=luahbtex lualatex.fmt if you are using LuaLaTeX.kpsewhich -all -engine=pdftex pdflatex.fmt if you are using pdfLaTeX.I will update this answer when the cause is found out meanwhile these are the steps to solve the problem (which should occur at most when l3kernel is updated, which is not that often): TL DR It is still not quite clear why these local formats appear when updating, so there is no definitive solution so far. usr/local/texlive/2020/texmf-var/web2c/pdftex/pdflatex.fmt When I did that, it output /Users//Library/texlive/2020/texmf-var/web2c/pdftex/pdflatex.fmt ![]() (with eg kpsewhich -all -engine=pdftex pdflatex.fmt) The original solution has a comment by Ulrike Fischer toĬheck if you have some local formats around which hide the system formats. ![]() Is there a way to make TeX Live use the correct formats permanently so that I don't have to keep running fmtutil-user -all after every TeX Live update? ProblemĮvery time I update TeX Live, I have to apply the solution again. I don't know what this tells me, but my TeX Live preferences has TeX programs set at /Library/TeX/texbin, which seems to be a link to /usr/local/texlive/2020/bin. It spewed out a load of stuff, then output fmtutil : log file copied to: /Users//Library/texlive/2020/texmf-var/web2c/luatex/dvilualatex.logįmtutil : /Users//Library/texlive/2020/texmf-var/web2c/luatex/dvilualatex.fmt installed. As far as I understand it (which isn't very far), there are system formats and local formats, and TeX Live is updating the wrong one. I found a solution at Mismatched LaTeX support files detected. LaTeX3 Error: Mismatched LaTeX support files detected. I updated my TeX Live installation on my Mac a while ago and got the error ![]()
0 Comments
Leave a Reply. |