Hi,
I don't think orderedlist with continuation will do what you want. I would
suggest using section elements with a role attribute to indicate these
special sections. If you don't want a title, then just insert an empty
title element in such sections. Then customize the XSL stylesheets to
generate a "title" that includes the label and number based on the role
value.
The customization can most easily be done to the mode="object.title.markup"
templates. These are used internally to generate the text for a section
title.
<xsl:template match="[EMAIL PROTECTED] = 'rec']" mode="object.title.markup">
<fo:block xsl:use-attribute-sets="special.section.title.attributes">
<xsl:text>REC-</xsl:text>
<!-- compute the number here using one or more xsl:number elements ==>
<!-- if you want the title of the special section, include this:
<xsl:apply-templates select="." mode="title.markup"/>
-->
</fo:block>
</xsl:template>
Add an attribute-set named "special.section.title.attributes" or some such,
and
put the formatting features in it.
Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]
----- Original Message -----
From: "Halm Reusser" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, October 23, 2008 8:47 AM
Subject: Re: [docbook] Auto numbering lists
Well, I was studying the documentation.
I found the orderedlist [1] with the continuation attribute.
It looks that this is the right direction to a simple solution.
The only open issue is, that I will have 2 independent lists in my
document.
The list of requirements and the list of recommendations, which should be
numbered
continuous but independent.
Can I give an ID/role to the list? Or something like that? Maybe I have to
adjust
the XSLs to reach my wishes :-)
Any helps is appreciated.
Halm
[1] http://www.sagehill.net/docbookxsl/Orderedlists.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]