I use pdfTex and had a file with included graphics, by using
\input miniltx.tex
\input graphicx.tex
and all worked well.
Now I get a mistake like
! Forbidden control sequence found while scanning use of \@firstoftwo.
<inserted text>
\par
<to be read again>
\newdimen
l.558 \@ifundefined{stockwidth}{\newdimen
\stockwidth}{}
?
What is the use of \stockwidth and \stockheight and why are they not defined in /texlive/2022/texmf-dist/tex/latex/graphics-def/pdftex.def itself?
Edit: If pdftex.def says:
\@ifundefined{stockwidth}{\newdimen\stockwidth}{}
\@ifundefined{stockheight}{\newdimen\stockheight}{}
why is it not defined after this?
graphics-pln– David Carlisle Nov 10 '22 at 20:47