Document Classesmemoir | Page Numbering in ToC

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
wear_a_helmet
Posts: 1
Joined: Mon Jun 06, 2011 1:48 pm

memoir | Page Numbering in ToC

Post by wear_a_helmet »

Hi everyone.

The issue that I am having is that the page numbers appearing in my TOC do not correspond with the actual pages on which the section/chapter is found. The problem occurs in the mainmatter, as well as in the backmatter. It gets progressively less accurate the further you go. At the end, it is off by about 20 pages. It starts getting things wrong from as early as page 11.

I have extensively searched online already before posting. Did find the this thread, but I am not using the \addcontentsline command anywhere (I removed it, just be sure).

A few sections are unnumbered (e.g.: \section*{Method}), but like I said, these are not added to the TOC with a addcontentsline command.

Any help will be much appreciated.

My code is the standard TOC, no options added:

Code: Select all

\setcounter{tocdepth}{1}
\tableofcontentssure

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Yury_d
Posts: 4
Joined: Mon Jul 25, 2011 5:34 am

Re: memoir | Page Numbering in ToC

Post by Yury_d »

I know this sounds kinda silly, but did you try processing your document again? Table of Contents and lists of various types need your documents to be run a second time(sometimes third) to iron out all the page numbering issues.
Post Reply