From: Michael Smith Date: Wed, 20 Feb 2008 16:49:45 +0000 (+0000) Subject: Changed HTML handling of K&R-style paramdef output. The parameter X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=880df4a72f6065a96cce961126c851ab4da45535;p=docbook-dsssl Changed HTML handling of K&R-style paramdef output. The parameter definitions are no longer output in a table (though the prototype still is). The reason for the change is that the kr-tabular-funcsynopsis-mode template was causing type data to be lost in the output parameter definitions. For example, for an instance like this: void *dataptr[] ... the brackets (indicating an array type) were being dropped. The easiest way to deal with the problem is to not try to chop up the parameter definitions and display them in table format, but to instead just output them as-is. May not look quite as pretty, but at least we can be sure no information is being lost... --- diff --git a/xsl/html/synop.xsl b/xsl/html/synop.xsl index 6dcfd6852..62e132ba6 100644 --- a/xsl/html/synop.xsl +++ b/xsl/html/synop.xsl @@ -349,7 +349,8 @@ paramdef ::= (#PCDATA|type|replaceable|parameter|funcparams)* + class="funcprototype-table" + >
@@ -364,14 +365,11 @@ paramdef ::= (#PCDATA|type|replaceable|parameter|funcparams)*
- - - padding-bottom: 1em - - -
+
+ +
+