ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Xiao Jianfeng <fdu.xiaojf@gmail.com>
Subject: Re: Chinese
Date: Fri, 09 Dec 2005 10:19:07 +0800	[thread overview]
Message-ID: <4398E99B.9060600@gmail.com> (raw)
In-Reply-To: <439896E1.6080403@gmx.de>

Tobias Burnus wrote:

> Hi,
>
> Tobias Burnus wrote:
>
>> Seemingly the UTF-8 encoding makes some trouble - I get either errors 
>> or the wrong characters.
>
> Ok, I played around a bit more:
> \usemodule[chinese]
> \enableregime[utf]
> ...
> Hä? 中文?
>
> Prints as "Hä? ***" (* denotes black boxes).
>
> Whereas
> \enableregime[utf] % or without this line
> \usemodule[chinese]
> prints "H盲? ***" (* denotes three other characters which are not 中文?)
>
> In addition I get:
> ! Paragraph ended before \handleunicodeflowglyph was complete.
>
> Using \startitemize[c] or \placefigure{} with \mainlanguage[cn] shows 
> the proper characters.
>
> Any ideas? Looking at 
> http://www.pragma-ade.com/general/manuals/mchinese.pdf one seems to be 
> able to simply mix European and Chinese letters; ok using 
> {\language[de] Hä}{\language[cn]中文} I can combine them (if I 
> wouldn't get an error at '}'.
>
> Tobias
>
> PS: ConTeXt live at ConTeXtgarden does not like chinese at all; the 
> transcript shows:
> ! Misplaced alignment tab character &.
> l.6 &
>     
> #36825;&#37324;&#20160;&#20040;&#39278;&#26009;&#20063;&#27809;&#26377;... 
>
>
>
> _______________________________________________
> 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 
\enableregime[utf] or \language[cn] to typeset Chinese.

Regards,
xiaojf

  parent reply	other threads:[~2005-12-09  2:19 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-05  7:36 strange behavior of startbackground Xiao Jianfeng
2005-12-05  7:43 ` Xiao Jianfeng
2005-12-05  9:07   ` Hans Hagen
2005-12-05 12:46     ` Xiao Jianfeng
2005-12-05 14:33       ` Hans Hagen
2005-12-06  2:04         ` Xiao Jianfeng
2005-12-06  2:29           ` Xiao Jianfeng
2005-12-08 12:36             ` Patrick Gundlach
2005-12-08 15:35               ` Chinese (was:Re: strange behavior of startbackground) Tobias Burnus
2005-12-08 20:26                 ` Chinese Tobias Burnus
2005-12-08 22:11                   ` Chinese Patrick Gundlach
2005-12-09  2:19                   ` Xiao Jianfeng [this message]
2005-12-09 10:53                     ` Chinese Tobias Burnus
2005-12-09 13:46                       ` Chinese Xiao Jianfeng
2005-12-09 14:03                         ` Chinese Tobias Burnus
2005-12-09 14:19                           ` Chinese Xiao Jianfeng
2005-12-09 14:24                           ` Chinese Xiao Jianfeng
2005-12-09 15:01                             ` Chinese Tobias Burnus
2005-12-09 15:24                             ` Chinese Richard Gabriel
2005-12-12 15:53                               ` Chinese Hans Hagen
2005-12-12 21:15                                 ` Chinese Tobias Burnus
2005-12-14 22:19                                   ` Chinese Hans Hagen
2005-12-13  9:14                                 ` Chinese Richard Gabriel
2005-12-13  9:55                                   ` Chinese Hans Hagen
2005-12-13 10:31                                   ` Chinese Xiao Jianfeng
2005-12-09 14:43                           ` Chinese Adam Lindsay
2005-12-09 15:30                             ` Chinese Tobias Burnus
2005-12-12 12:29                               ` Chinese Hans Hagen
2005-12-06  2:29           ` strange behavior of startbackground Xiao Jianfeng
2005-12-05  7:48 ` Xiao Jianfeng
2005-12-05  7:52 ` Xiao Jianfeng
2005-12-05  8:50 ` Taco Hoekwater
2005-12-05  9:05 ` Hans Hagen
2005-12-05 12:37   ` Xiao Jianfeng
2005-12-05 14:35     ` Hans Hagen
     [not found] <20051212173143.94765127FA@ronja.ntg.nl>
2005-12-13  8:07 ` Chinese Duncan Hothersall
     [not found] <20051209110003.CF289127DF@ronja.ntg.nl>
2005-12-09 11:06 ` Chinese Duncan Hothersall
  -- strict thread matches above, loose matches on Subject: below --
2002-05-18  0:42 chinese Jens-Uwe Morawski
2002-05-19 22:29 ` chinese Hans Hagen
     [not found]   ` <5.1.0.14.1.20020521085937.0405c110@server-1>
     [not found]     ` <001801c20415$4fe46e30$04c7fea9@wanglei>
2002-05-25 20:25       ` chinese Hans Hagen
2002-05-26 18:42         ` chinese Mr. Lei Wang
2002-05-26 19:28           ` chinese Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4398E99B.9060600@gmail.com \
    --to=fdu.xiaojf@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).