Bug 11497 - Bad TeX output (double-hyphens)
Summary: Bad TeX output (double-hyphens)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: openjade
Version: 7.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL: http://people.redhat.com/twaugh/docbo...
Whiteboard:
: 21831 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-05-18 08:23 UTC by Tim Waugh
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-06-15 17:32:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2000-05-18 08:23:58 UTC
The following produces an ndash rather than two hyphens, using db2ps:

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]>
<para>
 <programlisting>
  <![CDATA[count--;]]>
 </programlisting>
</para>

The work-around that I'm using is this:

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]>
<para>
 <programlisting>
  <![CDATA[count]]>&mdash;<![CDATA[;]]>
 </programlisting>
</para>

(Obviously it can be done more simply for this small example)

This is a bug in jade since it puts '--' in the TeX output, which of course
is TeX speak for ndash.  It doesn't seem reasonable to do this when in
<programlisting><![CDATA[[...]]></> tags. (I don't fully understand why
&mdash; comes out as two dashes rather than an mdash, either, but at least
it gives me a work-around..)

Comment 1 Tim Waugh 2000-12-08 15:00:52 UTC
*** Bug 21831 has been marked as a duplicate of this bug. ***

Comment 3 Tim Waugh 2001-06-20 10:39:04 UTC
Fixed in openjade-1.3-17.



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