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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to