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] Custom numbering scheme for a DocBook document (legal style stylesheet)


|  -----Original Message-----
|  From: NÚstor Amigo Cairo 
| 
|  But I am stuck because I cannot change the element xsl:number without
|  having to rewrite a new template from scratch.
|  
|  I would just like to change <xsl:number> element to have the 
|  attribute
|  "level=any" inside a <section> element.


You don't have to write a new template from scratch. You need to copy an
existing template to your customization layer and make a small modification
to it. In DocBook-XSL (and DBLaTeX too) it is the template with
match="section" and mode="label.markup" in common/labels.xsl. You need to
change

 <xsl:number format="{$format}" count="section"/>

to

 <xsl:number format="{$format}" count="section" level="any"/>

Mauritz




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