OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: 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: jirka@kosek.cz
  http://www.kosek.cz


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC