]> granicus.if.org Git - docbook-dsssl/commitdiff
Output "\-" for non-breaking hyphen.
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 28 Jun 2005 14:30:12 +0000 (14:30 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 28 Jun 2005 14:30:12 +0000 (14:30 +0000)
xsl/manpages/charmap.groff.xsl

index 617dbf84bc419484cdee33613e59105441b92c38..551379c8d2858096ce8aad59ba532ee601b5f105 100644 (file)
    u:block="General Punctuation"
    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="&#x2011;"
    u:name="NON-BREAKING HYPHEN"
-   string="\&amp;-\&amp;"
+   string="\-"
    u:block="General Punctuation"
    u:class="dashes"
    />