[XeTeX] Add Tibe-tan typesetting ability

Jonathan Kew jonathan_kew at sil.org
Sat Jan 5 18:13:54 CET 2008


On 5 Jan 2008, at 4:48 pm, Lobsang Sonam wrote:

>> I think you should be able to use Unicode characters directly in
>> \discretionary, just like anywhere else; if not, it's a bug. (A
>> simple test seems to work fine here.)
>
> I test it again, but got the following erro msg:
>
> D:\Sonam> xetex "tdisc.tex"
>
> This is XeTeXk, Version 3.141592-2.2-0.997 (Web2C 7.5.6)
>  \write18 enabled.
>  %&-line parsing enabled.
> entering extended mode
> (./tdisc.tex
> ! Improper discretionary list.
> l.3 ...ry{pre-break}{post-中文break}{Whole text}
>
> ?

I think it's the space in {Whole text} that is the error here, not  
the Chinese characters for zhongwen. Try

   \discretionary{pre-break}{post-中文break}{wholetext}

without the space. Remember, glue is not allowed, and a space is glue!

JK



More information about the XeTeX mailing list