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] Preface sub sections not formatting as Roman Numerals


Bob Stayton wrote:
> This would require a customization of the template named 
> "autolabel.format" which can be found in common/labels.xsl.  That 
> template uses an xsl:choose to compute the format string based on the 
> parameter values.  You could customize it by adding an extra xsl:when 
> condition:
>
>  ...
>  <xsl:choose>
>    <xsl:when test="string($format) != 0">
>      <xsl:choose>
>        <xsl:when test="ancestor::preface and $preface.autolabel = 
> 'I'">I</xsl:when>  <!-- == new == -->
>        <xsl:when test="string($format)='arabic' or 
> $format='1'">1</xsl:when>
>        ...
>
> I added the first xsl:when to select "I" when the ancestor is preface.

Thanks, Bob, I figured it was going to be customization, just wasn't 
sure where I need to set it.

Dave




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