]> granicus.if.org Git - docbook-dsssl/commit
Added two new parameters for handling of multi-term varlistentry
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 28 Sep 2005 09:36:46 +0000 (09:36 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 28 Sep 2005 09:36:46 +0000 (09:36 +0000)
commitca852ca635307d67467719dc03e02fde066db670
treedca9f397fd2ba02f0f9852f6d2a7a79d59944db1
parentb1a2c3f3cb702efd418683de81f172a5ab1c1e41
Added two new parameters for handling of multi-term varlistentry
elements:

variablelist.term.break.after:
  When the variablelist.term.break.after is non-zero, it will
  generate a line break after each term multi-term varlistentry.

variablelist.term.separator:
  When a varlistentry contains multiple term elements, the string
  specified in the value of the variablelist.term.separator
  parameter is placed after each term except the last. The default
  is ", " (a comma followed by a space). To suppress rendering of
  the separator, set the value of variablelist.term.separator to
  the empty string ("").

These parameters are primarily intended to be useful if you have
multi-term varlistentries that have long terms.

Closes #1306676. Thanks to Sam Steingold for providing an example
"lots of long terms" doc that demonstrated the value of having
these options.

Also, added normalize-space() call to processing of each term.

This change affects all output formats (HTML, PDF, manpages). The
default behavior should pretty much remain the same as before, but
it is possible (as always) that the change may introduce some new
bugginess.
xsl/fo/lists.xsl
xsl/fo/param.ent
xsl/fo/param.xweb
xsl/html/lists.xsl
xsl/html/param.ent
xsl/html/param.xweb
xsl/manpages/lists.xsl
xsl/manpages/param.ent
xsl/manpages/param.xweb
xsl/params/variablelist.term.break.after.xml [new file with mode: 0644]
xsl/params/variablelist.term.separator.xml [new file with mode: 0644]