![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
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