Re: DOCBOOK-APPS: "--" again; this time via passivetex

From
Jirka Kosek <>
Date
2001-10-12T16:04:00+00:00
ID
Thread
Re: DOCBOOK-APPS: "--" again; this time via passivetex
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: -&#x200b;-?</para>

						Jirka

-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: 
  http://www.kosek.cz