On 11/19/2012 12:47 PM, Thomas A. Schmitz wrote:
On 11/19/2012 10:33 AM, Hans Hagen wrote:
this is already in place for a while given that one uses the right
structures:

http://www.pragma-ade.com/general/magazines/mag-1103.pdf

Oops, sorry, I must have missed this! But I can't get it working. After
adding

\setupreferencing[autofile=yes]
\setupinteraction[state=start]

to all components, compiling single components fails with

! LuaTeX error
....text/tex/texmf-context/tex/context/base/strc-ref.lua:902: table
index is nil
stack traceback:
     ...text/tex/texmf-context/tex/context/base/strc-ref.lua:902: in
function 'loadproductreferences'
     ...text/tex/texmf-context/tex/context/base/strc-ref.lua:1021: in
function 'loadpresets'
     ...text/tex/texmf-context/tex/context/base/strc-ref.lua:1043: in
function 'useproduct'
     <main ctx instance>:1: in main chunk.

system          > tex > error on line 6 in file test.tex: LuaTeX error  ...

Any idea what this might mean?

that there is a lua error ...

can you try with:

                        if not component or component == componentname then
                            -- skip
                        else


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 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
___________________________________________________________________________________

Reply via email to