2011/8/10 Jean-Philippe Rey <[email protected]>:
>
> I couldn't make \setcjkmainfont to work. Here is my example:
>
> \usemodule[simplefonts]
> \setmainfontfallback[Arial Unicode][range=cyrillic]
> \setcjkmainfont[Arial Unicode]
> \starttext
> Example text from the wiki: Немного русского текста для пробы.
> And some Chinese: --- 人民日报海外版 --- back to English
> \stoptext
>
> There are 7 chinese characters between ---. Everything is fine with russian 
> but the cjk characters seem to be ignored,

Because Chinese characters are not in the cyrillic area in unicode,
you can try the following example:

\usemodule[simplefonts]
\setmainfontfallback[arialuni][range={0x0400-0x2FA1F}]
\setcjkmainfont[arialuni]
\starttext
Example text from the wiki: Немного русского текста для пробы.
And some Chinese: --- 人民日报海外版 --- back to English
\stoptext

-- 
Best regards,

Li Yanrui (李延瑞)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to