Re: [NTG-context] bidi + protrusion issue in LMTX

2020-03-03 Thread Hans Hagen
On 3/2/2020 8:30 PM, Joseph wrote: Hi, I found that in some cases bidi text seems to inhibit protrusion feature in text typesetting in LMTX (works fine with luatex 1.10). MWE below (difference is in first paragraph, second is for comparison and is same in both): \language[fr]

[NTG-context] bidi + protrusion issue in LMTX

2020-03-02 Thread Joseph
Hi, I found that in some cases bidi text seems to inhibit protrusion feature in text typesetting in LMTX (works fine with luatex 1.10).MWE below (difference is in first paragraph, second is for comparison and is same in both): \language[fr]\mainlanguage[fr] 

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Hans Hagen
On 1/27/2019 7:15 PM, Rik Kabel wrote: That allows the compilation to complete, but method=three breaks other stuff. Try this: \starttext \setupdirections [bidi=on,method=three] \rightaligned{(( How is this?} \stoptext (I also see problems with boxes set in the margin where

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Rik Kabel
On 1/27/2019 12:07, Hans Hagen wrote: On 1/27/2019 12:59 AM, Rik Kabel wrote: Here is a much-closer-to minimal example.   \setupregister   [index] [maxwidth=4cm]   \setupdirections [bidi=on,method=two]   \starttext   .\index{Mairzy doats and dozy doats and liddle lamzy divey}   \placeindex   

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Hans Hagen
On 1/27/2019 12:59 AM, Rik Kabel wrote: Here is a much-closer-to minimal example.  \setupregister   [index] [maxwidth=4cm]  \setupdirections [bidi=on,method=two]  \starttext  .\index{Mairzy doats and dozy doats and liddle lamzy divey}  \placeindex  \stoptext With the \setupdirections

Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
And shorter still, isolating the problem to something in \limitatetext:  \setupdirections [bidi=on,method=two]  \starttext  \limitatetext {Mairzy doats and dozy doats and liddle lamzy divey} {4cm}  \stoptext -- Rik

Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
Here is a much-closer-to minimal example.  \setupregister   [index] [maxwidth=4cm]  \setupdirections [bidi=on,method=two]  \starttext  .\index{Mairzy doats and dozy doats and liddle lamzy divey}  \placeindex  \stoptext With the \setupdirections line removed, all is well. However, that line is

[NTG-context] Bidi-related register problem

2019-01-24 Thread Rik Kabel
Recent betas have introduced a bidi-related problem with register processing. In the following example, compilation generates a recoverable error when register processing has to trim an entry to fit maxwidth. The error is: luatex warning  > node filter: error:

Re: [NTG-context] bidi in footnotes

2018-06-27 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 27 Jun 2018 02:03:32 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد 23. Juni 2018 um 23:49 On Sat, 23 Jun 2018 07:10:27 -0600, Wolfgang Schuster wrote: When you use the global whitespace settings in footnotes you get the

Re: [NTG-context] bidi in footnotes

2018-06-27 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 23. Juni 2018 um 23:49 On Sat, 23 Jun 2018 07:10:27 -0600, Wolfgang Schuster wrote: When you use the global whitespace settings in footnotes you get the same space between each footnote entry. What can be done is to add

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 23 Jun 2018 07:10:27 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد 23. Juni 2018 um 14:17 On Fri, 22 Jun 2018 14:13:22 -0600, Wolfgang Schuster wrote: 2. a complete list of those typographical settings (bidi, whitespace,

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 23. Juni 2018 um 14:17 On Fri, 22 Jun 2018 14:13:22 -0600, Wolfgang Schuster wrote: 2. a complete list of those typographical settings (bidi, whitespace, etc,) which are have to explicitly setup for such environments?

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
oops, attached On Sat, 23 Jun 2018 06:17:27 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: On Fri, 22 Jun 2018 14:13:22 -0600, Wolfgang Schuster wrote: 2. a complete list of those typographical settings (bidi, whitespace, etc,) which are have to explicitly setup for such

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 22 Jun 2018 14:13:22 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد 22. Juni 2018 um 21:01 On Thu, 21 Jun 2018 08:36:52 -0600, Alan Braslau wrote: Many thanks. Is there (Hans? Wolfgang?) available somewhere 1. a complete

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 22 Jun 2018 14:13:22 -0600, Wolfgang Schuster wrote: 2. a complete list of those typographical settings (bidi, whitespace, etc,) which are have to explicitly setup for such environments? Whitespace etc. are unrelated to the problem above and can be changed with the normal

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Hans Hagen
On 6/22/2018 9:01 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Thu, 21 Jun 2018 08:36:52 -0600, Alan Braslau wrote: On Thu, 21 Jun 2018 06:20:45 -0600 Idris Samawi Hamid ادريس سماوي حامد wrote: Many thanks. Question: Is this use of setups now the "official" or preferred way to handle

Re: [NTG-context] bidi in footnotes

2018-06-22 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 22. Juni 2018 um 21:01 On Thu, 21 Jun 2018 08:36:52 -0600, Alan Braslau wrote: Many thanks. Is there (Hans? Wolfgang?) available somewhere 1. a complete list of these environments whose typographical settings are

Re: [NTG-context] bidi in footnotes

2018-06-22 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 21 Jun 2018 08:36:52 -0600, Alan Braslau wrote: On Thu, 21 Jun 2018 06:20:45 -0600 Idris Samawi Hamid ادريس سماوي حامد wrote: Many thanks. Question: Is this use of setups now the "official" or preferred way to handle footnote typography options? On the surface, it appears to be

Re: [NTG-context] bidi in footnotes

2018-06-21 Thread Alan Braslau
On Thu, 21 Jun 2018 06:20:45 -0600 Idris Samawi Hamid ادريس سماوي حامد wrote: > Many thanks. Question: Is this use of setups now the "official" or > preferred way to handle footnote typography options? On the surface, > it appears to be overkill. For the declaration > >

Re: [NTG-context] bidi in footnotes

2018-06-21 Thread Mohammad Hossein Bateni
I believe, you would need the setups, even if you had set up typescripts. For some reason, the environments for footnotes and marginnotes are different from that of the main content's. I got this solution from Wolfgang/Hans two years ago, so I suppose it's the officially recommended way. I do

Re: [NTG-context] bidi in footnotes

2018-06-21 Thread Idris Samawi Hamid ادريس سماوي حامد
Salaam, Mohammad Hossein, Otared, On Wed, 20 Jun 2018 15:27:56 -0600, Mohammad Hossein Bateni wrote: \startsetups[bidi:footnotes] \setupdirections[bidi=on] \stopsetups \setupnotes[footnote][setups=bidi:footnotes] On Wed, 20 Jun 2018 22:31:05 -0600, Otared Kavian wrote: % begin

Re: [NTG-context] bidi in footnotes

2018-06-20 Thread Otared Kavian
Hi Idriss, As Mohammad Hossein pointed out, adding a setups solves both problems you mentioned (font declaration and bidi in footnotes): % begin test-bidi-footnote.tex \setupdirections[bidi=global] \startsetups[bidi:footnotes] \setupdirections[bidi=on] \definedfont[file:almfixed.otf*arabic

Re: [NTG-context] bidi in footnotes

2018-06-20 Thread Mohammad Hossein Bateni
maybe something like this would help: \startsetups[bidi:footnotes] \setupdirections[bidi=on] \stopsetups \setupnotes[footnote][setups=bidi:footnotes] but I did not test it now. ‪On Wed, Jun 20, 2018 at 5:26 PM ‫Idris Samawi Hamid ادريس سماوي حامد‬‎ < idris.ha...@colostate.edu> wrote:‬ > Dear

[NTG-context] bidi in footnotes

2018-06-20 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, In the attached/following example, bidi is not applied in the footnote: \setupdirections[bidi=global] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \startfootnote \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \stopfootnote{} \stoptext

Re: [NTG-context] bidi protocols

2018-06-07 Thread Hans Hagen
On 6/7/2018 3:20 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Greetings, mtx-context | current version: 2018.06.02 22:34 In the following, bidi does not work: === \setupdirections[bidi=global] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \righttoleft

[NTG-context] bidi protocols

2018-06-06 Thread Idris Samawi Hamid ادريس سماوي حامد
Greetings, mtx-context | current version: 2018.06.02 22:34 In the following, bidi does not work: === \setupdirections[bidi=global] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \righttoleft Test امتحان test \stoptext === See attached. This used to

[NTG-context] bidi

2013-09-13 Thread Hans Hagen
Hi, -- experimental fix for framed inline direction (at some point we will come up with a more precise description .. also, only use the already posted boxing macros, don't rely on low level box + dir spec as context keep a state of directions independently of tex) -- fix for marks on fonts