# [NTG-context] footnotes location=text

Mon Jun 11 13:55:54 CEST 2012

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.

\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