From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64088 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Re: Problem with context.startsection Date: Wed, 01 Dec 2010 08:23:14 +0100 Message-ID: References: <5021E787-6E6D-4118-95CD-22DE5E2ED14A@gmail.com> <20101130213841.GA21493@micropit.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291188220 7327 80.91.229.12 (1 Dec 2010 07:23:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2010 07:23:40 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 01 08:23:36 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PNh2N-0004FH-W0 for gctc-ntg-context-518@m.gmane.org; Wed, 01 Dec 2010 08:23:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A251CCA89B; Wed, 1 Dec 2010 08:23:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gxv5T4Wagk1X; Wed, 1 Dec 2010 08:23:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BE866CA898; Wed, 1 Dec 2010 08:23:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3483FCA898 for ; Wed, 1 Dec 2010 08:23:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id eu69rpmotPDF for ; Wed, 1 Dec 2010 08:23:19 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id E5652CA897 for ; Wed, 1 Dec 2010 08:23:18 +0100 (CET) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB17NHO8011659 for ; Wed, 1 Dec 2010 08:23:18 +0100 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Wed, 1 Dec 2010 08:23:14 +0100 In-Reply-To: <20101130213841.GA21493@micropit.couberia.bzh> User-Agent: Opera Mail/10.63 (Win32) X-Bayes-Prob: 0.0027 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDBHnhhK - 55374fc6d2e2 - 20101201 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:64088 Archived-At: ... Thanks, that was really silly mistake of mine - I was "Luaing" the orig= inal ctx code so I forgot to enclose the ttt into the context("ttt"); that = was the problem. Braces were OK - statement: context.startsection({title =3D "ti", list =3D "li"}) may be shortened to: context.startsection{title =3D "ti", list =3D "li"} - that's OK in Lua. On Tue, 30 Nov 2010 22:38:41 +0100, Peter M=FCnster wrote: >> context.startsection{title =3D "ti", list =3D "li"} % - but this is = wrong > > Use "--" instead of "%" in lua mode. > (I wrote "%" this to the mail only.) > >> ttt > > Should be: tex.print"ttt" Or: context("ttt") > > Cheers, Peter > Lukas ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________