ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Bug with setupinteraction and footnote
Date: Sun, 5 Aug 2012 08:01:13 +0200	[thread overview]
Message-ID: <60B87D6B-1A72-4022-93E2-29A274CF7F0A@gmail.com> (raw)

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	other threads:[~2012-08-05  6:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-05  6:01 Otared Kavian [this message]
2012-08-05  7:52 ` Sietse Brouwer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60B87D6B-1A72-4022-93E2-29A274CF7F0A@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).