ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \attachment not working in MkIV
@ 2009-10-29 15:43 Matthijs Kooijman
  2009-10-29 16:10 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Matthijs Kooijman @ 2009-10-29 15:43 UTC (permalink / raw)
  To: Mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 814 bytes --]

Hi,

I've been trying to get \attachment to work, but I get a Lua error. The
following example, (taken from scrn-int.mkiv and stripped a bit) provides an
error:

  \setupinteraction[state=start]

  \useattachment[whatever][test.tex]
  \starttext \attachment[whatever] \stoptext

The tail of the output is:
  interaction     : active
  ! LuaTeX error <main ctx instance>:1: attempt to index global 'interactions' (a nil value)
  stack traceback:
          <main ctx instance>:1: in main chunk.
  \douseattachment ...newname="#2", filename="#2" }}
                                                    \else \ctxlua {interaction...
  <to be read again> 
                     \starttext
  l.4 \starttext 
                 \attachment[whatever] \stoptext

What's up with this?

Gr.

Matthijs

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-29 16:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-29 15:43 \attachment not working in MkIV Matthijs Kooijman
2009-10-29 16:10 ` Hans Hagen
2009-10-29 16:35   ` Matthijs Kooijman

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).