From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78121 Path: news.gmane.org!not-for-mail From: Herbert Voss Newsgroups: gmane.comp.tex.context Subject: Re: Lua conditionals fail inside \starttexdefinition Date: Tue, 04 Sep 2012 20:56:31 +0200 Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= Message-ID: <50464EDF.6020300@FU-Berlin.DE> References: <20120904142109.32f088b2@homerow> <827CE8D8-8E41-4267-B70C-FCACF6A0C2FC@gmail.com> <5AB862EA-153B-4485-A376-8618568826C7@gmail.com> <20120904204419.595d2f3b@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346785005 30176 80.91.229.3 (4 Sep 2012 18:56:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2012 18:56:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 04 20:56:47 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T8yIn-00021p-9U for gctc-ntg-context-518@m.gmane.org; Tue, 04 Sep 2012 20:56:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2CABE10206; Tue, 4 Sep 2012 20:56:42 +0200 (CEST) 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 WrD7oadr+0pb; Tue, 4 Sep 2012 20:56:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A522E101F2; Tue, 4 Sep 2012 20:56:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 014A6101F2 for ; Tue, 4 Sep 2012 20:56:39 +0200 (CEST) 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 CeXlAjs9WAIB for ; Tue, 4 Sep 2012 20:56:35 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 67A0D101EB for ; Tue, 4 Sep 2012 20:56:35 +0200 (CEST) Original-Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q84IuXmL031536 for ; Tue, 4 Sep 2012 20:56:34 +0200 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtp (envelope-from ) id <1T8yIb-0003rM-AW>; Tue, 04 Sep 2012 20:56:33 +0200 Original-Received: from p54bfb7e5.dip.t-dialin.net ([84.191.183.229] helo=[192.168.1.33]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtpsa (envelope-from ) id <1T8yIb-00053e-4F>; Tue, 04 Sep 2012 20:56:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <20120904204419.595d2f3b@homerow> X-Originating-IP: 84.191.183.229 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=130.133.4.66; country=DE; region=16; city=Berlin; latitude=52.5167; longitude=13.4000; http://maps.google.com/maps?q=52.5167,13.4000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08HT6Uxm8 - fa116b233e1e - 20120904 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78121 Archived-At: Am 04.09.2012 20:44, schrieb Marco Patzer: > On 2012-09-04 Wolfgang Schuster wrote: > >>> Why does adding semicolon not work? >> >> Do you have a example? > > > \starttext > \startluacode > if true then; > context("true") > else; > context("false") > end > \stopluacode > \stoptext that is no Lua syntax Herbert ___________________________________________________________________________________ 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 ___________________________________________________________________________________