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


 

 

Thanks, Bob. The part.autolabel parameter works as you described. I had been trying to turn the part.autolabel on by doing this:

 

      <xsl:param name="part.autolabel" select="1" />

 

 

When I should have been doing this:

 

 

      <xsl:param name="part.autolabel" select="'I'"></xsl:param>

 

Once again, thanks for your help.

 

Regards,

Jeff Powanda

 

 


From: Bob Stayton [mailto:bobs@sagehill.net]
Sent: Sunday, June 17, 2007 11:57 AM
To: Jeff Powanda; docbook-apps@lists.oasis-open.org
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:

 

 

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

From: Jeff Powanda

Sent: Friday, June 15, 2007 12:16 PM

Subject: [docbook-apps] numbering of book parts

 

I’d 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 it’s 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]