This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: "--" 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: 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]