This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: "--" again; this time via passivetex
- To: Tim Waugh <twaugh at redhat dot com>
- Subject: Re: DOCBOOK-APPS: "--" again; this time via passivetex
- From: Jirka Kosek <jirka at kosek dot cz>
- Date: Fri, 12 Oct 2001 18:02:20 +0200
- Cc: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- List-Id: <docbook-apps.lists.oasis-open.org>
- References: <20011012154043.F21283@redhat.com>
Tim Waugh wrote:
> <!DOCTYPE para ...>
> <para>Two dashes or not two dashes: --?</para>
>
> gets converted using openjade to TeX correctly, so long as you use the
> right patch from CVS. (The two dashes come out as '-\/-\/', and so
> don't get interpreted together as a long dash.)
>
> But xmltex/passivetex gives incorrect output, that reads:
>
> "Two dashes or not two dashes: -?" (the single dash is long)
PassiveTeX reads directly XML source so there is no preprocessing stage
as in JadeTeX which can turn -- into -\/-\/. Standard TeX ligature
processing cann't be turned off AFAIK. Maybe Sebastian could talk more
on this topic.
> Any ideas on how to fix it, or even whereabouts the bug is?
If you want quick workaround, you can insert zero-width joining space
character (?) between two -:
<para>Two dashes or not two dashes: -​-?</para>
Jirka
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>