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] numbering of book parts


Hmm, it looks like the mode="division.number" has been obsoleted. It is defined, but never used by the stylesheets.
 
It is now implemented with parameters. The part.autolabel controls it, and its value can define the number format as well. 
See:
 
http://docbook.sourceforge.net/release/xsl/current/doc/fo/part.autolabel.html
 
If you are getting "1", then perhaps you set the parameter to that value to turn on part numbering?
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Friday, June 15, 2007 12:16 PM
Subject: [docbook-apps] numbering of book parts

Id like to use uppercase roman numerals for part numbers, which should be the default, but instead DocBook is using arabic numerals. Is this a defect in the stylesheet? It looks like fo\division.xsl correctly specifies a roman numeral for part numbers, but its not working:

 

<xsl:template match="part" mode="division.number">

  <xsl:number from="book" count="part" format="I."/>

</xsl:template>

 

Toolchain:

DocBook XSL 1.7.2.0

Saxon 6.5.3

FOP 0.93

 

Regards,

Jeff Powanda

 

 



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