正在处理以下源...
\documentclass{memoir}
\begin{document}
Hello.
\end{document}
... 使用该pdflatex-dev
命令现在会出现如下所示的错误:
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex-dev)
restricted \write18 enabled.
entering extended mode
(./memoir-stocksize-error.tex
LaTeX2e <2022-11-01> pre-release-2 (develop 2022-10-3 branch)
L3 programming layer <2022-09-28>
(/usr/local/texlive/2022/texmf-dist/tex/latex/memoir/memoir.cls
Document Class: memoir 2022/07/29 v3.7r configurable book, report, article docu
ment class
(/usr/local/texlive/2022/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/local/texlive/2022/texmf-dist/tex/generic/iftex/iftex.sty)
/usr/local/texlive/2022/texmf-dist/tex/latex/memoir/memoir.cls:409: LaTeX Error
: Command \stockheight already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.409 \newlength{\stockheight}
错误确实不是使用命令时发生pdflatex
。
pdflatex-dev
几周前没有发生过此错误。由于memoir
软件包的日期为 2022/07/29,因此错误似乎是由 pdflatex-dev 引起的。