From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24527 Path: news.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: Chinese in current ConTeXt Date: Tue, 20 Dec 2005 22:18:36 +0100 Message-ID: <43A8752C.5070105@net-b.de> References: <43A81EB0.6060900@gmx.de> <43A83568.6020504@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030308050807010306030408" X-Trace: sea.gmane.org 1135113918 20452 80.91.229.2 (20 Dec 2005 21:25:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2005 21:25:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 20 22:25:13 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 1Eoox2-0006V4-JI for gctc-ntg-context-518@m.gmane.org; Tue, 20 Dec 2005 22:23:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 40BE412860; Tue, 20 Dec 2005 22:23:16 +0100 (CET) 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 12796-04; Tue, 20 Dec 2005 22:23:16 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 71CF412868; Tue, 20 Dec 2005 22:19:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4CE4012868 for ; Tue, 20 Dec 2005 22:19:20 +0100 (CET) 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 12796-01-2 for ; Tue, 20 Dec 2005 22:19:19 +0100 (CET) Original-Received: from zs04.physik.fu-berlin.de (zs04.physik.fu-berlin.de [160.45.35.155]) by ronja.ntg.nl (Postfix) with ESMTP id 478CB12860 for ; Tue, 20 Dec 2005 22:19:19 +0100 (CET) Original-Received: from ith.physik.fu-berlin.de ([160.45.32.115] helo=[127.0.0.1]) by zs04.physik.fu-berlin.de with esmtp (Exim 4.60) (envelope-from ) id 1EootC-0001um-EL; Tue, 20 Dec 2005 22:19:18 +0100 User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050715) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <43A83568.6020504@wxs.nl> X-Scanned: No viruses found. X-Scan-Signature: 2736c2d1347a8e5d04bf4fef30aceab9 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24527 Archived-At: This is a multi-part message in MIME format. --------------030308050807010306030408 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, Hans Hagen wrote: >> b) How to change the numberformat used? > eh ... wang lei should know ... i have to look into it (chinese > supports multiple number formats) I think I found it (it is a bit burried in font-chi.tex): \startitemize[c] (or cn) gives the normal Chinese number, cc the capitalized, ec the normal Chinese number with one-character alternatives for 20 and 30 and ac the Arabic style of numbering. (For those who'd like to have a how to on using Chinese with UTF-8, I updated http://wiki.contextgarden.net/Chinese ) Attached you find the traditional characters (as used in Taiwan, Hongkong [possibly decreasing], and in China before 1955); one should provide some method to switch between those and the simplified ones defined; maybe an option for \setupchinese? Tobias --------------030308050807010306030408 Content-Type: application/x-tex; name="tra-chi.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="tra-chi.tex" % Traditional Chinese characters (only where they differ to the % simplified ones) for lang-chi.tex and font-chi.tex. \startencoding[c-uni] \defineudigit 10000 132 44 \defineudigit 100000000 81 4 \definecommand cnencodedsection {\uchar{123}{192}} \definecommand cnencodedfigure {\uchar{87}{22}} \definecommand cnencodedunits {\uchar{138}{8}\uchar{145}{207}\uchar{85}{174}\uchar{79}{77}} \definecommand cnencodedlogos {\uchar{95}{189}\uchar{140}{182}} \definecommand cnencodedabbreviations {\uchar{126}{46}\uchar{117}{101}\uchar{138}{158}} \definecommand cnencodedfigures {\uchar{87}{22}\uchar{95}{98}} \definecommand cnencodedcontents {\uchar{118}{238}\uchar{147}{4}} \stopencoding \startencoding[gbk] \defineudigit 10000 200 102 \defineudigit 100000000 131 124 \definecommand cnencodedsection {\uchar{185}{157}} \definecommand cnencodedfigure {\uchar{136}{68}} \definecommand cnencodedunits {\uchar{211}{139}\uchar{193}{191}\uchar{134}{206}\uchar{206}{187}} \definecommand cnencodedlogos {\uchar{187}{213}\uchar{217}{72} \definecommand cnencodedabbreviations {\uchar{191}{115}\uchar{194}{212}\uchar{213}{90}} \definecommand cnencodedfigures {\uchar{136}{68}\uchar{208}{206}} \definecommand cnencodedcontents {\uchar{196}{191}\uchar{228}{155}} \stopencoding \startencoding[big5] \defineudigit 10000 184 85 \defineudigit 100000000 187 245 \definecommand cnencodedsection {\uchar{184}{96}} \definecommand cnencodedfigure {\uchar{185}{207}} \definecommand cnencodedunits {\uchar{173}{112}\uchar{182}{113}\uchar{179}{230}\uchar{166}{236}} \definecommand cnencodedlogos {\uchar{192}{178}\uchar{182}{83}} \definecommand cnencodedabbreviations {\uchar{193}{89}\uchar{178}{164}\uchar{187}{121}} \definecommand cnencodedfigures {\uchar{185}{207}\uchar{167}{206}} \definecommand cnencodedcontents {\uchar{165}{216}\uchar{191}{253}} \stopencoding --------------030308050807010306030408 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------030308050807010306030408--