]> granicus.if.org Git - docbook-dsssl/commit
Added support for processing funcparams (closes #1213166; thanks
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 2 Jun 2005 06:58:00 +0000 (06:58 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 2 Jun 2005 06:58:00 +0000 (06:58 +0000)
commit5e823068d8936b4d298a766558c69057f45f6756
tree7ce89b8961446251161fc2edccf882618363e99d
parentf92697ba1fc816cc75da7127f00e07e4e1811674
Added support for processing funcparams (closes #1213166; thanks
to Barry Rountree for reporting).

::PROBLEM::
The funcparams element was not being processed as expected.

::CAUSE::
No logic existed in manpages stylesheets for handling funcparams.

::FIX::
Fixed by taking old code for handling of funcprototype and
children, and replacing it with code ported over from HTML
templates for ANSI-style output.

::AFFECTS::
This change affects handling of all funcprototype output. Along
with adding support for funcparams, the following changes were
also made:

  - removed the space that was being output between funcdef and
    paramdef; example:

      was: float rand (void);
      now: float rand(void);

  - turned off bold formatting for the <type> element when it
    occurs within a funcdef or paramdef

  - moved space -> nobreak-space replacement logic into a separate
    template (for potential re-use elsewhere if we need it)

::TODO::
We need to add an option for K&R style funcprototypes.
See #1213277.

  http://sourceforge.net/tracker/index.php?func=detail&aid=1213277&group_id=21935&atid=516914
xsl/manpages/general.xsl
xsl/manpages/synop.xsl