# [NTG-context] Bug with linenumbering

Thu May 3 20:59:32 CEST 2012

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.
>>
>> I also needed to change \setvalue to \setevalue in the example, and add an \expanded to get it to work.
>
> In MkIV \setuevalue is better the \setevalue and \normalunexpanded is faster than \expanded.
>
> The problem in your approach is that you can only set the style and color value with \definewhatever
> where I think it’s better to use \setupwhatever.

Thanks for both the tips!