Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-03 Thread tala...@fastmail.fm
In a separate thread ("r2l alignment and linenumbering conflict?"), we've gotten numerals in an Arabic RTL document to (a) display as Arabic numerals, and (b) to order their digits in the right order (e.g. 2015 instead of 5102). By defining the headstyle of linenotes, we can even get linenotes to

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-02 Thread tala...@fastmail.fm
Thank you, Pablo, for bringing method=two to my attention. I’ve read what has been written about in on the mailing list. However, in my case, it does not solve the problem. On the document I’ve attached: - using method=default produces the error I raised yesterday; - using method=one (or

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-02 Thread Pablo Rodriguez
On 08/02/2015 12:36 AM, tala...@fastmail.fm wrote: I’ve run into a hiccup. In the previous MWE that worked with Woflgang and Hans’ patch, the notes were footnotes. However, if make them into linenotes, we run into a strange problem: the first note is typeset correctly, but all the remaining

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-02 Thread Pablo Rodriguez
On 08/02/2015 12:02 PM, tala...@fastmail.fm wrote: Apologies: While the problem remains, I realise now that using method=one or method=two wasn’t having any effect because I had forgotten to add the option align=righttoleft,” to \setupnotations[lnote]”. Having done so, adding the method

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-02 Thread talazem
Apologies: While the problem remains, I realise now that using method=one or method=two wasn’t having any effect because I had forgotten to add the option align=righttoleft,” to \setupnotations[lnote]”. Having done so, adding the method options do have an effect. But the output is still flawed;

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-02 Thread Pablo Rodriguez
On 08/02/2015 12:47 PM, Pablo Rodriguez wrote: [...] Hi Talal, replace you bidi settings with these ones: [...] At least, they work for me. Talal, sorry for the noise, the first linenote has the problem you described. I thought it belonged to the second linenote. Pablo --

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-02 Thread tala...@fastmail.fm
Thanks for the help, Pablo, but, unfortunately, this is not solvingthe problem (at least over here): The beginning of the third footnote/linenote is still missing. It should read (at the end of line one and at the beginning of line two of the notes):0 وهذهتعليقةThe end of line one is dropped. I

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-01 Thread tala...@fastmail.fm
I’ve run into a hiccup. In the previous MWE that worked with Woflgang and Hans’ patch, the notes were footnotes. However, if make them into linenotes, we run into a strange problem: the first note is typeset correctly, but all the remaining linenotes in that stream are typeset on the bottom

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-31 Thread Hans Hagen
On 7/31/2015 1:07 PM, tala...@fastmail.fm wrote: Excellent. This seems to solve the problem completely. I even tried mixing Arabic and English text in the RTL footnotes, switched on the “alternative=serried” option, and defined my own custom note streams — everything worked very well. The

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-31 Thread Idris Samawi Hamid ادريس سماوي حامد
Talal, Wolfgang, Hans, Salaam. This is beautiful progress! Nice Arabic editing font in the sample too -) Best wishes Idris On Fri, 31 Jul 2015 05:07:45 -0600, tala...@fastmail.fm tala...@fastmail.fm wrote: Excellent. This seems to solve the problem completely. I even tried mixing Arabic

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-31 Thread Hans Hagen
On 7/31/2015 1:51 AM, tala...@fastmail.fm wrote: You’re right. The patch gets us half way to the desired behaviour (namely, correct ordering of the footnotes within the paragraph). But it seems that the ‘paragraph’ option doesn’t play well with RTL generally, resulting in the second note

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-31 Thread tala...@fastmail.fm
Excellent. This seems to solve the problem completely. I even tried mixing Arabic and English text in the RTL footnotes, switched on the “alternative=serried” option, and defined my own custom note streams — everything worked very well. The only thing that didn’t work is to mix, in the same

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
I wonder whether anyone might have any thoughts about the below? Many thanks. On 21 Jul 2015, at 20:56, tala...@fastmail.fm wrote: I’m reviving this old thread, as the problem appears to still exist. Consider the following: \starttext \showframe

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
Thank you, Pablo. This is indeed the problem: the individual elements — the notes — are correctly RTL, but the overall “paragraph” is ordering the elements LTR (with the additional caveat the footnote paragraph is not properly aligned/justified to the right margin either). Best wishes, Talal

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Pablo Rodriguez
On 07/30/2015 04:43 PM, tala...@fastmail.fm wrote: Thank you, Pablo. This is indeed the problem: the individual elements — the notes — are correctly RTL, but the overall “paragraph” is ordering the elements LTR (with the additional caveat the footnote paragraph is not properly

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Pablo Rodriguez
On 07/30/2015 03:00 PM, tala...@fastmail.fm wrote: I wonder whether anyone might have any thoughts about the below? Many thanks. I wonder whether there is a bug somewhere in notes, because you may have r2l notations, but the notes paragraph is built l2r: \setuppapersize[A6] \starttext

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
You’re right. The patch gets us half way to the desired behaviour (namely, correct ordering of the footnotes within the paragraph). But it seems that the ‘paragraph’ option doesn’t play well with RTL generally, resulting in the second note disappearing when using \startsetups[note:footnote]

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Wolfgang Schuster
tala...@fastmail.fm mailto:tala...@fastmail.fm 30. Juli 2015 20:37 I’ve come across a snag. When using parentheses in Arabic footnotes, they are flipped. In any earlier email (http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global), you had advised adding the

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Wolfgang, On Thu, 30 Jul 2015 11:54:55 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Pablo Rodriguez mailto:oi...@gmx.es 30. Juli 2015 16:26 I wonder whether there is a bug somewhere in notes, because you may have r2l notations, but the notes paragraph is built l2r:

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
Indeed, that seems to do the trick, Wolfgang. On 30 Jul 2015, at 18:54, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Pablo Rodriguez mailto:oi...@gmx.es30. Juli 2015 16:26 I wonder whether there is a bug somewhere in notes, because you may have r2l notations, but the

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Pablo Rodriguez
On 07/30/2015 07:54 PM, Wolfgang Schuster wrote: Pablo Rodriguez 30. Juli 2015 16:26 I wonder whether there is a bug somewhere in notes, because you may have r2l notations, but the notes paragraph is built l2r: [...] Can you test the following patch. Hi Wolfgang, your patch works fine with

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
I’ve come across a snag. When using parentheses in Arabic footnotes, they are flipped. In any earlier email (http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global), you had advised adding the following: \startsetups[note:footnote]

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Wolfgang Schuster
Pablo Rodriguez mailto:oi...@gmx.es 30. Juli 2015 16:26 I wonder whether there is a bug somewhere in notes, because you may have r2l notations, but the notes paragraph is built l2r: \setuppapersize[A6] \starttext \showframe \definenote[afootnote][rule={on,right}, paragraph=yes]

[NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Talal Al-Azem
Dear all, Two quick questions regarding footnotes and Arabic: 1. How do I get a footnote rule/marker to go from right-to-left (i.e. to begin at the right margin instead of the left margin)? 2. I would like some of my footnote streams to run RtL for Arabic, and also for those footnotes to be

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Wolfgang Schuster
Am 05.10.2010 um 14:48 schrieb Talal Al-Azem: Dear all, Two quick questions regarding footnotes and Arabic: 1. How do I get a footnote rule/marker to go from right-to-left (i.e. to begin at the right margin instead of the left margin)? 2. I would like some of my footnote streams to

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Talal Al-Azem
Thanks Wolfgang. That makes that matter clearer. But how do I get those Arabic footnotes to be right aligned as well? May I also ask: what is the purpose, at least in my example that I'm learning from, of: \definefontfeature[arabic][default][mode=node,script=arabic] ? I ask, because when I

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Khaled Hosny
On Tue, Oct 05, 2010 at 03:18:31PM +0100, Talal Al-Azem wrote: Thanks Wolfgang. That makes that matter clearer. But how do I get those Arabic footnotes to be right aligned as well? May I also ask: what is the purpose, at least in my example that I'm learning from, of:

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Wolfgang Schuster
Am 05.10.2010 um 16:18 schrieb Talal Al-Azem: Thanks Wolfgang. That makes that matter clearer. But how do I get those Arabic footnotes to be right aligned as well? \definenote[afootnote][numberconversion=set 2,paragraph=yes,rule=right,align={flushright,righttoleft}] May I also ask: what

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Talal Al-Azem
Wolfgang, thank you once again. One last problem, if I may. Thanks Wolfgang. That makes that matter clearer. But how do I get those Arabic footnotes to be right aligned as well? \definenote[afootnote][numberconversion=set 2,paragraph=yes,rule=right,align={flushright,righttoleft}] After

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Hans Hagen
On 5-10-2010 5:07, Wolfgang Schuster wrote: Finally, so that I can start learning on my own without bothering you and everyone else on the list, where would I have systematically found a discussion of RtL feaures such as rule=right? Maybe in the list archive but often such things are

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Talal Al-Azem
Hans, running your example through (what I think is) the latest beta, does not produce any Arabic in the PDF, if that was intended. I've attached the PDF. Kind regards, Talal hansarabic.pdf Description: Adobe PDF document On 5 Oct 2010, at 16:25, Hans Hagen wrote: On 5-10-2010 5:07,

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Hans Hagen
On 5-10-2010 5:55, Talal Al-Azem wrote: Hans, running your example through (what I think is) the latest beta, does not produce any Arabic in the PDF, if that was intended. I've attached the PDF. do you have the font used (dejavu)

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Hans Hagen
On 5-10-2010 3:28, Wolfgang Schuster wrote: Dear all, Two quick questions regarding footnotes and Arabic: 1. How do I get a footnote rule/marker to go from right-to-left (i.e. to begin at the right margin instead of the left margin)? 2. I would like some of my footnote streams to run

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Talal Al-Azem
Hello Hans,I have no clue what you want/need/.Take a look at the files attached. In the text:1. The first afootnote is: * Hickory dickory dock.2. The second afootnote is: † The mouse ran up the clock.3. The third afootnote is: ‡ The clock struck one the mouse fell down.Now, in the apparatus: