Hans Hagen 写道:
there was a bug in the flusher (footnotes can have 3 states: insert, postpone and save)
however, your example also needs a fix: watch the start-stop local place as otherwise the note in the caption ends of nowhere
here you have insert's (outer ones), a local one (in the table) and a postponed one (in the graphic); the postponed one might end up at the wrong place; future mkiv might handle that better but first we need to reach a reasonable state of compatibility and then we can start hacking around in the page code (inserts are somewhat special in tex)
\starttext
\chapter{First}
Way to \ConTeXt\footnote{It's also the title of Yanrui Li's tutorial.} is painful.
\section{First}
Way to \ConTeXt\footnote{It's also the title of Yanrui Li's tutorial.} is painful.
\section{Second}
But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.}
\placetable {Complex Table\footnote{An test table.}} {\startlocalfootnotes \placelegend {\starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC \NC \Use{2}[c]{First Half} \NC \Use{2}[c]{Second Half} \NC \FR \DC \DL[4] \DR \NC \NC 1st Qtr \NC 2nd Qtr \NC 3rd Qtr \NC 4th Qtr \NC \LR \HL \NC East \NC 20.4 \NC 7.4\footnote{inside.} \NC 90 \NC 20.4 \NC \FR \NC West \NC 30.6 \NC 338.6 \NC 34.6 \NC 31.6 \NC \LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes}
flush'm
\stoptext
maybe clean up this example a bit (smaller table) and wikify it
I wikified it, but there is a problem with the generate picture by <context>: - The footnote inside the table are not shown right under the table. And I have a further question. Is it possible to put the footnote of table head under the table instead of at the bottom of the page? I think it would be more reasonable of putting the footnote under the table. Best wishes, Wei-Wei