borisveytsman / nomencl

The nomenclature package can be used to generate and format a nomenclature using MakeIndex.
http://ctan.org/pkg/nomencl
8 stars 1 forks source link

Too many entries in nomenclature produce error #12

Closed benediktahrens closed 2 years ago

benediktahrens commented 2 years ago

The following MWE shows a problem with the nomencl package:

main.tex

\documentclass{memo-l}
\usepackage[refpage]{nomencl}
\makenomenclature

\begin{document}
\printnomenclature
\end{document}

(here, the file memo-l.cls is from https://www.ams.org/publications/ebooks/memoauthorpac)

main.nls

\begin{thenomenclature} 
\nomgroup{Symbols}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
%  \item [foo] \begingroup bar \nomeqref{0.0}\nompageref{1}
  %this last line yields "! Undefined control sequence. <argument> \list@fname"
\end{thenomenclature}

As mentioned in the comment of the file, compiling main.tex gives the following error:

! Undefined control sequence.
<argument> \list@fname 

l.7 \end{document}
benediktahrens commented 2 years ago

This error can be avoided by adding option notocbasic, as per https://tex.stackexchange.com/questions/654662/nomencl-error-undefined-control-sequence-argument-listfname. Closing.