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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________