Possible Duplicate:
Problem with the numeration appearing in the table of contents
Index is incorrectly listed in the table of contents

I am using


I added entry of index in ToC with


This way I can get entry of Index in ToC, how ever page number it is printing is one less than actual page number.

How to get correct page number?

marked as duplicate by lockstep, egreg, Paulo Cereda, yo', Joseph Wright May 5 '12 at 20:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Solution I: Prepend \addcontentsline with \clearpage (or \cleardoublepage in twoside and openright):


Solution II: Use the tocbibind package that manages automatic inclusion of Table of Contents, Index, Bibliography, ... into the Table of Contents. The package behaviour can be controlled by some parameters, see the documentation at the link above.

  • tocbibind produces right page number in toc, but it links Index to the previous chapter. – Anton Petrunin Feb 7 '13 at 19:00
  • @AntonPetrunin The package has [chapter] option that solves this issue. – yo' Feb 7 '13 at 19:17
  • \usepackage[chapter]{tocbibind} did not work for me – Anton Petrunin Dec 16 '18 at 18:03

Add the following to your document preamble:


This inserts your contents-related entry as part of the last things before the index is actually printed.

  • It gives wrong page number and makes link to the last chapter before Index. – Anton Petrunin Feb 7 '13 at 18:58
  • 1
    @AntonPetrunin: I get the correct page number when using a small MWE. If you're using hyperref, you should add \phantomsection before \addcontentsline. – Werner Feb 7 '13 at 19:30

Not the answer you're looking for? Browse other questions tagged or ask your own question.