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: mkiv: Bug in Right to Left numerals?
Date: Tue, 21 Oct 2008 19:19:51 +0200	[thread overview]
Message-ID: <8ADCB501-C96E-4E53-93EA-E82DA37EC3B2@gmail.com> (raw)
In-Reply-To: <a5a1faa10810210613g31b00169h5fbeb80ea7c45a85@mail.gmail.com>

On 21 oct. 08, at 15:13, Khaled Hosny wrote:

> This isn't actually a bug, \textdir TRT will reverse all text, try
> setting \setupdirection[bidi=global] to enable the "experimental"
> auto-bidi support.


Thanks Khaled for your attention, but what I get is:

! Undefined control sequence.
l.21 \setupdirection
                     [bidi=global]
?
Process aborted

Is this feature so experimental that it is not yet included in the  
latest beta?

Best regards: OK

>
>
> On Mon, Oct 20, 2008 at 11:02 PM, Otared Kavian <otared@gmail.com>  
> wrote:
>> Hi Hans, Taco, Idriss and the mkiv team,
>>
>> Since I have been unable to use mkiv until very recently I am not  
>> aware
>> whether the following bug has been addressed or not (Luigi Scarso  
>> taught me
>> how to install and use mkiv on Mac OS, last Sunday…).
>>
>> Below is a minimal file which shows that the numerals in Right-to- 
>> Left text
>> are reversed, while they shouldn't.
>> XeTeX and XeConTeXt behave correctly in this respect.
>>
>> If the bug is known, pardon me for the noise…
>> Best regards: OK
>>
>> %% begin file bug-RL-numerals.tex
>> \starttext
>>
>> \definefontfeature
>> [testPersian]
>> [analyze=yes,
>> mode=node,
>> language=dflt,
>> script=arab,
>> aalt=yes,
>> init=yes,
>> medi=yes,
>> fina=yes,
>> isol=yes,
>> liga=yes,
>> mset=yes]
>>
>> \font\FaarsiA=arabtype*testPersian at 36pt
>>
>> \startbuffer[faarsi]
>> این متن در سال ۲۰۰۸ مسیحی نوشته شده  
>> است.
>>
>> \stopbuffer
>> \pardir TLT
>> \textdir TLT
>> This file has been typeset on \currentdate{} at \currenttime, mkiv,  
>> ConTeXt
>> version \contextversion,
>> % LuaTeX version \luatexversion,
>> LuaTeX revision \luatexrevision,
>> (LuaTeX date stamp \luatexdatestamp).
>> \blank[6*big]
>> The number input as « 2008 » in Persian is written in the output  
>> as « 8002 »
>> in the following Persian text:
>> \blank[6*big]
>> \pardir TRT
>> \textdir TRT
>>
>> \FaarsiA
>> \getbuffer[faarsi]
>> \blank[6*big]
>>
>> \stoptext
>> %% end file bug-RL-numerals.tex
>>
>>
>>
>>
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>>
>>
>
>
>
> -- 
>  Khaled
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________

  reply	other threads:[~2008-10-21 17:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 11:02 Otared Kavian
2008-10-21 13:13 ` Khaled Hosny
2008-10-21 17:19   ` Otared Kavian [this message]
2008-10-22  7:02     ` Wolfgang Schuster
2008-10-22  9:14       ` Otared Kavian

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=8ADCB501-C96E-4E53-93EA-E82DA37EC3B2@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).