OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] RE: db5, chapter markup, xsl-fo processing


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
bobs@sagehill.net


----- Original Message ----- 
From: "Dave Pawson" <davep@dpawson.co.uk>
To: <rob.cavicchio@emc.com>
Cc: <docbook-apps@lists.oasis-open.org>
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
<rob.cavicchio@emc.com> 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.

regards DaveP


>
>
> > -----Original Message-----
> > From: Dave Pawson [mailto:davep@dpawson.co.uk]
> > Sent: Monday, February 07, 2011 3:10 AM
> > To: docbook-apps@
> > Subject: db5, chapter markup, xsl-fo processing
> >
> >
> > <chapter label='xxx'....
> >   <title> "title text"
> >
> > tdg says
> >
> > label    Specifies an identifying string for presentation purposes
> >
> > Bit vague?
> >  What I'm seeing in fo output is
> >
> > chapter heading as
> > Chapter xxx  "title text"
> >
> > I.e. the @label is inserted ... as a sort of chapter number?
> >
> > Is this a bug or an oddity?
> >
> >
> >
> > --
> >
> > regards
> >
> > --
> > Dave Pawson
> > XSLT XSL-FO FAQ.
> > http://www.dpawson.co.uk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail:
> docbook-apps-help@lists.oasis-open.org
>



-- 

regards

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

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]