![](https://secure.gravatar.com/avatar/ed6f43113e3f1cee031ebd13654fc703.jpg?s=120&d=mm&r=g)
On 7/27/2024 3:35 PM, 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.
Therefore, I used a similar approach to 'CASE 1', but not 'CASE 2' , placing footnotes related to the previous paragraphs every few paragraphs. But when I was generating a PDF, I found that the footnote didn't always appear on the same page as its footnote number, even though the footnote had very little text.
What can I do to get my idea to work?
Thanks for any suggestions.
Muyik.
% The above text was translated through Bing % because I am not a native English speaker. % If there is anything unclear, whatever it is, tell me.
%%%%%%%%%%%%%% \setuppapersize[A6] \starttext
% case 1
\input knuthmath \note[1]
\input knuthmath \note[2] \input knuthmath \input knuthmath
\footnotetext[1]{\input knuthmath } \footnotetext[2]{\input knuth }
% In this case, the text of footnotes 1 and 2 is placed on the same page, % but they are separated from the footnote numbers on different pages
\page
% case 2
\input knuthmath \note[1] \footnotetext[1]{\input knuthmath }
\input knuthmath \note[2] \input knuthmath \input knuthmath
\footnotetext[2]{\input knuth }
% Maybe this situation might get what I wanted, but after all, % footnotes are not as important as the main text, % and working on the footnotes while writing the main text may not be the right way for me
\stoptext footnotes are implemented using inserts so the text, when entered is kept with the 'location' .. this permits the page builders to choose breakpoints that
decoupling the location and test itself should be done in a controlled way because otherwise a page break can already have been decided \starttext \startbuffer[note:1] \input{knuthmath} \stopbuffer \startbuffer[note:2] \input{knuth} \stopbuffer \input knuthmath \footnote{\inlinebuffer[note:1]} \input knuthmath \footnote{\inlinebuffer[note:2]} \input knuthmath \input knuthmath \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------