25 Jan
2014
25 Jan
'14
12:32 a.m.
Am Thu, 23 Jan 2014 23:17:24 +0100
schrieb Hans Hagen
\startluacode
local f = io.open("test.dat")
for line in f:lines() do local t = string.split(line,";") -- or "\t" for tabs context("% /t",t) -- context(table.concat(t," / ") context.par() end
\stopluacode
\stoptext
Thanks, I was not aware of the Context Lua extensions. Should have read the wiki more thoroughly ... While I'm new to Lua, I already enjoy it. It opens a whole new world of possibilities to ConTeXt, making this great software even better! Thank you very much for all the hard work. Kind regards, Joshua Krämer