I have used the Legrand Orange Template to produce a book or two and so far so good. I'm seriously impressed by the quality of the finished book layout etc.
I have just noticed a foible, and as my download of the template was some years ago, I've updated to the current one, but the foible remains.
Basically, if I use \mainmatter in the book contents, my indexes are incorrect, as follows:
- The TOC displays the correct page numbers and links correctly to the page in question.
- the index entries list the correct page number too, but link to the physical page rather than the actual one.
The index will show page 3 also, but will link to the page numbered iii which is the 3rd physical page in the completed book - and is slap bang in the middle of the TOC.
I have tested with and without \frontmatter, \mainmatter and \backmatter and the problem only occurs when \mainmatter is present.
I'm hopelessly inadequate at LaTeX I'm afraid, and while I've made a couple of changes to structure.tex to \usepackage{listings} and to set up defaults for the listings package, nothing much else has changed.
Any assistance gratefully received as I'd like to have my book in a "proper" format with roman numeral page numbering in the frontmatter etc. In the meantime, I need my indexes to work, so I've had to make do without the three \*matter commands.
Many thanks.
Cheers,
Norm.