Re: [NTG-context] Chinese in current ConTeXt

2005-12-22 Thread Hans Hagen
Richard Gabriel wrote: >> 1. \v!month gives chinese number with the month symbol [so appending >> \cnmonth once more is undesired]. >> I guess the resulting date is a bit inconsistent - there should be all >> Arabic numbers or all Chinese, not mixed. >what is convention in china? From Xiao Jia

Re: [NTG-context] Chinese in current ConTeXt

2005-12-22 Thread Richard Gabriel
>> 1. \v!month gives chinese number with the month symbol [so appending >> \cnmonth once more is undesired].>> I guess the resulting date is a bit inconsistent - there should be all >> Arabic numbers or all Chinese, not mixed.>what is convention in china?From Xiao Jianfeng:In Arabic number, tod

Re: [NTG-context] Chinese in current ConTeXt

2005-12-22 Thread Hans Hagen
Richard Gabriel wrote: Hi Tobias (and Hans), I've played with this a bit. It seems that the nested group breaks things inside the \installlanguage macro. The following works OK: \c!date={\v!year,\cnyear,\v!month,\v!day,\cnday} ...but I can't use the \cnencoding switch... [Is it really neces

Re: [NTG-context] Chinese in current ConTeXt

2005-12-22 Thread Richard Gabriel
Hi Tobias (and Hans),I've played with this a bit. It seems that the nested group breaks things inside the \installlanguage macro.The following works OK:\c!date={\v!year,\cnyear,\v!month,\v!day,\cnday}...but I can't use the \cnencoding switch... [Is it really necessary here? It works for me even

Re: [NTG-context] Chinese in current ConTeXt

2005-12-20 Thread Tobias Burnus
Hi, Xiao Jianfeng wrote: It should be "year年month月day日". I somehow failed to to get the following working; I'm actually too tired (3 a.m) to follow the macro expansion in - \c!date={\v!month,\ ,\v!day,{,\ },\v!year}, + \c!date={\v!year,{\cnencoding\cnyear},\v!month,{\cnencoding\cnmonth},

Re: [NTG-context] Chinese in current ConTeXt

2005-12-20 Thread Xiao Jianfeng
Tobias Burnus wrote: Hello, some remarks/errors of the current UTF-8 Chinese support in ConTeXt 2005.12.19: (For (a) to (c) see also attached file.) a) unic-chi.tex: This contains the unicode vectors for which a Chinese font will be used; currently it only covers \dostepwiserecurse{40}{159

Re: [NTG-context] Chinese in current ConTeXt

2005-12-20 Thread Xiao Jianfeng
Tobias Burnus wrote: Hello, some remarks/errors of the current UTF-8 Chinese support in ConTeXt 2005.12.19: (For (a) to (c) see also attached file.) a) unic-chi.tex: This contains the unicode vectors for which a Chinese font will be used; currently it only covers \dostepwiserecurse{40}{159

Re: [NTG-context] Chinese in current ConTeXt

2005-12-20 Thread Hans Hagen
Tobias Burnus wrote: 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 Chin

Re: [NTG-context] Chinese in current ConTeXt

2005-12-20 Thread Tobias Burnus
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 capital

Re: [NTG-context] Chinese in current ConTeXt

2005-12-20 Thread Hans Hagen
Tobias Burnus wrote: Hi Hans, Hans Hagen wrote: b) Labels: lang-chi.tex contains: was this du eto the uni-c c-uni mixup? Yes, it now works (thanks, Richard!) Another questions: a) How to typset from top-to-bottom right-to-left using column(sets)? hm, columnsets ... just make them smal

Re: [NTG-context] Chinese in current ConTeXt

2005-12-20 Thread Tobias Burnus
Hi Hans, Hans Hagen wrote: b) Labels: lang-chi.tex contains: was this du eto the uni-c c-uni mixup? Yes, it now works (thanks, Richard!) Another questions: a) How to typset from top-to-bottom right-to-left using column(sets)? hm, columnsets ... just make them small enough; should work ok (i

Re: [NTG-context] Chinese in current ConTeXt

2005-12-20 Thread Hans Hagen
Tobias Burnus wrote: Hello, some remarks/errors of the current UTF-8 Chinese support in ConTeXt 2005.12.19: (For (a) to (c) see also attached file.) a) unic-chi.tex: This contains the unicode vectors for which a Chinese font will be used; currently it only covers \dostepwiserecurse{40}{159

Re: [NTG-context] Chinese in current ConTeXt

2005-12-20 Thread Richard Gabriel
> b) Labels: lang-chi.tex contains:> \setuplabeltext [\s!cn] [\v!figure={\cnencoding\cnencodedfigure}]> \startencoding[uni-c]> \definecommand cnencodedfigure {\uchar{86}{254}}> but if I use (with UTF-8) \placefigure{}{} the figure character is not > shown; however if I setup this directly, i.e.

[NTG-context] Chinese in current ConTeXt

2005-12-20 Thread Tobias Burnus
Hello, some remarks/errors of the current UTF-8 Chinese support in ConTeXt 2005.12.19: (For (a) to (c) see also attached file.) a) unic-chi.tex: This contains the unicode vectors for which a Chinese font will be used; currently it only covers \dostepwiserecurse{40}{159}{1}{\defineunicodecomm