[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Page X of Y in user.footer.navigation
Thanks a lot. It works! Diane Larin Mauritz Jeanson wrote: 000301c89431$68f823a0$71ea1a51@D7MZ171J" type="cite">-----Original Message----- From: Diane Larin Some years ago, Bob Stayton sent me a piece of code to allow the display of the string "page X of Y" at the bottom of each chunk (see exchanges below). It worked perfectly. At that time I was using docbook-xsl-1.68.1 but since then I did regular updates and I am now using docbook-xsl-1.73.2. I have been asked to update the old document for which this special footer is needed but the output is no longer the one desired: I obtain page of 0 at the bottom of each page. I don't know which update broke the compatibility and I have problem understanding what I should modify. It seems the following lines are no longer processed correctly: <!-- Turn the chunk hierarchy into a node-set --> <xsl:variable name="mychunks" select="exsl:node-set($mychunk.hierarchy)//div"/>The chunkfast divs are now in a special namespace (see chunk-code.xsl), so you have to change the above variable to <xsl:variable name="mychunks" select="exsl:node-set($mychunk.hierarchy)//cf:div" xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0"/> /MJ |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]