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: [EMAIL PROTECTED]
  http://www.kosek.cz

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>

Reply via email to