From a509a6d3d25d647fa363ffacbb45b9dae47ed41e Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 12 Jul 2005 13:51:44 +0000 Subject: [PATCH] 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. --- xsl/manpages/synop.xsl | 106 ++++++++++++++++++++++++++++++----------- 1 file changed, 77 insertions(+), 29 deletions(-) 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 @@ - ( - - ) - - - - - - - - - - - - + + ( + + + + + ) + + -- 2.40.0