26 Jul
2010
26 Jul
'10
8:36 a.m.
Hello all, Is there any possibility use Lua commands in \startseparatedlist[NaturalTable] ... \stopseparatedlist environment in database module? I would like using database module im my Lua application. Thanx Jaroslav Here is mimimal example: \usemodule[database] \defineseparatedlist [NaturalTable] [separator=comma, before=\bTABLE,after=\eTABLE, first=\bTR,last=\eTR, left=\bTD,right=\eTD] \starttext \startseparatedlist[NaturalTable] col1,col2,col3 \stopseparatedlist \startseparatedlist[NaturalTable] \directlua{tex.print("col1,col2,col3")} % here program fails \stopseparatedlist \stoptext