w3c / klreq

Requirements for Hangul Text Layout and Typography
Other
27 stars 12 forks source link

Style for counter in ordered list using Korean character. #22

Open c933103 opened 6 years ago

c933103 commented 6 years ago

According to https://drafts.csswg.org/css-counter-styles/ , when using Korean characters to create an ordered list, it should look like: 일, XXXX 이, XXXX 삼, XXXX As opposed to 일. XXXX 이. XXXX 삼. XXXX which is same as Latin text layout for a. b. c. and such.

Is this correct that Korean text use "," instead of "." and should this different being included in klreq? See also https://github.com/w3c/jlreq/issues/12 and https://github.com/w3c/clreq/issues/158

peremen commented 6 years ago

As far as I understand, comma and dots are both used and there are no standard when the list is enumerated using "일, 이, 삼, ...".

Off-topic, the proposal actually lacks some counter styles used in Korean texts. "cjk-earthly-branch" and "cjk-heavenly-stem" requires its Hangul equivalent. Also, there should be a "korean-hangul-informal" too. The explicit "일" for addressing 1 * 10^n could be omitted in informal usage. For example, 11 could be "일십일" in korean-hangul-formal, "십일" in korean-hangul-informal (note the lack of "일").

What should be included there in Alphabetic class are:

In both cases, plain dot should be used. (https://www.korean.go.kr/front/page/pageView.do?page_id=P000192&mn_id=30 paragraph 4)

c933103 commented 6 years ago

According to the description, it appears that css counter style level 3 is only intended to include predefinition of counter styles that were included in css 2/2.1, and also a few complex counter styles, with another document https://www.w3.org/TR/predefined-counter-styles/ have been created to include other additional counter styles for various languages, which have included both

Enumeration using consonant + vowel ㅏ

and

Enumeration using consonant only

in the document.

peremen commented 6 years ago

with another document https://www.w3.org/TR/predefined-counter-styles/ have been created to include other additional counter styles for various languages

It still lacks Hangul equivalent of cjk-earthly-branch, cjk-heavenly-stem. For cjk-decimal, as U+3001 is not used in Korean horizontal writing as a separator (see also w3c/klreq#13), it needs to be addressed.

r12a commented 4 years ago

@peremen i just came across this thread again. Seems it got lost. Would you be able to raise a PR in https://github.com/w3c/predefined-counter-styles for the code to use for the styles you mention just above? Or, if you prefer, write the counter-style definitions in this thread and i'll port to the document.