I've investigated a bit, and found
<URL: 
http://stackoverflow.com/questions/1483396/how-to-explicitly-end-a-part-in-latex-with-hyperref
 >
and
<URL: http://www.latex-community.org/forum/viewtopic.php?f=5&t=2674 >
which both discuss the problem from the LaTeX side of things.

The casue of the behaviour I see is that the .tex file contain

\part{Final Part}

...

\chapter{chapter outside part}

And there is no code to "end" the final part at the point in the text
where the </part> tag is.

I can reproduce it using this latex fragment.  If I remove the lines
marked FIX, the last chapter is included in the Final Part block.

\documentclass{book}
\usepackage{bookmark,hyperref}
\begin{document}
\tableofcontents
\chapter{Chapter One}
\part{Part One}
\part{Final Part}
\chapter{Final Part Chapters}

\bookmarksetup{startatroot} % FIX - This one ends a \part

\chapter{Chapter not Part of Part}
\end{document}

Any idea how to adjust dblatex to work more like this?

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to