* \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
* Re: \attachment not working in MkIV 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 0 siblings, 1 reply; 3+ messages in thread From: Hans Hagen @ 2009-10-29 16:10 UTC (permalink / raw) To: Mailing list for ConTeXt users 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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
* Re: \attachment not working in MkIV 2009-10-29 16:10 ` Hans Hagen @ 2009-10-29 16:35 ` Matthijs Kooijman 0 siblings, 0 replies; 3+ messages in thread From: Matthijs Kooijman @ 2009-10-29 16:35 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 290 bytes --] > add > > \registerctxluafile{scrn-int}{1.001} > > to scrn-int.mkiv as it seems that it's not loaded Yup, that removed the error. I even get something icon in the file, but acrobat reader somehow silently fails to open the file... Oh well, let's do without it. 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).