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 
> <schuster.wolfg...@googlemail.com> 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

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to