I have a problem similar to the one in Appendices in PDF Outline appear as childs of last section

But the solution hasn't worked for me, and I even get errors when I try to \includepackage{bookmark}.

So the problems are:

  1. Appendices in the PDF outline appear as children of first appendix;

    enter image description here

  2. The PDF bookmark for the appendices points to the first two chapters;

  3. At the references/bibliography the headers are set with the previous chapter values;

I've been all day trying to solve this and I just gave up.

Could anyone please help me. I've posted a mini sample here: http://dl.dropbox.com/u/958361/The%20Problem.zip

1 Answer 1


You are loading hyperref too early. The problem occurs because you load it before fncychap. It goes away if you move hyperref after fncychap in the loading order in your style file.

hyperref should be loaded as latest package, with some exceptions, because it redefines a lot of macros of basic LaTeX and such used and redefined by other packages.

Regarding the exceptions, have a look at: Which packages should be loaded after hyperref instead of before.

  • Thank you @Stefan! Your answer worked for problem 1) and 2). I just had to had \phantomsection as suggested in link. But I still have problem 3) to solve. Could you help me with that to? Or it's better to do another post? Commented Nov 17, 2011 at 19:03
  • @AlexandreRodrigues: Yes, please don't post several different questions within one question. 3) is very probably because of starred headings which don't update the head marks. There are solutions for this on the site, I recommend browsing/searching before asking a new question.
    – Stefan Kottwitz
    Commented Nov 17, 2011 at 19:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .