[Cjk] Problem with CJKnumb and CJKutf8

Jinsong Zhao jszhao at yeah.net
Wed Mar 24 07:37:02 CET 2010


On 2010-3-22 2:23, Danai SAE-HAN (韓達耐) wrote:
> Hi Jinsong, Werner
>
> I don't have the answer either; but I am able to reproduce the error.

Thank you very much for your attention.

There is another problem about CJKnumb package. \CJKnumber{100000008} 
would be read as \CJK at one\CJK at hundredmillion\CJK at zero\CJK at zero\CJK at eight 
by CJKnumb package. In fact, it should be read as 
\CJK at one\CJK at hundredmillion\CJK at zero\CJK at eight, i.e., two zeroes should 
be suppressed to one zero.

Regards,
Jinsong

> I did come across another error: hundred million and ten thousand
> don't have the correct Unicode referencesn in CJKnumb.sty.
>
> @Werner: here is my patch.
>
> diff -Nbaurw CJKnumb.sty.orig CJKnumb.sty
> --- CJKnumb.sty.orig	2009-01-05 17:01:05.000000000 +0100
> +++ CJKnumb.sty	2010-03-21 19:21:24.377304834 +0100
> @@ -166,8 +166,8 @@
>     \def\CJK at ten{\Unicode{83}{65}}
>     \def\CJK at hundred{\Unicode{118}{126}}
>     \def\CJK at thousand{\Unicode{83}{67}}
> -  \def\CJK at tenthousand{\Unicode{132}{44}}
> -  \def\CJK at hundredmillion{\Unicode{81}{4}}
> +  \def\CJK at tenthousand{\Unicode{78}{7}}
> +  \def\CJK at hundredmillion{\Unicode{78}{191}}
>
>     \def\CJK at minus{\Unicode{255}{13}}}
>
>
> BR
>





More information about the Cjk mailing list