When page numbering is configured to start after the toc (i.e., after-toc) in a prepress book, and the TOC is inserted using the toc macro, the page number of each index entry is 1 more than it should be if the the toc ends on a recto (facing) page. The converter is not accounting for the skipped verso page when computing the page number of an index entry.
Here's a reproducible example:
= Book Title
:doctype: book
:media: prepress
:toc: macro
toc::[]
== First Chapter
((apples))
== Second Chapter
((bananas))
[index]
== Index
This example must be used with a theme that configures the page numbering to start after the toc:
When page numbering is configured to start after the toc (i.e., after-toc) in a prepress book, and the TOC is inserted using the toc macro, the page number of each index entry is 1 more than it should be if the the toc ends on a recto (facing) page. The converter is not accounting for the skipped verso page when computing the page number of an index entry.
Here's a reproducible example:
This example must be used with a theme that configures the page numbering to start after the toc:
Here's what we expect to see:
Here's what we actually see: