[NTG-context] definehead and marking

Hans Hagen pragma at wxs.nl
Tue Jul 19 01:39:29 CEST 2011


On 18-7-2011 9:35, Aditya Mahajan wrote:
> How do I get marks with user defined heads?
>
> Minimal example:
>
>
> \definehead[lecture][section-1]
>
> \starttext
>
> \lecture{test}
>
> Marking is not working: \getmarking[lecture]?
>
> \stoptext

\definehead[lecture][chapter]

\setupheadertexts[lecture]

\starttext

     \lecture{testa}

     Marking is working

\stoptext



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list