[XeTeX] XeTeXinterchartoks and spacefactor

Dohyun Kim nomosnomos at gmail.com
Fri Nov 19 03:06:27 CET 2010


Hi,

=====
\newXeTeXintercharclass \mycharclassA
\newXeTeXintercharclass \mycharclassP
\XeTeXcharclass `\A \mycharclassA
\XeTeXcharclass `\. \mycharclassP
\XeTeXinterchartoks \mycharclassA \mycharclassP = {\relax}

\XeTeXinterchartokenstate = 0
A\relax.\the\spacefactor % 1000; ok.

\XeTeXinterchartokenstate = 1
A.\the\spacefactor % 3000; should be 1000?

\bye
=====

I expected the same spacefactor between the first line and the second.
Actually it is not, however.  Is this a bug of XeTeX?

-- 
Dohyun Kim
College of Law, Dongguk University
Seoul, Republic of Korea


More information about the XeTeX mailing list