Bug 55767 - -- becomes a ligature
-- becomes a ligature
Product: Red Hat Raw Hide
Classification: Retired
Component: xmltex (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2001-11-06 07:41 EST by Tim Waugh
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-11-28 18:15:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tim Waugh 2001-11-06 07:41:10 EST
Description of Problem:
xmltex does not disable ligatures.

Here is some XSL that works around the '--' problem for now (reported to 

<xsl:template name="fix-dash">
 <xsl:param name="str"/>
  <xsl:when test="contains($str,'--')">
   <xsl:value-of select="substring-before($str,'--')"/>
   <xsl:call-template name="fix-dash">
    <xsl:with-param name="str">
     <xsl:value-of select="substring-after($str,'--')"/>
   <xsl:value-of select="$str"/>

<xsl:template match="text()">
 <xsl:call-template name="fix-dash">
  <xsl:with-param name="str" select="."/>
Comment 1 Tim Waugh 2001-11-09 14:29:23 EST
David Carlisle has a fix for this, but then passivetex breaks.  Waiting to see 
if Sebastian can fix that..
Comment 2 Tim Waugh 2001-12-06 09:00:30 EST
Fixed in xmltex-20000118-4.

Note You need to log in before you can comment on or make changes to this bug.