From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with context.startsection (was: Problem with \nolist)
Date: Tue, 30 Nov 2010 18:13:38 +0100 [thread overview]
Message-ID: <5E1E5E3F-0A95-4C16-BC87-B8D771012450@gmail.com> (raw)
In-Reply-To: <op.vmzs4nertpjj8f@lpr>
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.wolfgang@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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-11-30 17:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-28 17:29 Problem with \nolist Procházka Lukáš
2010-11-28 18:00 ` Wolfgang Schuster
2010-11-28 20:54 ` Procházka Lukáš
2010-11-30 16:51 ` Problem with context.startsection (was: Problem with \nolist) Procházka Lukáš Ing. - Pontex s. r. o.
2010-11-30 17:13 ` Wolfgang Schuster [this message]
2010-11-30 21:38 ` Problem with context.startsection Peter Münster
2010-12-01 7:23 ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-01 9:22 ` Hans Hagen
2010-12-01 11:59 ` \enableregime (was: Re: Problem with context.startsection) Peter Münster
2010-12-01 12:13 ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-01 14:31 ` \enableregime Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5E1E5E3F-0A95-4C16-BC87-B8D771012450@gmail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).