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] Formatting <variablelist>

The term element is handled by a simple template, but it doesn't have an attribute-set of its own.  You can customize this template from fo/lists.xsl to do whatever you like:
<xsl:template match="varlistentry/term">
    <xsl:call-template name="simple.xlink">
      <xsl:with-param name="content">
    <xsl:when test="not(following-sibling::term)"/> <!-- do nothing -->
      <!-- * if we have multiple terms in the same varlistentry, generate -->
      <!-- * a separator (", " by default) and/or an additional line -->
      <!-- * break after each one except the last -->
      <fo:inline><xsl:value-of select="$variablelist.term.separator"/></fo:inline>
      <xsl:if test="not($variablelist.term.break.after = '0')">
Bob Stayton
Sagehill Enterprises
----- Original Message -----
Sent: Wednesday, December 19, 2007 12:07 AM
Subject: [docbook-apps] Formatting <variablelist>

I'm customizing the format of the <variablelist> block for PDF output, but I didn't manage to change the style of the <term> child element.
Could anybody provide with me some hints on how to do that, or any code example?
Any help would be appreciated.

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.4/1189 - Release Date: 18/12/2007 21:40

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