footnotes with separate lines

I am wondering if there is a solution to the problem I have just encountered. I have a footnote that requires separate lines. I have achieved that in a straightforward case as follows: \footnote{1770 – the discovery\\ 1778 – the invasion\\ 1824 – the war of extermination\\ 1901 – the Constitution} That works, but if I add \setupinteraction[state=start] to the file it does not. That particular footnote causes the compilation to go into an endless loop. All other footnotes are ok. I tried replacing the \\ with \crlf but that has the same result. I tried \start...\stoplines in the hope that this might work inside a footnote, but it doesn't. Of course, I do not understand what is happening between 'interaction' and what I am doing with this particular footnote, but clearly it is problematic. Any way I can get my separate lines and still have interaction working in that file? Julian

On 3/27/25 04:01, jbf wrote:
[...] That works, but if I add \setupinteraction[state=start] to the file it does not. That particular footnote causes the compilation to go into an endless loop. All other footnotes are ok.
Hi Julian, endless loop? Sorry, but I think maximum number of runs in ConTeXt is 9 by default.
I tried replacing the \\ with \crlf but that has the same result. I tried \start...\stoplines in the hope that this might work inside a footnote, but it doesn't.
Include it with a buffer (see below).
Of course, I do not understand what is happening between 'interaction' and what I am doing with this particular footnote, but clearly it is problematic. Any way I can get my separate lines and still have interaction working in that file?
This sample works fine for me: \setupinteraction[state=start] \starttext \contextversion\\ \texenginename\\ \texengineversion\\ \texenginefunctionality \footnote{1770 – the discovery\\ 1778 – the invasion\\ 1824 – the war of extermination\\ 1901 – the Constitution} \startbuffer \startlines 1770 – the discovery 1778 – the invasion 1824 – the war of extermination 1901 – the Constitution \stoplines \stopbuffer \footnote{\getbuffer} \stoptext \starttext I’m on Linux64 and ConTeXt data requested above read (with Both LMTX and LuaTeX): 2025.02.28 18:16 luametatex 211.7 202502261 2025.02.28 18:16 luatex 1.21 76671 2 Could you check if the previous sample works for you? Pablo

Actually Pablo, the buffer was the solution. All I needed to do was create the buffer part of your example and call it in the appropriate place. I did not need the earlier part of your example. As for 'endless loop' maybe I was using the wrong terminology, but at that point there was an endless repetitive string in the error log which I cant reproduce now (and don't really want to), so something was amiss, obviously🙂 Thank you for your assistance. Julian On 27/3/25 14:53, Pablo Rodriguez via ntg-context wrote:
On 3/27/25 04:01, jbf wrote:
[...] That works, but if I add \setupinteraction[state=start] to the file it does not. That particular footnote causes the compilation to go into an endless loop. All other footnotes are ok. Hi Julian,
endless loop? Sorry, but I think maximum number of runs in ConTeXt is 9 by default.
I tried replacing the \\ with \crlf but that has the same result. I tried \start...\stoplines in the hope that this might work inside a footnote, but it doesn't. Include it with a buffer (see below).
Of course, I do not understand what is happening between 'interaction' and what I am doing with this particular footnote, but clearly it is problematic. Any way I can get my separate lines and still have interaction working in that file? This sample works fine for me:
\setupinteraction[state=start] \starttext \contextversion\\ \texenginename\\ \texengineversion\\ \texenginefunctionality \footnote{1770 – the discovery\\ 1778 – the invasion\\ 1824 – the war of extermination\\ 1901 – the Constitution} \startbuffer \startlines 1770 – the discovery 1778 – the invasion 1824 – the war of extermination 1901 – the Constitution \stoplines \stopbuffer \footnote{\getbuffer} \stoptext \starttext
I’m on Linux64 and ConTeXt data requested above read (with Both LMTX and LuaTeX):
2025.02.28 18:16 luametatex 211.7 202502261
2025.02.28 18:16 luatex 1.21 76671 2
Could you check if the previous sample works for you?
Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
participants (2)
-
jbf
-
Pablo Rodriguez