[NTG-context] MKIV Chinese and English typesetting

Yanrui Li liyanrui.m2 at gmail.com
Mon Mar 24 16:54:11 CET 2008

Dear Hans and other friends:

I am a Chinese user of ConTeXt. Recently, I tried ConTeXt MkIV and
test its Chinese  typesetting. I am very glad to see MkIV can access
my linux OS TTF&OTF fonts and give a good face of my article about
lines breaking. But on the bilingual typesetting, such as Chinese
sentences and English words appearance in a article at the same time ,
I found there are no good methods to solve the  problem of  setting
fonts for them respectively. Now I had to handle it in this way:

%%%%
\definefontfeature[chinese]
[mode=node,script=hang,lang=zhs]
\definefontsynonym[songti]
[name:simsun]
[features=chinese]

\definefontsynonym[Serif][songti]
\definetypeface[song][rm][serif][songti]
\setupbodyfont[song,12pt,rm]

\font\enfont=name:msyh
\def\en#1{%
\,\bgroup\enfont #1\egroup\,%
}

\starttext
我用英文进行\en{Hello World}测试。
\stoptext
%%%%%%%%

I am eager to see full support for chinese and other Asian languages
in ConTeXt MkIV.

I am grateful to  the developers. Thank you for your time and effort
for continuous contributions!