On 7/27/24 15:35, ai2472206007@yeah.net wrote:
Hi,
I have a document that contains a lot of footnotes. Therefore, I used to separate the footnote number from the footnote text, which would make the source file look more readable.
Hi Muyik, how about two files? The first one with footnote texts only (as buffers): \startbuffer[fn-1] \input knuth \stopbuffer \startbuffer[fn-2] \input zapf \stopbuffer Your sample file may read: \setuppapersize[A6] \input footnotes.tex \protected\def\bufffn[#1]% {\footnote{\getbuffer[#1]}} \starttext \input knuthmath \bufffn[fn-1] \input knuthmath \bufffn[fn-2] \input knuthmath \input knuthmath \stoptext It is simple code, but it may give you an idea to start playing with. Just in case it helps, Pablo