Re: [css3-lists] CJK numbering algorithms

On 04/21/2011 02:44 PM, fantasai wrote:
> On 04/21/2011 02:38 PM, fantasai wrote:
>  > On 04/21/2011 02:02 PM, Tab Atkins Jr. wrote:
>  >>
>  >> * For Korean informal styles, if the value of the ten-thousands
>  >> group is 1, drop the digit (but leave the group marker).
>  >
>  > Maybe stick an also somewhere in the Korean one, so it's clear it's
>  > additive with the previous rule? Not sure where, though.
>  >
>  >> 7. Drop zeros:
>  >> * For the Chinese styles, drop any leading zeros
>  >> in the largest group. Drop any trailing zeros for all
>  >> non-zero groups. For each group, collapse any remaining adjacent
>  >> zeros into a single zero. For the Chinese informal styles,
>  >> drop any groups with a value of zero.
>  >> * For the Japanese and Korean styles, drop all zeros.
>  >>
>  >> I think this correctly synthesizes all three of the algorithms and
>  >> their formal/informal distinctions. I'm not particularly happy with
>  >> the way I've worded 7.1, though.
>  >
>  > Yeah, me neither. What was the problem with my wording?
>
> Ok, that was a dumb question. Try this
>
> 7. Drop zeros:
> * For the Japanese and Korean styles, drop all zeros.
> * For the Chinese informal styles, drop any groups
> with a value of zero.
> * For all Chinese styles, collapse (across groups) any
> remaining zeros into a singe _zero digit_.

Correction:

   * For all Chinese styles, drop any trailing zeros for all
     non-zero groups and collapse (across groups) any
     remaining zeros into a single _zero digit_.

~fantasai

Received on Thursday, 21 April 2011 21:49:16 UTC