From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24237 Path: news.gmane.org!not-for-mail From: Xiao Jianfeng Newsgroups: gmane.comp.tex.context Subject: Re: Chinese Date: Fri, 09 Dec 2005 10:19:07 +0800 Message-ID: <4398E99B.9060600@gmail.com> References: <4393EE02.405@gmail.com> <4393EF88.40709@gmail.com> <43940348.9050208@wxs.nl> <43943696.2000002@gmail.com> <43944FAA.4040302@wxs.nl> <4394F1AB.5000506@gmail.com> <4394F78B.1040801@gmail.com> <439852AD.3030708@gmx.de> <439896E1.6080403@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1134094939 3361 80.91.229.2 (9 Dec 2005 02:22:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2005 02:22:19 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 09 03:22:14 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 1EkXrn-00078D-El for gctc-ntg-context-518@m.gmane.org; Fri, 09 Dec 2005 03:20:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 41786127C2; Fri, 9 Dec 2005 03:20:10 +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 32647-06; Fri, 9 Dec 2005 03:20:04 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8EF9F127A8; Fri, 9 Dec 2005 03:20:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7217B127A8 for ; Fri, 9 Dec 2005 03:20:02 +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 32734-03 for ; Fri, 9 Dec 2005 03:20:01 +0100 (CET) Original-Received: from sunm.shcnc.ac.cn (sunm.shcnc.ac.cn [159.226.128.8]) by ronja.ntg.nl (Postfix) with SMTP id A4D29127A6 for ; Fri, 9 Dec 2005 03:19:58 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by sunm.shcnc.ac.cn (4U Message Server) with ESMTP id F1CCE10FC0E4 for ; Fri, 9 Dec 2005 11:22:43 +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 9198010FC0D8 for ; Fri, 9 Dec 2005 11:22:41 +0800 (CST) User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <439896E1.6080403@gmx.de> 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24237 Archived-At: Tobias Burnus wrote: > Hi, > > Tobias Burnus wrote: > >> Seemingly the UTF-8 encoding makes some trouble - I get either errors=20 >> or the wrong characters. > > Ok, I played around a bit more: > \usemodule[chinese] > \enableregime[utf] > ... > H=C3=A4? =E4=B8=AD=E6=96=87=EF=BC=9F > > Prints as "H=C3=A4? ***" (* denotes black boxes). > > Whereas > \enableregime[utf] % or without this line > \usemodule[chinese] > prints "H=E7=9B=B2? ***" (* denotes three other characters which are no= t =E4=B8=AD=E6=96=87=EF=BC=9F) > > In addition I get: > ! Paragraph ended before \handleunicodeflowglyph was complete. > > Using \startitemize[c] or \placefigure{} with \mainlanguage[cn] shows=20 > the proper characters. > > Any ideas? Looking at=20 > http://www.pragma-ade.com/general/manuals/mchinese.pdf one seems to be=20 > able to simply mix European and Chinese letters; ok using=20 > {\language[de] H=C3=A4}{\language[cn]=E4=B8=AD=E6=96=87} I can combine = them (if I=20 > wouldn't get an error at '}'. > > Tobias > > PS: ConTeXt live at ConTeXtgarden does not like chinese at all; the=20 > transcript shows: > ! Misplaced alignment tab character &. > l.6 & > =20 > #36825;里什么饮料也没有= ...=20 > > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > Maybe it is beacuse of the encoding of your .tex file. The encoding of my tex source file is cp936 and I edit with gvim. ConTeXt compiles OK when processing Chinese. I din't use=20 \enableregime[utf] or \language[cn] to typeset Chinese. Regards, xiaojf