30 Nov
2010
30 Nov
'10
11:13 a.m.
Am 30.11.2010 um 17:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
On Sun, 28 Nov 2010 19:00:37 +0100, Wolfgang Schuster
wrote: \startsection[title={AAA aaa},list={AAA}]
...
\stopsection
... OK, the example above works well when called from ConTeXt. But from Lua? - This Lua code seems to be wrong:
--- \enableregime[cp1250]
\starttext \placecontent % = TOC
\startsection[title=TI,list=LI] % That's OK - sss \stopsection
\startluacode context.startsection{title = "ti", list = "li"} % - but this is wrong
You forgot the braces: context.startsection({title = "title", list = "list"}) Wolfgang