Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-04 Thread Otared Kavian
Hi Hans, Thanks for the new beta. As Idris pointed out, the logic you follow for naming greeknumerals, romannumerals, persiannumerals, arabicnumerals, and all others in core-con.lua, makes sense but I didn’t notice this logic before… Which means one may learn each and evry day :-) As far as

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-04 Thread Hans Hagen
On 8/4/2015 5:46 AM, tala...@fastmail.fm wrote: Hans, the beta is a solid step forward regarding bidi and Arabic support, and not just in footnotes. Thank you. However, it appears that my earlier declarations of ‘problem solved’ were a bit premature. Footnotes display everything correctly,

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Hans, On Mon, 03 Aug 2015 09:13:34 -0600, Hans Hagen pra...@wxs.nl wrote: On 8/3/2015 4:56 PM, Hans Hagen wrote: what would be the proper name for such a conversion? simplearabic? arabicdigits? [myconversion] [١,٢,٣,٤,٥,٦,٧,٨,٩,١٠, ١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠,

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
On 8/3/2015 5:42 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Hans, On Mon, 03 Aug 2015 09:13:34 -0600, Hans Hagen pra...@wxs.nl wrote: On 8/3/2015 4:56 PM, Hans Hagen wrote: what would be the proper name for such a conversion? simplearabic? arabicdigits? [myconversion]

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 03 Aug 2015 09:42:24 -0600, Idris Samawi Hamid ادريس سماوي حامد idris.ha...@colostate.edu wrote: U+: [0030-0039] - [0660-0669]: arabicdecimals U+: [0030-0039] - [06F0-06F9]: persiandecimals U+: [0030-0039]: latindecimals Just a reminder (and of course unicodedata.txt has this

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 03 Aug 2015 09:56:33 -0600, Hans Hagen pra...@wxs.nl wrote: On 8/3/2015 5:42 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Hans, On Mon, 03 Aug 2015 09:13:34 -0600, Hans Hagen pra...@wxs.nl wrote: On 8/3/2015 4:56 PM, Hans Hagen wrote: what would be the proper name for such a

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
Just to note: all numbers in the body text are having their digits placed individually right-to-left. Notice, in the attached PDF, how the ١٤ is displayed as ٤١, and how ١٨٧٢ is ٢٧٨١ … but also the footnote marker is ٣١ instead of ١٣ as it correctly is below in the footnote itself. Is there

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
On 8/3/2015 9:25 PM, Otared Kavian wrote: Hi Hans, Idris, Talal, Some years ago we had a discussion on the issue, but I don’t remember where we ended up… In my opinion, I think that the numberings should be maned as follows: arabicnumerals: should be ١,٢,٣,٤,٥,٦,٧,٨,٩,٠ persiannumerals:

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
Hans, the beta is a solid step forward regarding bidi and Arabic support, and not just in footnotes. Thank you. However, it appears that my earlier declarations of ‘problem solved’ were a bit premature. Footnotes display everything correctly, but not linenumber notes. Using the three bidi

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
what would be the proper name for such a conversion? simplearabic? arabicdigits? [myconversion] [١,٢,٣,٤,٥,٦,٧,٨,٩,١٠, ١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠, ۲۱,۲۲,۲۳,۲٤,۲٥,۲٦,۲۷,۲۸,۲۹,۳۰, another million entries Hans -

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
On 8/3/2015 4:56 PM, Hans Hagen wrote: what would be the proper name for such a conversion? simplearabic? arabicdigits? [myconversion] [١,٢,٣,٤,٥,٦,٧,٨,٩,١٠, ١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠, ۲۱,۲۲,۲۳,۲٤,۲٥,۲٦,۲۷,۲۸,۲۹,۳۰, another million entries the next beta will have:

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
On 8/3/2015 3:54 PM, tala...@fastmail.fm wrote: I am having problems with the directionality of numbers and mirrored characters (like parentheses). When using bidi, the numbers are inverted (5102 instead of 2015); with the explicit commands, the mirrored characters are inverted as well. we

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
Well, I don’t know if ‘solves’ the underlying questions that Hans wrote about, but after some more fiddling, I now have all the numbers appearing as I expect them to. It required specifying `method=two` as part of `\setupdirections[bidi=global,method=two]`. That, along with the

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Otared Kavian
Hi Hans, Idris, Talal, Some years ago we had a discussion on the issue, but I don’t remember where we ended up… In my opinion, I think that the numberings should be maned as follows: arabicnumerals: should be ١,٢,٣,٤,٥,٦,٧,٨,٩,٠ persiannumerals: should be ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ abjadnumerals:

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
I am having problems with the directionality of numbers and mirrored characters (like parentheses). When using bidi, the numbers are inverted (5102 instead of 2015); with the explicit commands, the mirrored characters are inverted as well.For reasons I think I understand, this is only happening in

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread tala...@fastmail.fm
Thanks for that, Wolfgang. I can only hope that, as the culprit is known, it can be apprehended! Idris: here is the document that I had sent (and many thanks to you and to Pablo for the more general advice): \unexpanded\def\doVariant#1#2#3% {\startlinenote[#1]{#2]

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread tala...@fastmail.fm
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,

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
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

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Talal, Salaam. See below: On Sun, 02 Aug 2015 07:31:37 -0600, tala...@fastmail.fm tala...@fastmail.fm wrote: 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:

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread tala...@fastmail.fm
Thank you very much for this, Idris. What with the other bugs and problems I’ve faced with R2L (in footnotes, etc.), I was starting to wonder whether a more explicit, rather than global, use of RTL might be a better approach. I’m going to experiment with them, at least to learn how to use them

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Talal, Salaam. Your tex file linertl.tex appears to be corrupted, could you either repost it or send it to me off list? I was also going to write something similar to Pablo. My suggestion is to move forward with the rest of your project and this will almost certainly be solved

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-01 Thread Pablo Rodriguez
On 08/01/2015 05:37 PM, tala...@fastmail.fm wrote: Sorry to pester, but this problem is barring me from moving my book project into ConTeXt this weekend. The use of linenumbers seems to throw off the R2L mechanism. Example of the problem attached. Hi Talal, I’m afraid that I don’t have a

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-01 Thread tala...@fastmail.fm
Sorry to pester, but this problem is barring me from moving my book project into ConTeXt this weekend.The use of linenumbers seems to throw off the R2L mechanism. Example ofthe problem attached. linertl.pdf Description: Adobe PDF document linertl.tex Description: application/applefile On 30 Jul

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-01 Thread Wolfgang Schuster
tala...@fastmail.fm mailto:tala...@fastmail.fm 1. August 2015 17:37 Sorry to pester, but this problem is barring me from moving my book project into ConTeXt this weekend. The use of linenumbers seems to throw off the R2L mechanism. Example of the problem attached. The culprit is the

[NTG-context] r2l alignment and linenumbering conflict?

2015-07-30 Thread tala...@fastmail.fm
There seems to be some limitation (or bug) in right-to-left (r2l) alignment, when used alongside linenumbering. Consider the following: \setuppapersize[A6] \starttext \showframe \section{Incorrect} \startlinenumbering \startalignment[r2l] Lorem ipsum dolor sit amet, consectetur