View Single Post
Old 04-10-2009, 03:35 PM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by WayneD View Post
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.
Sounds like a bug, I'd appreciate a test case.
kovidgoyal is offline   Reply With Quote