I don't know why, but LyX does set wrong bookmarks in the PDF file. Let's say the structure of the LyX file is as follows:
- part 0
- part 1
-- chapter 1.1
-- chapter 1.2
- part 2
- part 3
-- chapter 3.1
-- chapter 3.2
However, if I want to navigate the resulting PDF document via the automatically generated bookmarks, then clicking on part 1 sends me to part 0, and the part 2 bookmark leads to chapter 1.2.
I did some research. In LaTeX, people recommend loading hyperref at the very end of the header because otherwise its settings could be overwritten by other modules. In LyX, however, this isn't an option. I tried shuffling around the order in which modules are called in the source file, but this had no effect.
Does anyone of you have any idea of how to fix it --- apart from telling me to switch to LaTeX?
