[XeTeX] Is it a bug on inter-char tokens?
Yin Dian
yindian at gmail.com
Sat Dec 15 03:33:38 CET 2007
Hi Jonathan,
I've updated to the latest version and it produces expected output for
my test cases. Thanks very much for your efforts!
Regards.
-YIN Dian
On 12/13/07, Jonathan Kew <jonathan_kew at sil.org> wrote:
> On 2 Dec 2007, at 4:28 am, Yin Dian wrote:
>
> > Hi all,
> >
> > It seems that \char cannot trigger the right inter-char token when the
> > inter-char token between boundary and the specific class is not empty.
> > The following code shows a minimal example.
> >
> > \XeTeXcharclass 65=22
> > \XeTeXinterchartoks 22 0={\message{22-0}}
> > \XeTeXinterchartoks 0 22={\message{0-22}}
> > \XeTeXinterchartoks 22 255={\message{22-255}} % comment these two
> > lines
> > \XeTeXinterchartoks 255 22={\message{255-22}} % to get the right
> > result
> > \XeTeXinterchartokenstate=1
> > \tracingall
> > hello \char 65 world
> > \bye
> >
> > It is expected to trigger the inter-char token between 22 and 0 after
> > the \char command. However, the inter-char token between 255 and 22 is
> > triggered, and the log file suggests the \char 65 is considered a
> > blank space, and thus not displayed in the pdf file. Leaving the
> > inter-char token between 255 and 22 empty could generate the right
> > result.
> >
> > I'm using the latest xetex-dev in W32TeX. Can this "bug" be found on
> > other platforms?
>
> Yes, it is definitely a bug.
>
> I have just made a correction to the source in the Subversion
> repository (rev. 538), and this example and similar tests now seem to
> run as expected.
>
> I expect Akira will update the W32TeX xetex-dev package shortly;
> please let me know if you find further problems after that.
>
> JK
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
More information about the XeTeX
mailing list