Menu

#463 Use gentext for orderedlist labels

output: all formats
open
nobody
None
5
2015-02-16
2015-02-16
No

The template match="d:orderedlist/d:listitem" mode="item-number" in the file common/common.xsl hard codes the values for the various types of orderedlist labels (arabic, loweralpha, upperalpha, lowerroman, and upperroman). The names are set by the standard, so they can't change without changing the standard. However, the values assigned to the labels could be changed to be locale specific. This template uses xsl:number, which can support a wider, locale-specific range of formats. However, xsl:number uses the format attribute (sometimes in conjunction with locale), rather than the locale.

I suggest that we consider assigning the values for these 5 types using gentext. If we did this, we probably would need to create a parameter to turn on this behavior, since this would change the current behavior in ways that might not be expected.

Also, doing this would let us address Feature Request 375, which asks for a way to change the delimiter (currently a dot) after the number, by giving it a gentext or parameter value, too.

Discussion