\attachment not working in MkIV
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
Matthijs Kooijman wrote:
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
add \registerctxluafile{scrn-int}{1.001} to scrn-int.mkiv as it seems that it's not loaded Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Matthijs Kooijman