I'm experiencing indexing problems with words located in my appendices (the index is okay with words from normal chapters). All page numbers given in the index (for words from the appendices) have an offset of 2 pages and I don't know why.
I'm using the book document class. Here's a tiny snippet of the preamble :
Code: Select all
\documentclass[12pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
Here's how I define my appendices in my main (master) LaTeX document :
Code: Select all
\backmatter
\appendix
\pagestyle{appendices}
\renewcommand\thesection{A.\arabic{section}}
\input{Appendices}
The page style is working great, so I don't think this is the source of the problem.
The
Appendices file begins like this :
Code: Select all
\chapter{Appendices}
\section{First appendix title}
Bla bla bla ... word\index{word}, bla bla bla ...
The problem is I'm yet unable to get the
word to be properly indexed : its page number is suffering an offset of two pages in the index !
Here's how the index itself is defined (with the makeidx package) :
Code: Select all
\cleardoublepage
\phantomsection
\pagestyle{index}
\printindex
According to the code snippets given above, is there something wrong to you, the pros out there ? After hours of messing with my code, I really don't understand what's going on ! Now, this is getting extremely frustrating !
