w3c / predefined-counter-styles

Predefined Counter Styles
https://w3c.github.io/predefined-counter-styles/
Other
7 stars 14 forks source link

Syriac styles #44

Open r12a opened 3 years ago

r12a commented 3 years ago

In https://github.com/w3c/csswg-drafts/issues/4200 @fantasai said:

We seem to have lost the Syriac numbering style somewhere along the way, and I couldn't find any discussion about it. Dropping an issue here to track it, in case this is something that needs to be addressed either in css-counter-styles or the i18n Ready-Made Counter Styles note.

https://lists.w3.org/Archives/Public/www-style/2002Oct/0006.html https://www.w3.org/TR/2002/WD-css3-lists-20021107/#syriac https://lists.w3.org/Archives/Public/www-style/2003Mar/0149.html

r12a commented 3 years ago

Here's an additive numbering system used for some books, and particularly for numbering verses in the Bible, that should go in this document. The source is a book about Assyrian, so an Eastern Syriac font would be appropriate for the display. I don't know if Western Syriac (eg. Turoyo), or ecclesiastical Syriac (Estrangelo) use the same system exactly. Advice from Syriac users welcome.

Note that the system described in the links above is not the same as this.


@counter-style assyrian { system: additive; range: 1 9999999; additive-symbols: 9000000 'ܛܸ', 8000000 'ܚܸ', 7000000 'ܙܸ', 6000000 'ܘܸ', 5000000 'ܗܸ', 4000000 'ܕܸ', 3000000 'ܓܸ', 2000000 'ܒܸ', 1000000 'ܐܸ', 900000 'ܛ̤', 800000 'ܚ̤', 700000 'ܙ̤', 600000 'ܘ̤', 500000 'ܗ̤', 400000 'ܕ̤', 300000 'ܓ̤', 200000 'ܒ̤', 100000 'ܐ̤', 90000 'ܛ̱', 80000 'ܚ̱', 70000 'ܙ̱', 60000 'ܘ̱', 50000 'ܗ̱', 40000 'ܕ̱', 30000 'ܓ̱', 20000 'ܒ̱', 10000 'ܐ̱', 9000 'ܛ݇', 8000 'ܚ݇', 7000 'ܙ݇', 6000 'ܘ݇', 5000 'ܗ݇', 4000 'ܕ݇', 3000 'ܓ݇', 2000 'ܒ݇', 1000 'ܐ݇', 900 'ܨ݁', 800 'ܦ݁', 700 'ܥ݁', 600 'ܣ݁', 500 'ܢ݁', 400 'ܬ', 300 'ܫ', 200 'ܪ', 100 'ܩ', 90 'ܨ', 80 'ܦ', 70 'ܥ', 60 'ܣ', 50 'ܢ', 40 'ܡ', 30 'ܠ', 20 'ܟ', 10 'ܝ', 9 'ܛ', 8 'ܚ', 7 'ܙ', 6 'ܘ', 5 'ܗ', 4 'ܕ', 3 'ܓ', 2 'ܒ', 1 'ܐ'; / additive-symbols: 9000000 '\071B \0738 ', 8000000 '\071A \0738 ', 7000000 '\0719 \0738 ', 6000000 '\0718 \0738 ', 5000000 '\0717 \0738 ', 4000000 '\0715 \0738 ', 3000000 '\0713 \0738 ', 2000000 '\0712 \0738 ', 1000000 '\0710 \0738 ', 900000 '\071B \0324 ', 800000 '\071A \0324 ', 700000 '\0719 \0324 ', 600000 '\0718 \0324 ', 500000 '\0717 \0324 ', 400000 '\0715 \0324 ', 300000 '\0713 \0324 ', 200000 '\0712 \0324 ', 100000 '\0710 \0324 ', 90000 '\071B \0331 ', 80000 '\071A \0331 ', 70000 '\0719 \0331 ', 60000 '\0718 \0331 ', 50000 '\0717 \0331 ', 40000 '\0715 \0331 ', 30000 '\0713 \0331 ', 20000 '\0712 \0331 ', 10000 '\0710 \0331 ', 9000 '\071B \0747 ', 8000 '\071A \0747 ', 7000 '\0719 \0747 ', 6000 '\0718 \0747 ', 5000 '\0717 \0747 ', 4000 '\0715 \0747 ', 3000 '\0713 \0747 ', 2000 '\0712 \0747 ', 1000 '\0710 \0747 ', 900 '\0728 \0741 ', 800 '\0726 \0741 ', 700 '\0725 \0741 ', 600 '\0723 \0741 ', 500 '\0722 \0741 ', 400 '\072C ', 300 '\072B ', 200 '\072A ', 100 '\0729 ', 90 '\0728 ', 80 '\0726 ', 70 '\0725 ', 60 '\0723 ', 50 '\0722 ', 40 '\0721 ', 30 '\0720 ', 20 '\071F ', 10 '\071D ', 9 '\071B ', 8 '\071A ', 7 '\0719 ', 6 '\0718 ', 5 '\0717 ', 4 '\0715 ', 3 '\0713 ', 2 '\0712 ', 1 '\0710 '; / }

Source for most of it is Madeleine Davis (2014), Assyrian Reading Lessons in Six Days, 2nd ed. p51 (hardcopy)

I'm not sure where the numbers over 4M come from. Also, the code points of the diacritics used for 500–900, and 100,000–9,000,000 are not confirmed as accurate (though they should look right). (There are so many similar diacritics to choose from in Syriac!)

You can experiment with these numbers using the Counter styles converter. Look for Syriac script/Assyrian. Examples of results: ܝܐ. 11 ܠܚ. 38 ܥܛ. 79 ܬܦܘ. 486 ܐ݇ܨ݁ܣܓ. 1963 ܒ݇ܝܕ. 2014

See also https://r12a.github.io/scripts/syriac/syrc-aii#native_numbers

r12a commented 2 years ago

This style cannot be produced simply by the usual patterns because kaph, mim, and nun (20, 40, 50) are doubled when they occur alone but not when they occur with other letters.

See the description at https://www.w3.org/TR/2002/WD-css3-lists-20021107/#syriac for a dedicated algorithm.

Differences between the Davis scheme and that of https://lists.w3.org/Archives/Public/www-style/2002Oct/0006.html include use of double dots below for millions in the former, vs circumflex below for the latter. Also the former uses (different) double dots below for the 100,000 range, whereas that is not mentioned in the latter.