Re: [NTG-context] footnotes location=text
![](https://secure.gravatar.com/avatar/b12df59411515e6737a4d3b35c3ee642.jpg?s=120&d=mm&r=g)
Thanks, I missed that change! And what is the parameter to prevent the footnotes being placed twice? \definenote [myFoot] \setupnote [myFoot] [location=text] \starttext \input knuth\myFoot{a footnote (which should not be placed on the page)} \page \placeno tes[myFoot] \stoptext cheers Daniel ----- Ursprüngliche Nachricht ----- Von: "Wolfgang Schuster" schuster.wolfgang@googlemail.com Erhalten: 11.06.2012 11:34 An: daniel.schopper@aon.at, "mailing list for ConTeXt users" ntg-context@ntg.nl Am 11.06.2012 um 10:58 schrieb HermannSchopper: Dear list, after switching to the current beta (2012.06.09 01:22) manually placed footnotes are being placed _both_ on the page and at the place specified by \placenotes. And another one: I'd like to align the footnote number with the text (instead of having it ahng into the margin). Following http://wiki.contextgarden.net/Footnotes#Special_Needs I tried the location key in \setupnotation but this doesn't seem to do anything. You have to write \setupnotation[…][alternative=…]. Wolfgang
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 12.06.2012 um 10:10 schrieb Hans Hagen:
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
It works. Wolfgang
participants (3)
-
Hans Hagen
-
HermannSchopper
-
Wolfgang Schuster