Re: [NTG-context] Luacode: Data File to Table

2019-10-24 Thread Rudolf Bahr
On Thu, Oct 24, 2019 at 05:11:50PM +0200, Taco Hoekwater wrote: > Here is the problem: > > > context ( 'function Rosi(): b.smrk = ', b.smrk ) > > > That should be: > >context ( 'function Rosi(): b.smrk = ' .. b.smrk ) > > since the context() function does

Re: [NTG-context] Luacode: Data File to Table

2019-10-24 Thread Taco Hoekwater
Here is the problem: > context ( 'function Rosi(): b.smrk = ', b.smrk ) That should be: context ( 'function Rosi(): b.smrk = ' .. b.smrk ) since the context() function does not support variable argument lists (not not like print()) Best wishes, Taco

[NTG-context] Luacode: Data File to Table

2019-10-24 Thread Rudolf Bahr
Hi All! LuaMetaTeX, Version 2.00.0 ConTeXt ver: 2019.10.10 18:15 MKIV beta fmt: 2019.10.19 int: english/english I'd like to transfer the entries in a data file to a Lua table according to [1]. Here a MWE of my data file, appended as file Rosi.lua: -- Rosi{ smrk