Document Classes ⇒ Table of contents links to itself
Table of contents links to itself
I am preparing a long (300+ pages) document using the memoir class. Obviously it needs a table of contents, but until today I didn't try to use the \tableofcontents command. Now that I have done so it does a good job _except_ that it starts with a link to itself, i.e. as well as the header "Contents", which is OK, it has another line that says "Contents .... .... 2", and as the reader is already on p. 2 there is no point in that, but I can't find any way to suppress it.
Table of contents links to itself
According to page 151 of the memoir manual, the \tableofcontents command adds itself to the table of contents, but the starred version \tableofcontents* does not. I assume it's accurate, but am too lazy to test right now.
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Table of contents links to itself
As frabjous already pointed out, it is quite gainful to consult the concerned manual if a problem occurs with a special class or package. Manuals are not only for decoration or filling disk space.
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: Table of contents links to itself
Thanks. Adding the * works fine.
Sorry about the manual: I was looking in the wrong manual, as it didn't occur to me that this was something specific to the class memoir.
Sorry about the manual: I was looking in the wrong manual, as it didn't occur to me that this was something specific to the class memoir.