I have a simple TeX document test.tex
\documentclass[12pt,a4paper]{memoir}
\begin{document}
This is a test
\end{document}
If I run pdflatex test.tex in Fedora 37, it works fine:
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./test.tex LaTeX2e <2020-10-01> patch level 4 L3 programming layer <2021-05-07> (/usr/share/texlive/texmf-dist/tex/latex/memoir/memoir.cls Document Class: memoir 2021/03/23 v3.7o configurable book, report, article docu ment class (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty) (/usr/share/texlive/texmf-dist/tex/latex/memoir/mem12.clo) (/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/dcolumn.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/delarray.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/tabularx.sty) (/usr/share/texlive/texmf-dist/tex/latex/textcase/textcase.sty)) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) (./test.aux) [1{/usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map }] (./test.aux) )</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/ cmr12.pfb> Output written on test.pdf (1 page, 9544 bytes). Transcript written on test.log.
But, if I run the same command if Fedora 38-beta, I get the following error
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./test.tex LaTeX2e <2022-06-01> patch level 5 L3 programming layer <2022-12-17> ! Use of @tempa doesn’t match its definition. u ndefined l.2
?
Any help is appreciated. Thank you very much
On Thu, Apr 13, 2023 at 11:25 AM Rafel Amer rafel.amer@upc.edu wrote:
I have a simple TeX document test.tex
\documentclass[12pt,a4paper]{memoir}
\begin{document}
This is a test
\end{document}
But, if I run the same command if Fedora 38-beta, I get the following error
I am experiencing the same issue on my Fedora 38, but I was not able to find out why. I tried to downgrade the memoir package and the result was the same.
I think the problem is in the file (I don't know where) /usr/share/texlive/texmf-dist/tex/latex/base/latex.ltx because if I replace this file with the same file distributed with TeXLive 2023 and regenerate the formats pdflatex and lualatex, then the commands ~$ pdflatex test.tex and ~$ lualatex test.tex work. The give some warnings, but the output PDF files are OK
Hi! I have applied the patch
--- latex.ltx 2023-04-13 18:00:51.004455802 +0200 +++ /usr/share/texlive/texmf-dist/tex/latex/base/latex.ltx 2023-04-13 18:07:50.797322996 +0200 @@ -15798,6 +15798,8 @@ @maxdepth = \maxdepth \newdimen\paperheight \newdimen\paperwidth +\newdimen\stockheight +\newdimen\stockwidth \newif \if@insert \newif \if@fcolmade \newif \if@specialpage @specialpagefalse and generated again the formats pdflatex and lualatex and now it works fine.
The patch is to add two lines to the file /usr/share/texlive/texmf-dist/tex/latex/base/latex.ltx
Best regards, Rafel Amer