I'm having trouble with the "newlistof" and memoir. Memoir documentation
says it emulates tocloft, but I can't get it to work.
Below is a minimal example. If I change the document class to article and
include tocloft, then it works as expected. If I change the document class
to memoir, whether or not I include tocloft, then it fails with "Undefined
control sequence \listofJamesA".
When I look in the log for the memoir version, it says "Package tocloft
[2008/07/23] emulated by memoir".
Ideas?
-----------
%%\documentclass{article}
%%\usepackage{tocloft}
\documentclass{memoir}
\newcommand{\jamesName}{List of James}
\newlistof{jamesA}{jamesB}{jamesC}
\begin{document}
\tableofcontents
\listofjamesA
\section{x}
\addcontentsline{jamesB}{section}{hi}
x
x
\end{document}
-----------
Thanks...
James