命名法パッケージエラー: 孤立した \item - リスト環境が欠落している可能性があります

命名法パッケージエラー: 孤立した \item - リスト環境が欠落している可能性があります

私は略語のリストを生成するためにパッケージを使用していますnomencl。しかし、最近のMiKTeX 2.9アップデート(TeXnicCenterを使用)後、略語項目でエラーが発生し続けます。

LaTeX Error: Lonely \item--perhaps a missing list environment.

残念ながら、MWE がわかりません (試した MWE は機能しますが、実際のドキュメントは機能しません)。そこで、メイン ドキュメントの短縮版を以下に示します (その他のヘッダー情報や参考文献は除きます)。

\documentclass{scrartcl}
\usepackage[intoc]{nomencl} 
\let\abk\nomenclature   
\renewcommand{\nomname}{List of Abbreviations}
\let\OrgItem\item
\renewcommand\nompreamble{\renewcommand\item[1][]{\OrgItem[##1]\dotfill    
\hspace{\labelsep}}}    
\setlength{\nomitemsep}{-\parsep}   
\makenomenclature

\begin{document}
\printnomenclature \newpage
\include{Introduction}
\include{Methods}
\include{Results}
\end{document}

ただし、章を含める代わりに、同じヘッダーと 1 つの略語を持つ MWE を試してみます。

\begin{document}
\printnomenclature \newpage
This is my txt \abk{txt}{text}
\end{document}

すべて正常に動作します。理由について何かアドバイスはありますか?

答え1

問題は、略語の 1 つが 2 回定義されていることでした。重複した項目を削除した後、すべて正常に動作します。

関連情報