Skip to content

Commit

Permalink
Editorial suggestions for Najib's number text
Browse files Browse the repository at this point in the history
  • Loading branch information
r12a committed Aug 15, 2017
1 parent aea09c8 commit a9976ee
Showing 1 changed file with 31 additions and 33 deletions.
64 changes: 31 additions & 33 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1553,10 +1553,10 @@ <h4><a href="#h_Arabic_number_writing">Arabic number writing</a> </h4>
<p>Arabic numbers are written with the lowest significant digits to
the right and the highest digits to the left. That arrangement is
identical to the Western one, even though Arabic script is written
from right to left. Numbers with many digits use delimiters for the
decimal part and thousands separator :</p>
<p>Western digits use comma (U+002C) and full stop (U+002E)
indifferently as decimal and thousands separator: </p>
from right to left. Numbers with many digits use
decimal thousands separators.</p>
<p>European digits are used with <span class="uname"><span class="codepoint"><span lang="en">&#x002C;</span> [<span class="uname">U+002C COMMA</span>]</span> </span>and <span class="codepoint"><span lang="en">&#x002E;</span> [<span class="uname">U+002E FULL STOP</span>]</span>
as decimal and thousands separator, respectively, or vice versa.</p>
<ul>
<li>1.234,5 in Western (francophone) regions.</li>
<li>1,234.5 in Middle-East (anglophone) regions.</li>
Expand All @@ -1565,23 +1565,23 @@ <h4><a href="#h_Arabic_number_writing">Arabic number writing</a> </h4>
</ul>
<p>Arabic-Indic numerals use two specific separators:</p>
<ul>
<li>Arabic Decimal Separator ٫ (U+066B) like comma.</li>
<li>Arabic Thousand Separator ٬ (U+066C).</li>
<li><span class="codepoint"><span lang="ar" dir="rtl">&#x066B;</span> [<span class="uname">U+066B ARABIC DECIMAL SEPARATOR</span>]</span></li>
<li><span class="codepoint"><span lang="ar" dir="rtl">&#x066C;</span> [<span class="uname">U+066C ARABIC THOUSANDS SEPARATOR</span>]</span></li>
<li>Example : ١٬٢٣٤٫٥&nbsp;.</li>
</ul>
<p>An important fact to note here is the bidirectional category of
these numbers.</p>
<ul>
<li>European Digits (U+0030 - U+0039) are of category "EN - European
number",</li>
<li>Arabic-Indic Digits (U+0660 - U+0669) are "AN - Arabic number",</li>
number".</li>
<li>Arabic-Indic Digits (U+0660 - U+0669) are "AN - Arabic number".</li>
<li>Eastern Arabic-Indic Digits (U+06F0 - U+06F9) are classified "EN
- European number", differently from their counterpart just above.</li>
</ul>
<p>The difference in Bidi category between Arabic-Indic digits and
Eastern Arabic-Indic digits is due to the difference in Bidi
behavior desired in Arabic <i>vs</i>. Persian. </p>
<p class="issue"> What is the origin of this decision.</p>
<p class="issue"> What is the origin of this decision. More important, what is the observed effect of these differences in normal Arabic script text?</p>
<p>As a consequence, a sentence like « Five is written ۵ in Iran and ٥
in Egypt », say, will give (in RTL context) </p>
<p>« ‫Five is written ۵ in Iran and ٥ in Egypt‬ » </p>
Expand All @@ -1591,49 +1591,47 @@ <h4><a href="#h_Arabic_number_writing">Arabic number writing</a> </h4>
<section id="h_Arabic_number_in_other_uses">
<h4><a href="#h_Arabic_number_in_other_uses">Arabic number in other
uses</a></h4>
<p>Numbers do not always appear alone, and may come with other
characters like financial symbols, fraction sign, decimals and/or
thousands signs (excluding math expressions here). At first, there
are proper signs used for the script such as Arabic percent/permille
sign ٪ (U+066A) and ؉&nbsp; (U+0609), Arabic decimal " ٫ " (U+66B)
and thousands&nbsp; " ٬ " (U+066C) separators, mentioned earlier and
mostly used with Arabic-Indics. </p>
<p>Numbers do not always appear alone, and may appear alongside other
characters like financial symbols, fraction signs, decimal and/or
thousands signs (excluding math expressions here). Also there are Arabic-specific signs such as <span class="codepoint"><span lang="ar" dir="rtl">&#x0609;</span> [<span class="uname">U+0609 ARABIC-INDIC PER MILLE SIGN</span>]</span> and <span class="codepoint"><span lang="ar" dir="rtl">&#x066A;</span> [<span class="uname">U+066A ARABIC PERCENT SIGN</span>]</span>, as well as the Arabic decimal " ٫ " (U+66B)
and thousands&nbsp; " ٬ " (U+066C) separators, mentioned earlier. These are
mostly used with Arabic-Indic digits. </p>
<p>Numerals can also come separated by or mixed with space or other
signs. Example are phone numbers
+12&nbsp;34&nbsp;56&nbsp;78&nbsp;89, cars licence plate like
123&nbsp;د‎&nbsp;4,&nbsp; quantities 37.5°, &nbsp; ٥٠ كلم (50km)
etc. </p>
<p>A particular attention is needed here. Firstly, numbers have a weak
directionality with regards to Bidi algorithm. For example,
<p>Particular attention is needed here. Firstly, numbers have a weak
directionality with regards to the Bidi algorithm. For example,
alongside a number, certain otherwise neutral characters, such as
negative/positive sign, currency or degree symbols, are likely to be
treated as part of the number rather than a neutral.</p>
<p>Secondly, the placement of the accompanying signs and symbols may
depend on regions. Generally Middle East (or anglophone regions) vs.
Western (or francophone regions). This is not to mention punctuation
depend on the region: generally Middle East (or anglophone) vs.
Western (or francophone) regions. This is not to mention punctuation
signs.</p>
<ul>
<li> The percent sign is to be placed on the left after the number
(٪١٢ not ١٢٪), without space (٪&nbsp;١٢). With European numbers,
the % percent sign is sometime used, and placed indifferently on
the right or the left of the digits (12% or %12).</li>
<li>Arabic decimal and thousand sign obey to the same rule as for
<li> The percent sign is placed on the left after the number
(ie. ٪١٢ not *١٢٪), and without a space (*<span dir="rtl">٪&nbsp;١٢</span>). With European numbers,
<span class="codepoint"><span lang="en">&#x0025;</span> [<span class="uname">U+0025 PERCENT SIGN</span>]</span> is sometimes used, and can be placed either on
the right or the left of the digits (eg. 12% or %12).</li>
<li>Arabic decimal and thousand separators obey the same rule as for
European numbers (١٬٢٣٤٫٥٦). European signs are used with
European numbers (1.234,56 or 1,234.56).</li>
<li>Money or currency signs when they come alongside a number, are
to be placed at the left and be treated as part of the number
placed at the left and treated as part of the number
rather than a neutral (€12.3 or €١٢٫٣).</li>
<li>Unlike degree sign that is to be placed at the right of the
<li>On the other hand, degree signs are placed at the right of the
number (37.5°&nbsp;C, ٩٩٫٥°&nbsp;F) or (<span dir="rtl">37.5°&nbsp;م</span>,
<span dir="rtl">۹۹٫۵°&nbsp;ف</span>).</li>
<li>For quantities measurement, there should a
<li>When indicating quantity, there should a
separating space (<span dir="rtl">12&nbsp;كغ</span>, <span dir="rtl">٤٥&nbsp;مم</span>).
</li>
<li>The same apply when using range of values. (<span dir="rtl">12-15&nbsp;كغ</span>,
<li>The same rule applies when using range of values. (<span dir="rtl">12-15&nbsp;كغ</span>,
but <span dir="rtl">12٪-15٪&nbsp;كغ</span>).</li>
<li> Solidus sign " / " (U+002F) is used for fraction or ratio
notation. Fraction are noted for one-half, say, 2/1 or ٢/١, mostly
in RTL mode. There is no standard way, however, and some
<li><span class="codepoint"><span lang="en">&#x002F;</span> [<span class="uname">U+002F SOLIDUS</span>]</span> is used for fractions or ratio
notation. Fractions are noted for one-half, say, 2/1 or ٢/١, mostly
in RTL mode. There is no standard approach, however, and some
region/author may write 1/2 for European digits. </li>
<p class="issue">May be use image for examples.</p>
<li>Notation with Solidus sign " / " are used in:<br>
Expand All @@ -1658,7 +1656,7 @@ <h4><a href="#h_Arabic_number_in_other_uses">Arabic number in other
is a phone number or a sequence of digits? Which may be inverted
in RTL. A tip is to use a syntax like <code>12.34.56.78.90</code>
or <code>12-34-56-78-90</code> for phones.</p>
<p class="issue">May be mention the Decimal Separator Key Symbol " ⎖ " (U+2396),
<p class="issue">Maybe mention the Decimal Separator Key Symbol " ⎖ " (U+2396),
used with keyboards (resembles an apostrophe)</p>
</ul>
</section>
Expand Down

0 comments on commit a9976ee

Please sign in to comment.