From: Michael Smith Date: Sat, 16 Feb 2008 21:57:31 +0000 (+0000) Subject: Implemented initial support for handling tabular K&R output of X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec7eb0171750b1d4bfbf21647afeca69e8ba9faa;p=docbook-dsssl Implemented initial support for handling tabular K&R output of funcprototype in manpages output. Accomplished by adding more templates to the intermediate HTML-to-roff stylesheet that the build uses to create the manpages/html-synop.xsl stylesheet. --- diff --git a/xsl/tools/xsl/build/html2roff.xsl b/xsl/tools/xsl/build/html2roff.xsl index c4dae3b9c..6fd04806c 100644 --- a/xsl/tools/xsl/build/html2roff.xsl +++ b/xsl/tools/xsl/build/html2roff.xsl @@ -17,9 +17,11 @@ ******************************************************************** --> - - - + + + + + @@ -54,4 +56,112 @@ .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 + + \h'-' + + + + + .fi + + + T} + + + T}: + + + +