currfile 和 enumitem 之间不兼容?

currfile 和 enumitem 之间不兼容?

下面的 MWE 得出:

     Missing number, treated as zero.
     <to be read again> 
                       enit@cv@currfiledepth 
          \item
         testing.    

列表itemizeenumerate列表很好。

如果我删除\usepackage[realmainfile]{currfile}\setlist{leftmargin=*},一切正常,但我将它们保留在那里的原因如链接的问题中所述。

参考:

代码:

\documentclass{article}

%% https://tex.stackexchange.com/questions/68684/corrupted-texlive2012-installation-option-clash-for-currfile
\usepackage[realmainfile]{currfile}

\usepackage{enumitem}

%% https://tex.stackexchange.com/questions/21669/enumitem-itemize-environment-shifts-text-into-margin-or-overlaps-other-text
\setlist{leftmargin=*}

\begin{document}
    \begin{itemize}%    This does not work!!
        \item testing.
    \end{itemize}
    \begin{enumerate}% This works fine.
        \item testing.
    \end{enumerate}
\end{document}

相关内容