W3C home > Mailing lists > Public > www-style@w3.org > October 2002

Re: CSS3 Lists Modules and Syriac

From: Emil Soleyman-Zomalan <emil@nishra.com>
Date: Fri, 4 Oct 2002 16:23:22 -0700
To: Ian Hickson <ian@hixie.ch>
Cc: www-style@w3.org
Message-ID: <20021004232322.GA10077@nishra.com>

On Fri, 04 Oct 2002, Ian Hickson wrote:

: If someone can give me a detailed, comprehensive numbering system
: algorithm for it, I would be happy to add it to the lists module. What
: range does it cover? How are numbers generated? What exceptions are
: there? Is order important?

I don't believe that there is a comprehensive numbering system algorithm
for it. If need be I can try to write one for it in perl.


Letter		Hex		Number	 Exceptions
------------------------------------------------------------------------

Alaph		0x0710		1
Beth		0x0712		2
Gamal		0x0713		3
Dalath		0x0715		4
He		0x0717		5
Waw		0x0718		6
Zain		0x0719		7
Heth		0x071A		8
Teth		0x071B		9
Yudh		0x071D		10
Kaph Kaph	0x071F 0x071F	20	 When alone, letter is doubled
Lamadh		0x0720		30
Mim Mim		0x0721 0x0721	40	 When alone, letter is doubled
Nun Nun		0x0722 0x0722	50	 When alone, letter is doubled
Semkath		0x0723		60
E		0x0725		70
Pe		0x0726		80
Sadhe		0x0728		90
Qaph		0x0729		100
Rish		0x072A		200
Shin		0x072B		300
Taw		0x072C		400
Taw Qaph	0x072C 0x0729	500
Taw Rish	0x072C 0x072A	600
Taw Shin	0x072C 0x072B	700
Taw Taw		0x072C 0x072C	800
Taw Taw Qaph (2)0x072C 0x0729	900
Alaph Accent(A)	0x0710 0x0301	1000	 Combining Acute Accent multiplies 
					 value by 1000
Alaph Macron(M)	0x0710 0x0331	10000	 Combining Macron Below
					 multiplies value by 10,000
Alaph Circum(C)	0x0710 0x032D   10000000 Combining Circumflex Accent
					 Below multiplies value by
					 10,000,000


As you can see, the numeral system has a range of 1 to 10,000,000 when
it is used as shown but it can scale much higher when the different
value are combined. 

The numbers are generated from right to left. The ordering of the numerals 
is very important; for example, the number 276 is broken down as 200 
(0x072a), 70 (0x0725), 6 (0x0718).

Here are some numerical examples:

Letter			Hex					Number
----------------------------------------------------------------------

Yudh Alaph		0x071D 0x0710				11
Kaph Heth		0x071F 0x071A 				28
Lamadh He		0x0720 0x0717				35
Rish E Waw		0x072A 0x0725 0x0718			276
Taw Shin Kaph Alaph	0x072C 0x072B 0x071F 0x0710		721
Beth(C) Taw Qaph Alaph	0x0712 0x032D 0x072C 0x0729 0x0710	2501

: Of course it is quite possible that some numbering systems will be removed
: from the list before it reaches CR or REC, so my including it in the next
: draft is no guarentee that it will be included on the long term.

Understood.

-
Emil Soleyman-Zomalan
Received on Friday, 4 October 2002 19:21:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:16 GMT