I have seen the issue with the TOC links all pointing to the first page as well. I've looked at the source file, and figured out that the issue is the Xpath chapter mark setting: when I set that option to "none", the issue is avoided.
When I looked at the source of my book, I see that there is a wrapping div that has the id that the link is expecting to use. (There is a page-break before this div in the css, btw.) However, when the chapter-mark setting is set to "page-break", it dumps the wrapping div that comes before the chapter header, but does not make a note that the lost ID is needed for a link.
|