Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-09 Thread Aditya Mahajan
On Wed, 9 Dec 2020, Wolfgang Schuster wrote: > > Actually, I cannot figure out how \writetolist works. According to > https://wiki.contextgarden.net/Command/writetolist, the 2nd argument is the > "number". But, for some reason, the list number doesn't show in placelist: > > > > > >

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-09 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 08.12.2020 um 20:05: On Tue, 8 Dec 2020, Aditya Mahajan wrote: Hi, On Tue, 8 Dec 2020, Hans Hagen wrote: On 12/8/2020 8:47 AM, Aditya Mahajan wrote: \usemodule[annotation] \defineannotation[test][alternative=paragraph] \starttext \placelist[test][criterium=all]

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-08 Thread Aditya Mahajan
On Tue, 8 Dec 2020, Aditya Mahajan wrote: > Hi, > > On Tue, 8 Dec 2020, Hans Hagen wrote: > > > On 12/8/2020 8:47 AM, Aditya Mahajan wrote: > > > \usemodule[annotation] > > > > > > \defineannotation[test][alternative=paragraph] > > > > > > \starttext > > > > > >

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-08 Thread Hans Hagen
On 12/8/2020 5:55 PM, Aditya Mahajan wrote: That will be nice. There is some overlap with strc-con, but that does not have any of the goodies which the annotation module provides. If Wolfgang doesn't have time I can do a first adaption to lmtx ... I leave the choice to him ... Hans

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-08 Thread Aditya Mahajan
Hi, On Tue, 8 Dec 2020, Hans Hagen wrote: > On 12/8/2020 8:47 AM, Aditya Mahajan wrote: > > \usemodule[annotation] > > > > \defineannotation[test][alternative=paragraph] > > > > \starttext > > > > \placelist[test][criterium=all] > > > > \starttest[title={This is a title}] > >\input ward

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-08 Thread Hans Hagen
On 12/8/2020 8:47 AM, Aditya Mahajan wrote: \usemodule[annotation] \defineannotation[test][alternative=paragraph] \starttext \placelist[test][criterium=all] \starttest[title={This is a title}] \input ward \stoptest \starttest[title={This is another title}, list={This is in the 2nd list}]

[NTG-context] Automatically setting the value of list key in annotation module

2020-12-07 Thread Aditya Mahajan
Hi, In the annotation module, is it possible to automatically set the value of the `list` key to be the same as the value of `title` key (as is the case with \startsection, for example). Here is a non-working example: \usemodule[annotation] \defineannotation[test][alternative=paragraph]