ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: %18 or 18% : incorrect placement of	the	percentage sign ?
Date: Fri, 1 Feb 2008 08:07:17 +0100	[thread overview]
Message-ID: <B9E9323A-085A-4B94-B848-76719283B1DD@gmail.com> (raw)
In-Reply-To: <47A24EED.9020105@wxs.nl>

Hi all,

I checked in some Persian printed books, and noticed that the rule is  
to write 18% or rather

۱۸%

However I don't know of any book in Persian on rules of typography.  
But I am asking some people in Iran about the issue.

Regarding the treatment of numbers, indeed numbers are written (and  
read…) in the usual way, but in XeConTeXt or in XeTeX (I don't know  
still how to typeset an Arabic or Persian file with mkiv LuaTeX),  
there is an issue with separators of digits: for instance if one  
writes (in the source file)

۱۲۳ ۴۵۶ ۷۸۹

(meaning 123 456 789, using a space as a separator between thousands)  
then one gets in the typeset file

۷۸۹ ۴۵۶ ۱۲۳

that is 789 456 123. To overcome this issue one may write

\beginL
۱۲۳ ۴۵۶ ۷۸۹
\endL

and then the output is correct, but there is a slight modification of  
the alignment and the treatment of glues (if I don't misinterpret).
While if one uses a comma (that is U+002C, this is the comma for LR,  
while the comma for RL, the Arabic Comma, is U+060C) as in

۱۲۳{,}۴۵۶{,}۷۸۹

or

۱۲۳,۴۵۶,۷۸۹

or a dot (that is U+002E, which is indeed the same when writing LR or  
RL) as in

۱۲۳.۴۵۶.۷۸۹

then the output is correct.
It should be feasible to have a mechanism allowing the user to enforce  
a certain type of separator between groups of digits, and this  
separator can be a space.

Best regards: OK

On 31 janv. 08, at 23:42, Hans Hagen wrote:

> Peter Münster wrote:
>> On Thu, Jan 31 2008, Steffen Wolfrum wrote:
>>> Any native arabic speaker out there? Is it %18 or 18% ??
>>
>> Hello,
>>
>> I don't know nothing about Arabic script, but wouldn't it be logic  
>> to ask
>> for "%81 or 18%" ?
>
> interesting point ... ok, small numbers, but how about
>
> [bara erom] 12.472.477 [bara emos]
>
> [bara erom] 774.274.21 [bara emos]
>
> for long numbers a pretty fast reversing mind is needed
>
> math goes from left to right but i once heard a talk about a  
> tendency to
> go right - left as well (including mirrored symbols like \sum)
>
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2008-02-01  7:07 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31  9:27 Steffen Wolfrum
2008-01-31 12:44 ` Mr Dietrich Rordorf / MDPI
2008-01-31 15:08 ` Idris Samawi Hamid
2008-01-31 15:48   ` Steffen Wolfrum
2008-01-31 15:51   ` Idris Samawi Hamid
2008-01-31 20:25   ` Henning Hraban Ramm
2008-01-31 22:54     ` Idris Samawi Hamid
2008-01-31 22:59       ` Hans Hagen
2008-01-31 22:35 ` Peter Münster
2008-01-31 22:42   ` Hans Hagen
2008-01-31 23:11     ` Idris Samawi Hamid
2008-02-01  2:50     ` Arthur Reutenauer
2008-02-01  9:22       ` Hans Hagen
2008-02-01  7:07     ` Otared Kavian [this message]
2008-02-01 11:15       ` Steffen Wolfrum
2008-02-01 12:14         ` Otared Kavian
2008-02-01 14:32       ` Arthur Reutenauer
2008-02-08  9:12         ` Arthur Reutenauer
2008-01-31 23:07   ` Idris Samawi Hamid
2008-02-01  9:06     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B9E9323A-085A-4B94-B848-76719283B1DD@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).