Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-16 Thread Mojca Miklavec
On Fri, May 15, 2015 at 7:07 PM, luigi scarso wrote: a patch is available in trunk, rev. 5244 (not in TeXLive 2015) . Thank you, but something seems wrong. \starttext \hsize=2cm \dorecurse{10}{hi } $$a\eqno(a)$$ \placeformula \startformula a \stopformula $$a^2+b^2=c^2\eqno(b)$$

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-16 Thread Hans Hagen
On 5/16/2015 6:58 PM, Mojca Miklavec wrote: \hsize=2cm $$a^2+b^2=c^2\eqno(b)$$ It's what happens with a too wide formula + number (in context you see an extra shift as we also have some distance between the formula and number). It's sort of a side effect of lack of control over what

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-15 Thread luigi scarso
On Fri, May 15, 2015 at 12:06 AM, Hans Hagen pra...@wxs.nl wrote: On 5/14/2015 7:56 PM, luigi scarso wrote: Ah ok Following the link above for the tracker 807, I have made the patch if ((eqno_box != null) (eqno_w == 0) !l) { tail_append(new_penalty(inf_penalty));

[NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread Mojca Miklavec
Hi, I suspect that the equation numbering in attachment (eq-with-chapter.png) is wrong. Shouldnt't the number be positioned on the right (not on the left)? And in case that this positioning on the left is intentional: is there any way or setting to force the equation number to be moved to the

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread Aditya Mahajan
On Thu, 14 May 2015, luigi scarso wrote: On Thu, May 14, 2015 at 5:45 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 14 May 2015, Mojca Miklavec wrote: Hi, I suspect that the equation numbering in attachment (eq-with-chapter.png) is wrong. Shouldnt't the number be positioned on the

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread luigi scarso
On Thu, May 14, 2015 at 5:45 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 14 May 2015, Mojca Miklavec wrote: Hi, I suspect that the equation numbering in attachment (eq-with-chapter.png) is wrong. Shouldnt't the number be positioned on the right (not on the left)? And in case that

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread luigi scarso
On Thu, May 14, 2015 at 7:28 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 14 May 2015, luigi scarso wrote: On Thu, May 14, 2015 at 5:45 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 14 May 2015, Mojca Miklavec wrote: Hi, I suspect that the equation numbering in

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread Alan BRASLAU
On Thu, 14 May 2015 18:44:53 +0200 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Thu, May 14, 2015 at 5:45 PM, Aditya Mahajan wrote: On Thu, 14 May 2015, Mojca Miklavec wrote: Hi, I suspect that the equation numbering in attachment (eq-with-chapter.png) is wrong. Shouldnt't

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread Mojca Miklavec
On Thu, May 14, 2015 at 5:45 PM, Aditya Mahajan wrote: On Thu, 14 May 2015, Mojca Miklavec wrote: Hi, I suspect that the equation numbering in attachment (eq-with-chapter.png) is wrong. Shouldnt't the number be positioned on the right (not on the left)? And in case that this positioning on

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread Aditya Mahajan
On Thu, 14 May 2015, Mojca Miklavec wrote: Hi, I suspect that the equation numbering in attachment (eq-with-chapter.png) is wrong. Shouldnt't the number be positioned on the right (not on the left)? And in case that this positioning on the left is intentional: is there any way or setting to

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread Alan BRASLAU
On Thu, 14 May 2015 15:54:16 +0200 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Hi, I suspect that the equation numbering in attachment (eq-with-chapter.png) is wrong. Shouldnt't the number be positioned on the right (not on the left)? And in case that this positioning on the left

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread Hans Hagen
On 5/14/2015 7:56 PM, luigi scarso wrote: Ah ok Following the link above for the tracker 807, I have made the patch if ((eqno_box != null) (eqno_w == 0) !l) { tail_append(new_penalty(inf_penalty)); shift_amount(eqno_box) = line_s + line_w - eqno_w;