From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20692 Path: news.gmane.org!not-for-mail From: Xiao Jianfeng Newsgroups: gmane.comp.tex.context Subject: Re: Chinese in ConTeXt Date: Mon, 06 Jun 2005 16:08:42 +0800 Message-ID: <42A4048A.5010107@sibs.ac.cn> References: <42998230.404@sibs.ac.cn> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090009010906020403070207" X-Trace: sea.gmane.org 1118046991 24864 80.91.229.2 (6 Jun 2005 08:36:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2005 08:36:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 06 10:36:20 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfD4j-0002kt-Ud for gctc-ntg-context-518@m.gmane.org; Mon, 06 Jun 2005 10:35:14 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2F0A21279C; Mon, 6 Jun 2005 10:38:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25278-04; Mon, 6 Jun 2005 10:38:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D42541278D; Mon, 6 Jun 2005 10:09:59 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C5C9D1278D for ; Mon, 6 Jun 2005 10:09:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24954-05 for ; Mon, 6 Jun 2005 10:09:57 +0200 (CEST) Original-Received: from sunm.shcnc.ac.cn (sunm.shcnc.ac.cn [159.226.128.8]) by ronja.ntg.nl (Postfix) with SMTP id 32D871277E for ; Mon, 6 Jun 2005 10:09:53 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by sunm.shcnc.ac.cn (4U Message Server) with ESMTP id 040CB594073 for ; Mon, 6 Jun 2005 16:12:56 +0800 (CST) Original-Received: from [202.127.19.74] (unknown [202.127.19.74]) by sunm.shcnc.ac.cn (4U Message Server) with ESMTP id C1A08594033 for ; Mon, 6 Jun 2005 16:12:54 +0800 (CST) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42998230.404@sibs.ac.cn> X-Virus-Scanned: by AMaViS 0.3.12 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20692 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20692 This is a multi-part message in MIME format. --------------090009010906020403070207 Content-Type: text/plain; charset=gb18030; format=flowed Content-Transfer-Encoding: 7bit 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