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 13:14:28 +0100	[thread overview]
Message-ID: <50B75561-799D-41EB-BD2A-2580419B0A58@gmail.com> (raw)
In-Reply-To: <55FD0A9F-1246-4B90-A0A4-A0CB90BEFE9C@st.estfiles.de>

On 1 févr. 08, at 12:15, Steffen Wolfrum wrote:

> […]
>
> Maybe I missed the point: don't both lines produce the same output:
> ۱۲۳ ۴۵۶ ۷۸۹ ?
>
>
> \TeXXeTstate=1
> \definedfont["GeezaPro" at 16pt]
>
> \starttext
> ۱۲۳ ۴۵۶ ۷۸۹
>
> \beginL
> ۱۲۳ ۴۵۶ ۷۸۹
> \endL
>
> \stoptext
>
>
> ... or was this a confusion of multi-script e-mails?
>

Hi Steffen,

Indeed you are right. But the point is that when writing a text in  
Persian, or rather any RL text, in principle the beginning of the file  
is:

\TeXXeTstate=1
\everypar={\setbox0=\lastbox \beginR \box0 }

and therefore the output is different than the one you get. If one  
omits the second or both of the above two lines, again the output is  
as one intends, but the difficulty comes from the fact that (at least  
in Persian) when one writes some text containing a number, the digits  
and the separators, which can be the comma U+002C, the space, or the  
"slash" U+002F called Solidus (?) for writing fractions, should be  
typeset Left-to-Right. In particular compare the following for writing
the number 123 456 789.01:


۱۲۳ ۴۵۶ ۷۸۹,۰۱

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

Indeed the first one results in something meaningless.

Best regards: OK

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2008-02-01 12:14 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
2008-02-01 11:15       ` Steffen Wolfrum
2008-02-01 12:14         ` Otared Kavian [this message]
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=50B75561-799D-41EB-BD2A-2580419B0A58@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).