Xiao Jianfeng wrote:
I started to use ConTeXt several weeks ago, and I like it very much :-)
I met some problems when I tried to use Chinese in ConTeXt. I have tried to setup Chinese fonts according to the manual "Chinese in ConTeXt" (mchinese.pdf) which seems a little out-of-date. In the manual, programs gbpfb/chpfb, and gbenc are used to perpare the Chinese fonts. But, I chpfb is not shipped with trubolinux anymore . I have googled and couldn't find these programs on the internet.
Do someone have some experience of how to setup Chinese in ConTeXt?
Thanks in advance!
Best wishes.
Xiaojf _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hi, all,
I have solved the problem with help of Lutz and the other people. I must
thanks Lutz, and thanks everyone here :-)
Here is my way of Chinese setup in ConTeXt. I hope this can be of any
help to some newbies like me who have problems in processing Chinese.
1. Get the truetype fonts, htfs.ttf, hthei.ttf, htkai.ttf and htsong.ttf
from
ftp://ftp.ctex.org/pub/tex/fonts/truetype/ttf/
2. Get corresponding tfm file, gbfs.zip, gbhei.zip, gbkai.zip and
gbsong.zip from
ftp://ftp.ctex.org/pub/tex/fonts/truetype/for_pdftex/tfm
3. Get the enc file, Gbk.zip from
ftp://ftp.ctex.org/pub/tex/fonts/truetype/for_pdftex/enc_map
4. Get the map file, map.zip, from
ftp://ftp.ctex.org/pub/tex/fonts/truetype/for_pdftex/enc_map
5. Put the ttf font files you got in step 1 to
texmf-fonts/fonts/truetype/chinese
6. Unzip the files you got in step 2 and you get four corresponding
directories(which contain tfm files), then put them in
texmf-fonts/fonts/tfm/chinese
7. Unzip Gbk.zip, you will get a directory named "Gbk" which contains
many enc files. Put the directory to texmf-fonts/fonts/enc/chinese
8.Unzip map.zip, you will get many map files, you need just the gbk.map.
You need to edit gbk.map, delete entried of gbli at the end of the file
(lines 505-629):
gbli81