Bug with setupinteraction and footnote
Hi Hans, With the latest beta (ConTeXt ver: 2012.08.04 14:00 MKIV fmt: 2012.8.5) the following use of \setupinteraction[state=start] and \footnote causes a luatex error: %%%%%% \setupinteraction[state=start] \starttext While testing footnotes\footnote{This is a footnote.} we encounter a bug with \type{\setupinteraction}. \stoptext %%%%%% The error message starts with:
! LuaTeX error ...imal/tex/texmf-context/tex/context/base/strc-not.lua:351: attempt to call global 'getdeltapage' (a nil value) stack traceback: ...imal/tex/texmf-context/tex/context/base/strc-not.lua:351: in function 'notedeltapage' <main ctx instance>:1: in main chunk.
and finishes with:
\ctxcommand ...\directlua \zerocount {commands.#1}
\strc_notes_set_style_color_special ...tenumber )} \relax \setlocationcolorsp... \strc_notes_set_style_color_inline ...lor_special \fi \strc_notes_inject_symbol ...xtstyle \c!textcolor \hbox \strc_notes_get_refe... \195>notation:note ...l \strc_notes_inject_symbol \else \unskip \unskip \glo... \strc_notations_command_nop ...handler \endcsname \strc_constructions_finali... l.6 ...ing footnotes\footnote{This is a footnote.} we encounter a bug with \... ? Process aborted
By the way just before line 351 of strc-not.lua, on lines 345--347 are the equalities written in this way on purpose? Best regards: OK
Hi Otared, This is the same error as in the "Luatex error in latest beta (standalone)" thread. In line 317 of strc-not.lua, change this: function notes.deltapage(tag,n) into this: local function getdeltapage(tag,n) Cheers, Sietse
participants (2)
-
Otared Kavian
-
Sietse Brouwer