I am using the package nomencl to generate a list of abbreviations. However, after a recent MiKTeX 2.9 update (using TeXnicCenter) I keep getting errors for the abbreviation items
LaTeX Error: Lonely \item--perhaps a missing list environment.
Unfortunately, I cannot figure out an MWE (the MWE that I tried do work, but the real document doesn't). So here is a shortened version of my main document (without all the other header stuff and bibliography):
\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}
However, if instead of including the chapters I simply try out an MWE with the same header and one abbreviation:
\begin{document}
\printnomenclature \newpage
This is my txt \abk{txt}{text}
\end{document}
then everything works fine. Any suggestions about the reason?
\inputinstead of\include. – Count Zero Dec 06 '11 at 15:14\includethen a minimal example involving\includeshould have been your first test. I've learned a lot more from building MWEs than I have from the answers I get when I find one that works (or doesn't) – Seamus Dec 07 '11 at 13:54