Re: [NTG-context] vim module: modify line wrapping

2015-05-14 Thread Aditya Mahajan
On Wed, 13 May 2015, Andreas Schneider wrote: Here is an example: \usemodule[vim] \definevimtyping[JSON][syntax=javascript, lines=split, strip=yes] Add `option=hyphenated`. \starttext The example: \startJSON

[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] vim module: modify line wrapping

2015-05-14 Thread Aditya Mahajan
On Thu, 14 May 2015, Aditya Mahajan wrote: On Wed, 13 May 2015, Andreas Schneider wrote: Here is an example: \usemodule[vim] \definevimtyping[JSON][syntax=javascript, lines=split, strip=yes] Add

[NTG-context] \placeongrid command

2015-05-14 Thread Csikos Bela
Hello list members: Based on co-pagedesign.pdf document I'm experimenting with grids. I followed the examples mentioned on page 9-10 (Section 1.5) and used the code below: %begin code \setuplayout[grid=yes] \showgrid \starttext This is a line. This is another line in another paragraph.

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

[NTG-context] Setup narrower body text for sections

2015-05-14 Thread Kate F
Hi, I'm typesetting unix manpages, where I want each section heading to be outset slightly relative to the body text of that section. In other words, I want the body text to have a left margin which is narrower than the page width. I know I can do this with something like:

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] Setup narrower body text for sections

2015-05-14 Thread Pablo Rodriguez
On 05/14/2015 06:16 PM, Kate F wrote: Hi, I'm typesetting unix manpages, where I want each section heading to be outset slightly relative to the body text of that section. In other words, I want the body text to have a left margin which is narrower than the page width. Hi Kate, a quick

[NTG-context] bug in latest beta?

2015-05-14 Thread Pablo Rodriguez
Hans, after upgrading to beta from 2015.05.13 23:52, the compilation of most of my documents crashes. I get two different errors depending on the document: error: .../ctxbeta/tex/texmf-context/tex/context/base/typo-itc.lua:148: attempt to call global 'setfield' (a nil value) error:

Re: [NTG-context] Setup narrower body text for sections

2015-05-14 Thread Aditya Mahajan
On Thu, 14 May 2015, Kate F wrote: Hi, I'm typesetting unix manpages, where I want each section heading to be outset slightly relative to the body text of that section. In other words, I want the body text to have a left margin which is narrower than the page width. I know I can do this with

Re: [NTG-context] Setup narrower body text for sections

2015-05-14 Thread Kate F
On 14 May 2015 at 21:33, Aditya Mahajan adit...@umich.edu wrote: On Thu, 14 May 2015, Kate F wrote: Hi, I'm typesetting unix manpages, where I want each section heading to be outset slightly relative to the body text of that section. In other words, I want the body text to have a 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;

Re: [NTG-context] bug in latest beta?

2015-05-14 Thread Pablo Rodriguez
On 05/14/2015 10:46 PM, Pablo Rodriguez wrote: Hans, after upgrading to beta from 2015.05.13 23:52, the compilation of most of my documents crashes. I get two different errors depending on the document: error: .../ctxbeta/tex/texmf-context/tex/context/base/typo-itc.lua:148: attempt to

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-05-14 Thread Christian Prim
Thanks Hans with context-version 2015.05.13 23:52 it finally works on my side! Thanks for the fix! Christian 2015-04-25 23:18 GMT+02:00 Hans Hagen pra...@wxs.nl: On 4/24/2015 3:05 PM, Christian Prim wrote: Hi Hans I don't know if the latest beta already has the new code. But I can