Re: [docbook] ordered list in spanish format

From
Bob Stayton <>
Date
2012-03-19T17:01:55+00:00
ID
0fe501cd05f1$f923e9b0$6600a8c0@pazu
Thread
Re: [docbook] ordered list in spanish format


Hi,

You could customize the template that starts with 
this line in common/common.xsl:

 

<xsl:template match="orderedlist/listitem" 
mode="item-number">

That template generates the list item number and 
its format.  In that template the "type" 
variable specifies the number format with a ".", so you should be able to just 
replace the . with ) for your case.  It should work for both HTML and PDF 
outputs and their variants.

 

Bob Stayton
Sagehill Enterprises


 

 

  
----- Original Message ----- 

  
From: 
  Xabier 
  Bayon Garcia 

  
To:  
  

  
Sent: Monday, March 19, 2012 1:23 
AM

  
Subject: [docbook] ordered list in 
  spanish format

  

Hello,
  

  
I have one question regarding ordered lists in spanish. 

  

  
When I generate pdf, epub, html the ordered lists appear this way:

  

  
1. First object

  
2. Second object

  
3. ...

  
...

  

  

  
In spanish the correct one must appear this way:

  

  
1) First object

  
2) Second object

  
3) ...

  

  

  
How could I get this list format??

  

  

  

  
Thanks in advance.

  

  
Xabier Bayon Garcia <>