[NTG-context] Last attempt: numbered margin notes in ConTeXt?

Hans Hagen pragma at wxs.nl
Fri Jun 6 09:38:47 CEST 2008


Aditya Mahajan wrote:
> On Fri, 6 Jun 2008, Hans Hagen wrote:
> 
>> \def\domnote[#1]#2%
>>    {\doglobal\increment\MyMarginalNote\plusone
>>     \inmargin
>>       {\MyMarginalNote:
>>        \doifsomething{#1}
>>          {\expanded{\textreference[#1]{\MyMarginalNote}}}%
>>        #2}%
>>     \high{\MyMarginalNote}}
>>
> 
> There should not be a \plusone in the first line. Read the documentation 
> of \increment in syst-ext ;)

btw, interesting side effect ... i used luatex and char 1 there is quite 
invisible -)


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


More information about the ntg-context mailing list