I am having trouble tracking down what I need to do in order to replace the page number from the standard Memoir \tableofcontents
.
Using the standard \tableofcontents
I get: (where 5 & 9 are page numbers)
1 Chapter....................... 5
2 Another Chapter.......... 9
And the goal is:
Chapter....................... 1
Another Chapter.......... 2
\renewcommand{\chapternumberline}[1]{}
I found will remove the chapter number from the left of the contents.
And \renewcommand{\cftchapterformatpnum}[1]{}
will allow me to modify the part number but I think I may be heading in the wrong direction? Possibly the command that describes the format and simply remove the page number and replace that section with the code that outputs the chapter number but I haven't had any luck identifying that.
\cft...
macros will help you since they are used after the\contentsline
is written to the.aux
and.toc
file. You must prevent that the page number is added to the.aux
file right from the start!