From: Michael Smith Date: Wed, 20 Feb 2008 11:42:45 +0000 (+0000) Subject: Added the man.funcsynopsis.style parameter. Has the same effect in X-Git-Tag: release/1.79.1~6^2~1525 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b37dddf580a822804d0702f733cdb43687af4783;p=docbook-dsssl Added the man.funcsynopsis.style parameter. Has the same effect in manpages output as the funcsynopsis.style parameter has in HTML output -- except that its default value is 'ansi' instead of 'kr'. --- diff --git a/xsl/manpages/param.ent b/xsl/manpages/param.ent index 7441d53ed..7d6671918 100644 --- a/xsl/manpages/param.ent +++ b/xsl/manpages/param.ent @@ -12,6 +12,7 @@ + diff --git a/xsl/manpages/param.xweb b/xsl/manpages/param.xweb index 46b683ff7..184cda5f3 100644 --- a/xsl/manpages/param.xweb +++ b/xsl/manpages/param.xweb @@ -53,6 +53,10 @@ &man.font.funcsynopsisinfo; &man.font.table.headings; &man.font.table.title; + + + SYNOPSIS section +&man.funcsynopsis.style; AUTHORS and COPYRIGHT sections @@ -159,6 +163,7 @@ + diff --git a/xsl/manpages/pi.xsl b/xsl/manpages/pi.xsl index c3e17632d..7b0975b83 100644 --- a/xsl/manpages/pi.xsl +++ b/xsl/manpages/pi.xsl @@ -65,7 +65,7 @@ - funcsynopsis.style + man.funcsynopsis.style diff --git a/xsl/manpages/synop.xsl b/xsl/manpages/synop.xsl index 0d4ebf642..6a8719683 100644 --- a/xsl/manpages/synop.xsl +++ b/xsl/manpages/synop.xsl @@ -249,7 +249,7 @@ - + diff --git a/xsl/params/man.funcsynopsis.style.xml b/xsl/params/man.funcsynopsis.style.xml new file mode 100644 index 000000000..0597087ba --- /dev/null +++ b/xsl/params/man.funcsynopsis.style.xml @@ -0,0 +1,26 @@ + + +man.funcsynopsis.style +list +ansi +kr + + +man.funcsynopsis.style +What style of funcsynopsis should be generated? + + +ansi + +Description +If man.funcsynopsis.style is +ansi, ANSI-style function synopses are +generated for a funcsynopsis, otherwise K&R-style +function synopses are generated. + +