From: Michael S. <xm...@us...> - 2005-06-28 14:30:27
|
Update of /cvsroot/docbook/xsl/manpages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13089 Modified Files: charmap.groff.xsl Log Message: Output "\-" for non-breaking hyphen. Index: charmap.groff.xsl =================================================================== RCS file: /cvsroot/docbook/xsl/manpages/charmap.groff.xsl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -U2 -r1.4 -r1.5 --- charmap.groff.xsl 28 Jun 2005 09:18:08 -0000 1.4 +++ charmap.groff.xsl 28 Jun 2005 14:30:12 -0000 1.5 @@ -1698,8 +1698,14 @@ u:class="dashes" /> + <!-- * although the groff docs do not make it clear, testing --> + <!-- * indicates that the only reliable way to make a non-breaking --> + <!-- * hyphen is to put just a backslash in front of it. --> + <!-- * --> + <!-- * based on testing, it also appears that no character is needed --> + <!-- * after the hyphen in order to make it non-breaking --> <xsl:output-character character="‑" u:name="NON-BREAKING HYPHEN" - string="\&-\&" + string="\-" u:block="General Punctuation" u:class="dashes" |