Hi Andreas, Why not simply the attached patch? It seems to work here.
BTW, using bookmark fixes the section level, but the chapter numbering problem is still there: the chapter counter is absolute whatever in or out of a part. It also explains why the TOC does not indent chapter lines within or without a part. I think people can live with that, but it's just to say that latex has its own sectionning limitations that can be hardly overcome.
Regards, BGOn Sat, 04 Aug 2012 10:10:21 +0200, Andreas Hoenen <andr...@hoenen-terstappen.de> wrote:
Petter Reinholdtsen <p...@hungry.com> wrote:Btw, the links in the PDF document have changed for me with this change. Now they have red boxes around the clickable area when I view them in okular. Is this intended?No, unfortunately this means that the patch ignores the \hyperparam and \hyperparamadd settings. Thus let's give it a second try [1] (I'm new to the area of TeX expansion, I raelly wish TeX would be as easy to understand as Python is...) @Petter: Please let me know if it works for you. @BenoƮt: Please let me know if there is a better / more elegant solution. [1]
part_bookmark.patch
Description: Binary data