Open akiyks opened 3 hours ago
LaTeX2e pre-release-4 is to blame. I've reported it to https://github.com/latex3/latex2e/issues/1508.
In your example, the \theHsequencei
was illy defined.
\documentclass{article}
\usepackage{enumitem}
\newlist{sequence}{enumerate}{2}
\def\fooname{foo}
\newcounter{\fooname}
\show\theHsequencei
\show\theHfoo
\begin{document}
\end{document}
\show\theHsequencei
expected: ->\the \value {sequencei}
actual: ->\the \value {\enit@c \romannumeral \count@}
\show\theHfoo
expected: ->\the \value {foo}
actual: ->\the \value {\fooname}
MWE (works fine with pdflatex)
Building with pdflatex-dev ends up with this error:
Commenting out
\usepackage{hyperref}
can work around the error, but that wouldn't work for me.I'm sorry but I have no idea which of hyperref, enumitem or latex2e pre-release-4 is to blame.
Can you please have a look into this?