![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 25.11.2008 um 19:39 schrieb Bart C. Wise:
Below are four different ways I've tried to get endnotes to work. When I compile with "texexec" it work fine --- I get endnotes. However, when I compile with "texexec --lua" the footnotes are placed on the page where they are referenced. I would prefer to have the footnote/placefootnotes work so that I can easily change the output. Any ideas?
******* #1 \setupfootnotes[location=none] \starttext \dorecurse{100}{test \footnote{eee}\endgraf} \page \placefootnotes[location=none] \stoptext
******* #2 \setupfootnotes[location=none] \starttext \dorecurse{100}{test \footnote{eee}\endgraf} \page \placefootnotes \stoptext
******* #3 \setupnote[endnote][location=none] \starttext \dorecurse{100}{test \endnote{eee}\endgraf} \page \placenotes[endnote] \stoptext
******* #4 \starttext \dorecurse{6}{ \input tufte \endnote{\input knuth\relax} } \page \placenotes[endnote] \stoptext
It's a bug in the \expdoifcommonelse macro used in MkIV, it evaluates always the true value and you get footnotes. Here is a example for Hans: \starttext \doifcommonelse{text,page}{none} {true} {false} \expdoifcommonelse{text,page}{none} {true} {false} \stoptext Wolfgang