- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 21 Apr 2011 22:29:51 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-lists In directory hutz:/tmp/cvs-serv16814 Modified Files: Overview.src.html Log Message: Changed over to a simpler model for Hebrew, allowing me to express it as an additive style. Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- Overview.src.html 21 Apr 2011 01:16:46 -0000 1.61 +++ Overview.src.html 21 Apr 2011 22:29:49 -0000 1.62 @@ -292,239 +292,6 @@ counter values. They must be overrideable like any other predefined counter style.</p> -<h4 id='hebrew'> -The 'hebrew' counter style</h4> - - <p>This is a simple additive system defined for the range 1 to 999999. - The digits are split into two groups of three. Within each group, - appropriate digits are picked from the following list (at most one per - column) and written in descending order by value (hundreds first). If - there is more than one group, the first group is followed by U+05F3 HEBREW - PUNCTUATION GERESH.</p> - - <table> - <caption>Hebrew numbering system</caption> - <thead> - <tr> - <th colspan="3">Hundreds - <th colspan="3">Tens - <th colspan="3">Units - <tr> - <th>Values - <th colspan="2">Codepoints - <th>Values - <th colspan="2">Codepoints - <th>Values - <th colspan="2">Codepoints - <tbody> - <tr> - <td>100 - <td>ק - <td>U+05E7 - <td>10 - <td>י - <td>U+05D9 - <td>1 - <td>א - <td>U+05D0 - <tr> - <td>200 - <td>ר - <td>U+05E8 - <td>20 - <td>כ - <td>U+05DB - <td>2 - <td>ב - <td>U+05D1 - <tr> - <td>300 - <td>ש - <td>U+05E9 - <td>30 - <td>ל - <td>U+05DC - <td>3 - <td>ג - <td>U+05D2 - <tr> - <td>400 - <td>ת - <td>U+05EA - <td>40 - <td>מ - <td>U+05DE - <td>4 - <td>ד - <td>U+05D3 - <tr> - <td>500 - <td>תק - <td>U+05EA U+05E7 - <td>50 - <td>נ - <td>U+05E0 - <td>5 - <td>ה - <td>U+05D4 - <tr> - <td>600 - <td>תר - <td>U+05EA U+05E8 - <td>60 - <td>ס - <td>U+05E1 - <td>6 - <td>ו - <td>U+05D5 - <tr> - <td>700 - <td>תש - <td>U+05EA U+05E9 - <td>70 - <td>ע - <td>U+05E2 - <td>7 - <td>ז - <td>U+05D6 - <tr> - <td>800 - <td>תת - <td>U+05EA U+05EA - <td>80 - <td>פ - <td>U+05E4 - <td>8 - <td>ח - <td>U+05D7 - <tr> - <td>900 - <td>תתק - <td>U+05EA U+05EA U+05E7 - <td>90 - <td>צ - <td>U+05E6 - <td>9 - <td>ט - <td>U+05D8 - </table> - - <p>If the last two digits of a group (when represented in decimal) are 15 - or 16, they should be expressed not as יה U+05D9 U+05D4 - (10+5) and יו U+05D9 U+05D5 (10+6), but as - טו U+05D8 U+05D5 (9+6) and טז U+05D8 U+05D6 - (9+7). This is done to avoid a close resemblance to the Tetragrammaton - (four-letter name of God) יהוה U+05D9 U+05D4 - U+05D5 U+05D4. Although this convention is originally derived from - religious practice, it is universally used even in completely secular - contexts.</p> - - <p>The suffix for the hebrew numbering system is a dot (. U+002E - FULL STOP).</p> - - <p>Numbers outside the range of the Hebrew system are rendered using the - ''decimal'' counter style.</p> - - <div class="example"> - <p>This table shows the decimal number in the first cell, and the - equivalent hebrew number in the second.</p> - - <table class="hebrew-example"> - <thead> - <tr> - <th>Decimal - <th>Hebrew - <tbody> - <tr> - <td>-3 - <td>-3 - <tr> - <td>-2 - <td>-2 - <tr> - <td>-1 - <td>-1 - <tr> - <td>0 - <td>0 - <tr> - <td>1 - <td>א - <tr> - <td>2 - <td>ב - <tr> - <td>3 - <td>ג - <tr> - <td>4 - <td>ד - <tr> - <td>5 - <td>ה - <tbody> - <tr> - <td>97 - <td>צז - <tr> - <td>98 - <td>צח - <tr> - <td>99 - <td>צט - <tr> - <td>100 - <td>ק - <tr> - <td>101 - <td>קא - <tr> - <td>944 - <td>תתקמד - <tr> - <td>945 - <td>תתקמה - <tr> - <td>946 - <td>תתקמו - <tr> - <td>999 - <td>תתקצט - <tbody> - <tr> - <td>1000 - <td>א׳ - <tr> - <td>1001 - <td>א׳א - <tr> - <td>1998 - <td>א׳תתקצח - <tr> - <td>1999 - <td>א׳תתקצט - <tr> - <td>2000 - <td>ב׳ - <tr> - <td>2001 - <td>ב׳א - <tr> - <td>2003 - <td>ב׳ג - <tr> - <td>2748 - <td>ב׳תשמח - <tr> - <td>2750 - <td>ב׳תשנ - </table> - - <p>This example (like all other examples) is non-normative. If one of - the numbers above is inconsistent with the rules described above, then - the example should be disregarded.</p> - </div> - <h4 id='ethiopic-numeric'> The 'ethiopic-numeric' counter style</h4> @@ -2973,6 +2740,15 @@ /* Additive */ +@counter-style hebrew { + type: additive; + range: 1 ???; + additive-glyphs: 400 '\5EA', 300 '\5E9', 200 '\5E8', 100 '\5E7', 90 '\5E6', 80 '\5E4', 70 '\5E2', 60 '\5E1', 50 '\5E0', 40 '\5DE', 30 '\5DC', 20 '\5DB', 19 '\5D9\5D8', 18 '\5D9\5D7', 17 '\5D9\5D6', 16 '\5D8\5D6', 15 '\5D8\5D5', 10 '\5D9', 9 '\5D8', 8 '\5D7', 7 '\5D6', 6 '\5D5', 5 '\5D4', 4 '\5D3', 3 '\5D2', 2 '\5D1', 1 '\5D0'; + /* 400 'ת', 300 'ש', 200 'ר', 100 'ק', 90 'צ', 80 'פ', 70 'ע', 60 'ס', 50 'נ', 40 'מ', 30 'ל', 20 'כ', 10 'י', 9 'ט', 8 'ח', 7 'ז', 6 'ו', 5 'ה', 4 'ד', 3 'ג', 2 'ב', 1 'א' */ + /* This system manually specifies the values for 19-15 to force the correct display of 15 and 16, which are commonly + rewritten to avoid a close resemblance to the Tetragrammaton. */ +} + @counter-style simple-upper-roman { type: additive; range: 1 4999;
Received on Thursday, 21 April 2011 22:29:53 UTC