我有以下 MWE:
% -------------------------------------------------------
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{hyperref}
\usepackage{enumitem,enumitem-zref}
\begin{document}
\begin{enumerate}[start=34,label=(\arabic*),name=thelist]
\item stuff
\item more stuff \label{more stuff}
\item yet more
\end{enumerate}
The is \refitem{thelist,35} or \refitem{thelist{35}}
and this is also \refitem{more stuff}
\end{document}\endinput
% -----------------------------------------------------
编译后出现以下错误:
Undefined control sequence.
\zen@item@comma ->\begingroup \c@zenidx
Undefined control sequence.
<argument> \ifcsname Z@R@zen>\the \c@zenidx
You can't use `\endcsname' after \the.
<argument> ...e Z@R@zen>\the \c@zenidx \endcsname
Missing \endcsname inserted.
<to be read again>
...
Package zref: Property `zen@anchor,zen@currentlabelname' does not exist.
Package enumitem: name undefined.
我安装了 enumitem 和 enumitem-zref 包。这是 bug 吗?