[Petter Reinholdtsen]
> Any idea how to adjust dblatex to work more like this?

I found part of the solution, I believe.  Using the clues found in
<URL: 
http://tex.stackexchange.com/questions/12542/is-it-possible-to-add-chapter-after-a-few-parts-at-the-same-level-of-hierarch
 >,
I found a way to change the behaviour, at least.  By patching the
dblatex installation like this, I got _all_ chapters after the first
part to show up on the top level.

--- /usr/share/xml/docbook/stylesheet/dblatex/xsl/part.xsl.orig 2012-07-30 
23:22:59.000000000 +0200
+++ /usr/share/xml/docbook/stylesheet/dblatex/xsl/part.xsl      2012-08-01 
11:34:31.000000000 +0200
@@ -11,6 +11,7 @@
   <xsl:text>%&#10;</xsl:text>
   <xsl:call-template name="mapheading"/>
   <xsl:apply-templates/>
+  
<xsl:text>%&#10;\makeatletter\def\toclevel@chapter{-1}\makeatother%&#10;</xsl:text>
 </xsl:template>
 
 <xsl:template match="part/docinfo"/>

Not quite what I had in mind, but at least it gave me an idea where
the correct latex command should be inserted. :)

I also tried using "\bookmarksetup{startatroot}" and including the
bookmark module, but this made latex tell me that there was some
module conflict, and I do not know how to work around that.

-- 
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