From: Michael Smith Date: Wed, 20 Feb 2008 07:00:18 +0000 (+0000) Subject: Reworked handling of K&R funcprototype output. It no longer relies X-Git-Tag: release/1.79.1~6^2~1526 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abf764dbca5dbe5aa41d9f3679877abcd8cec23f;p=docbook-dsssl Reworked handling of K&R funcprototype output. It no longer relies on the HTML kr-tabular templates, but instead just does direct transformation to roff. For K&R output, it displays the paramdef output in an indented list following the prototype. --- diff --git a/xsl/manpages/synop.xsl b/xsl/manpages/synop.xsl index f958c5513..0d4ebf642 100644 --- a/xsl/manpages/synop.xsl +++ b/xsl/manpages/synop.xsl @@ -237,60 +237,22 @@ - - - - - + - - + + - - - - - - - - - - - - - - - - - - - "░" - - "░" - - - - "░" - - "░" - - - - - - - @@ -313,9 +275,35 @@ " ( - + + + + + + + + " + + + + + + + + + + .sp + .RS + + + + + + + .RE + @@ -326,15 +314,47 @@ - + + ); + + + + ...); + + + void); - + ...); - + + + + + + + + + + + + + + , + + + ); + + + + + + + + @@ -346,6 +366,28 @@ + + + + .br + . + + + + + + + + " + + + + + ; + " + + + diff --git a/xsl/tools/xsl/build/html2roff.xsl b/xsl/tools/xsl/build/html2roff.xsl index 7c40481f4..dc20644a1 100644 --- a/xsl/tools/xsl/build/html2roff.xsl +++ b/xsl/tools/xsl/build/html2roff.xsl @@ -21,7 +21,6 @@ - @@ -56,123 +55,4 @@ .fi - - - - - .TS - - tab(:); - - - - - - - (void|varargs|paramdef) - l l l - - - . - - - - .TE - - - - - - not(paramdef) - .sp 1 - - - - - - - .TS - - tab(:); - - - - - (void|varargs|paramdef) - l l - - - . - - - - .TE - .sp 1 - - - - - - - - - - - 3 - - - - - - 1 - - - - - - - - 4 - 1 - - - - - 0 - 0 - T{ - - - .nf - . - - $man.font.funcprototype - - - - - - - " - - \h'-' - - - - - " - .fi - - - T} - - - T}: - - - -