From: Michael Smith Date: Tue, 12 Jul 2005 13:51:44 +0000 (+0000) Subject: Boldface everything in Funcsynopsis output except params. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a509a6d3d25d647fa363ffacbb45b9dae47ed41e;p=docbook-dsssl Boldface everything in Funcsynopsis output except params. Closes #1236641. The man(7) man page says: For functions, the arguments are always specified using italics, even in the SYNOPSIS section, where the rest of the function is specified in bold: A look through the contents of the man/man2 directory shows that most (all) existing pages do follow this "everything in bold" rule. That means the content and any punctuation (parens, semicolons, varargs) also must be bolded. --- diff --git a/xsl/manpages/synop.xsl b/xsl/manpages/synop.xsl index edd1210eb..0709d23cf 100644 --- a/xsl/manpages/synop.xsl +++ b/xsl/manpages/synop.xsl @@ -140,6 +140,8 @@ + + @@ -170,21 +172,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + .HP - + + + - ( + + ( + + - + + + + + + @@ -192,23 +230,39 @@ - void); + + void); + + - ...); + + ...); + + - - - - , - - - ); - - + + + + + + + + + + + , + + + ); + + + + + @@ -216,21 +270,15 @@ - ( - - ) - - - - - - - - - - - - + + ( + + + + + ) + +