Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Wolfgang Schuster
Am 03.05.2012 um 06:58 schrieb Aditya Mahajan: On Wed, 2 May 2012, Hans Hagen wrote: On 1-5-2012 21:43, Aditya Mahajan wrote: Hi, Line numbering does not respect the parameters given with \startlinenumbering. For example: Line numbering is a delayed operation. As they are handled when

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Aditya Mahajan
On Thu, 3 May 2012, Wolfgang Schuster wrote: You assume \definelinenumbering has a second argument for the settings but this isn’t the case D'oh. and you need \setuplinenumbering to set them. I also needed to change \setvalue to \setevalue in the example, and add an \expanded to get it

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Wolfgang Schuster
Am 03.05.2012 um 17:18 schrieb Aditya Mahajan: On Thu, 3 May 2012, Wolfgang Schuster wrote: You assume \definelinenumbering has a second argument for the settings but this isn’t the case D'oh. and you need \setuplinenumbering to set them. I also needed to change \setvalue to

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Aditya Mahajan
On Thu, 3 May 2012, Wolfgang Schuster wrote: Am 03.05.2012 um 17:18 schrieb Aditya Mahajan: On Thu, 3 May 2012, Wolfgang Schuster wrote: You assume \definelinenumbering has a second argument for the settings but this isn’t the case D'oh. and you need \setuplinenumbering to set them.

Re: [NTG-context] Bug with linenumbering

2012-05-02 Thread Hans Hagen
On 1-5-2012 21:43, Aditya Mahajan wrote: Hi, Line numbering does not respect the parameters given with \startlinenumbering. For example: Line numbering is a delayed operation. As they are handled when the page is constructed the settings of that moment apply. In practice only the start key

Re: [NTG-context] Bug with linenumbering

2012-05-02 Thread Aditya Mahajan
On Wed, 2 May 2012, Hans Hagen wrote: On 1-5-2012 21:43, Aditya Mahajan wrote: Hi, Line numbering does not respect the parameters given with \startlinenumbering. For example: Line numbering is a delayed operation. As they are handled when the page is constructed the settings of that moment

[NTG-context] Bug with linenumbering

2012-05-01 Thread Aditya Mahajan
Hi, Line numbering does not respect the parameters given with \startlinenumbering. For example: \definelinenumbering [test] \starttext \startlinenumbering[test][color=blue,align=flushright,distance=0.5em] \input knuth \stoplinenumbering \page \setuplinenumbering

Re: [NTG-context] Bug with linenumbering

2012-05-01 Thread Aditya Mahajan
On Tue, 1 May 2012, Aditya Mahajan wrote: Line numbering does not respect the parameters given with \startlinenumbering. I think that the state at the end of the page flush is used, rather than the state at the beginning of line numbering. An example illustrating this: