Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index entry page numbering is incorrect when TOC is long #6

Open
turtlegraphics opened this issue Jan 3, 2021 · 0 comments
Open

Index entry page numbering is incorrect when TOC is long #6

turtlegraphics opened this issue Jan 3, 2021 · 0 comments

Comments

@turtlegraphics
Copy link

When the table of contents exceeds two pages (and therefore goes from 2 to 4 pages total), the page numbers and hyperlinks for index entries are off by two pages.

To reproduce this, clone this repo and then add enough section headings to grow the TOC. I put about 60 level-two headings into chapter 2 to accomplish this.

Then observe that the index entries for "bookdown" and "knitr" are incorrect by two pages - the same two pages that the TOC gained. The index entry for "FOO" is correct because the \mainmatter command restarts the page numbering. However, for a book without a frontmatter mainmatter split, the index page numbers are wrong for the entire book.

I can't tell if this is a problem with krantz.cls or with bookdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant