Hello,
suppose having:
t1.mkiv
\starttext
a
\startluacode
context.setvalue("b", "bbb")
context.setvalue("c", 2)
context.component("t2.mkiv")
\stopluacode
\stoptext
and
t2.mkiv
\startcomponent *
\b\c
\stopcomponent
I get no result when trying to compile t1.mkiv - log tells:
"
...
system > jobfiles > unknown tex file '{t2.mkiv}\stoptext \finishjob '
<
close source> level 1, order 3, name
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
tex error > tex error on line 0 in file : ! Emergency stop
<*> cont-yes.mkiv
*** (job aborted, no legal \end found)
"
So - how to use 'context.component()' (input a component within Lua) well?
Thank you in advance.
Best regards,
Lukas
--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz |
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4
Mob.: +420 702 033 396
t1.log
Description: Binary data
t1.mkiv
Description: Binary data
t2.mkiv
Description: Binary data
___
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___