Thank you very much for this, Idris. It works nicely in the sample file you 
sent. But it goes off again once you add \setupdirections[bidi=global]. 
Consider the following:

==========
\setuppapersize[A6]
\definefontfamily[mainface][serif][ALMFixed][%
        features=arabic,
        range=arabic,
        ]
\setupbodyfont [mainface]

\starttext \showframe
\setupdirections[bidi=global]

\setupthinrules[color=white]
\setupwhitespace[big]

\section{Incorrect}
\startlinenumbering
\startalignment[r2l]
هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير.
هذه رسالة جامعة مانعة ألفها الشيخ الفاضل...
\thinrule

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque molestie 
dictum quam non congue. Integer ut dolor vel mi vestibulum molestie vel et 
nulla.
\stopalignment
\stoplinenumbering

\section{Correct}
\startalignment[r2l]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque molestie 
dictum quam non congue. Integer ut dolor vel mi vestibulum molestie vel et 
nulla.
\stopalignment

\stoptext
=============

With many thanks, and salam,
Talal

> On 2 Aug 2015, at 12:51, Idris Samawi Hamid ادريس سماوي حامد 
> <idris.ha...@colostate.edu> wrote:
> 
> On Sun, 02 Aug 2015 03:24:12 -0600, tala...@fastmail.fm <tala...@fastmail.fm> 
> wrote:
> 
>> Thanks for that, Wolfgang. I can only hope that, as the culprit is known, it 
>> can be apprehended!
> 
> Talal, here is a barbarous workaround using \thinrule:
> 
> ======================
> \setuppapersize[A6]
> \starttext \showframe
> 
> \setupthinrules[color=white]
> \setupwhitespace[big]
> 
> \section{Incorrect}
> \startlinenumbering
> \startalignment[r2l]
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque 
> molestie dictum quam non congue. Integer ut dolor vel mi vestibulum molestie 
> vel et nulla.\thinrule
> 
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque 
> molestie dictum quam non congue. Integer ut dolor vel mi vestibulum molestie 
> vel et nulla.
> \stopalignment
> \stoplinenumbering
> 
> \section{Correct}
> \startalignment[r2l]
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque 
> molestie dictum quam non congue. Integer ut dolor vel mi vestibulum molestie 
> vel et nulla.
> \stopalignment
> 
> \stoptext
> ======================
> 
> This effectively hides the problem. Unfortunately it is apparently not 
> straightforward to invoke the \thinrule automatically at the end of every 
> paragraph [see the other thread with Alan].
> 
> Best wishes
> Idris
> -- 
> Idris Samawi Hamid
> Professor of Philosophy
> Colorado State University
> Fort Collins, CO 80523
> ___________________________________________________________________________________
> 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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to