On Wed, 9 Feb 2011 09:03:48 -0800
"Bob Stayton" <[email protected]> wrote:

> Hi Dave,
> In the stylesheets, the code that generates the number labels is in
> common/labels.xsl, using mode="label.markup". See, for example, the
> template:
> 
> <xsl:template match="chapter" mode="label.markup">
> 
> Bob Stayton
> Sagehill Enterprises
> [email protected]
> 
> 
> ----- Original Message ----- 
> From: "Dave Pawson" <[email protected]>
> To: <[email protected]>
> Cc: <[email protected]>
> Sent: Wednesday, February 09, 2011 8:16 AM
> Subject: Re: [docbook-apps] RE: db5, chapter markup, xsl-fo processing
> 
> 
> On Wed, 9 Feb 2011 09:40:30 -0500
> <[email protected]> wrote:
> 
> > I asked this question not long ago on the "docbook" list:
> >
> > http://markmail.org/message/2xe65grhyv5jnpfj?q=label+list:org.oasis-open.lists.docbook
> 
> 
> Thanks Rob.
> From Bob
> "As far as the DocBook XSL stylesheets go, the @label attribute is
> treated as a manual override for the generated *number* for a section,
> table, figure, etc. It is just the number part, as in "1-1". "
> 
> 
> My problem is that this override isn't documented and I couldn't find
> the code in the stylesheets.
> 
> I have a requirement to put (lower case) Chapter X
> where x is the generated chapter number.
> #fail on all accounts ;-)
> 
> 
> Rethink called for.


I've reverted to numbering them, though is it reasonable to ask
for 'Chapter nnn' as a 'label', without using @label?

If you think so, I'll file an rfe.

Though the documentation for the param needs an explanation
of the override IMHO?

-- 

regards 

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to