RE: [docbook-apps] Custom numbering scheme for a DocBook document(legal style stylesheet)

From
=?JRN-8859-1?P?@=F9stor?= Bmigo Dairo
Date
2010-10-19T09:56:39+00:00
ID
1287482183.1670.14.camel@ubuntu
Thread
RE: [docbook-apps] Custom numbering scheme for a DocBook document(legal style stylesheet)
Hello Mauritz,

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

I have tried it (your reply was really useful), but I get the same
output as if I didn't do any change. What am I doing wrong?

I have copied the stylesheet, modified it locally as you recommended and
executed the following command:

# dblatex estatutos.xml -p style.xsl -o estatutos.pdf

(style.xsl is the name of the custom stylesheet which is a copy of
common/labels.xsl)

I have tried both with <section> and <sect1>, with the same result,
which is getting no changes in the output PDF document.

> Mauritz

Thank you.

-- 
N矇stor Amigo Cairo -- www.aberi.org -- +34 687 967 481 (lu-vi, 9-13h)
Presidente de la Asociaci籀n por la Libertad de la Informaci籀n