[NTG-context] footnotes location=text

Hans Hagen pragma at wxs.nl
Tue Jun 12 10:10:30 CEST 2012


On 11-6-2012 13:55, Wolfgang Schuster wrote:
>
> Am 11.06.2012 um 13:21 schrieb HermannSchopper:
>
>> Thanks, I missed that change!
>> And what is the parameter to prevent the footnotes being placed twice?
>
> It’s a bug which was fixed a while ago but came back. The code between \unprotect and \protect has to be added/changed in strc-not.mkvi.

actually it's a mixup of what i wanted to do and what got done ... i 
made a new beta for you to check

> \unprotect
>
> \unexpanded\def\strc_notes_set_delayed
>    {\setfalse\c_strc_notes_delayed
>     \normalexpanded{\rawprocesscommalist[\noteparameter\c!location]\strc_notes_set_delayed_step}}
>
> \unexpanded\def\strc_notes_set_delayed_step#1%
>    {\ifcsname\??notedelayed#1\endcsname
>       \csname\??notedelayed#1\endcsname\c_strc_notes_delayed
>     \fi}
>
> \protect
>
> \setupnote[footnote][location=text]
>
> \starttext
>
> \dorecurse{10}{\input knuth\footnote{Footnote #1}\par}
>
> \placenotes[footnote]
>
> \stoptext
>
> Wolfgang
>


-- 

-----------------------------------------------------------------
                                           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