From: Martijn van Beers Date: Fri, 10 May 2002 15:26:23 +0000 (+0000) Subject: also from twaugh: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe9ae37514b69eca486494f92fca9a41325894f5;p=docbook-dsssl also from twaugh: I found some input that goes wrong with the synop.xsl we have in CVS: -o FILE --output=FILE It gets rendered as (with *bold* and _italic_): [*-o FILE* | *--output=FILE*] The desired markup should look like: The following macro does the trick: [\fB-o \fIFILE\fR\fR | \fB--output=\fIFILE\fR\fR] The trouble is that the named template 'bold' uses value-of, and so strips of its significance. Another thing I found is that the arg/replaceable template is superfluous altogether: db2man.xsl has a 'replaceable' template which does the same thing. Here is a patch to make those two modifications. NOTE TO SELF: must try to fix bold template so we can use it everywhere --- diff --git a/contrib/xsl/db2man/synop.xsl b/contrib/xsl/db2man/synop.xsl index aa3e95e0f..e657f8fdb 100644 --- a/contrib/xsl/db2man/synop.xsl +++ b/contrib/xsl/db2man/synop.xsl @@ -76,7 +76,12 @@ - + + + + \fB + + \fR @@ -87,10 +92,6 @@ - - - -