[NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
Hi all, I'm trying to use \getparameters, but I'm doing it wrong. What I want to do is: define an environment which starts linenumbering and takes a key=value argument to define the start of the numbers. Here's what I tried (I also tried a few other things, such as \setvariables, but wasn't

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Wolfgang Schuster
Am 23.02.2012 um 09:05 schrieb Thomas A. Schmitz: Hi all, I'm trying to use \getparameters, but I'm doing it wrong. What I want to do is: define an environment which starts linenumbering and takes a key=value argument to define the start of the numbers. Here's what I tried (I also

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
On 02/23/2012 12:27 PM, Wolfgang Schuster wrote: \usemodule[annotation] \define[2]\NumberedblockquoteCommand {\setupindenting[no] \startlinenumbering[width=1cm][\annotationparameter{start}]% #2% \stoplinenumbering} \defineannotation [numberedblockquote]

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Wolfgang Schuster
Am 23.02.2012 um 12:42 schrieb Thomas A. Schmitz: On 02/23/2012 12:27 PM, Wolfgang Schuster wrote: \usemodule[annotation] \define[2]\NumberedblockquoteCommand {\setupindenting[no] \startlinenumbering[width=1cm][\annotationparameter{start}]% #2% \stoplinenumbering}

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread luigi scarso
On Thu, Feb 23, 2012 at 12:42 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On 02/23/2012 12:27 PM, Wolfgang Schuster wrote: \usemodule[annotation] \define[2]\NumberedblockquoteCommand   {\setupindenting[no]    \startlinenumbering[width=1cm][\annotationparameter{start}]%    #2%  

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Wolfgang Schuster
Am 23.02.2012 um 13:31 schrieb luigi scarso: Hm global effect.. you can use a namespaced one \enabletrackers[lines.numbers] \starttext Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread luigi scarso
On Thu, Feb 23, 2012 at 1:39 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.02.2012 um 13:31 schrieb luigi scarso: Hm global  effect.. you can use a namespaced one \enabletrackers[lines.numbers] \starttext Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Wolfgang Schuster
Am 23.02.2012 um 13:51 schrieb luigi scarso: On Thu, Feb 23, 2012 at 1:39 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.02.2012 um 13:31 schrieb luigi scarso: Hm global effect.. you can use a namespaced one \enabletrackers[lines.numbers] \starttext Lorem ipsum

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread luigi scarso
On Thu, Feb 23, 2012 at 2:00 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \definelinenumbering doesn’t use the commandhandler (see mult-aux.mkiv) but this can change. Ah, right. -- luigi ___ If

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
On 02/23/2012 01:29 PM, Wolfgang Schuster wrote: \def\startnumberedblockquote {\dosingleempty\dostartnumberedblockquote} \def\dostartnumberedblockquote[#1]% {\getrawparameters[numberedblockquote][start=1,#1]% \blank[line]% \begingroup \setupindenting[no]%