From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56973 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: clds and nesting Date: Thu, 11 Mar 2010 10:40:41 +0100 Message-ID: <20100311094041.GB28075@aides> References: <20100310105005.GA32095@aides> <4B980F7A.9040305@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1090946666==" X-Trace: dough.gmane.org 1268300522 13357 80.91.229.12 (11 Mar 2010 09:42:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2010 09:42:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 11 10:41:58 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 1Npety-0007sO-0h for gctc-ntg-context-518@m.gmane.org; Thu, 11 Mar 2010 10:41:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D4A86C9E7B; Thu, 11 Mar 2010 10:41:57 +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 mMNx7w+zK41j; Thu, 11 Mar 2010 10:41:54 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 766CDC9E6B; Thu, 11 Mar 2010 10:41:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7304C9E6B for ; Thu, 11 Mar 2010 10:41:52 +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 V64P8vLu6ZTL for ; Thu, 11 Mar 2010 10:41:50 +0100 (CET) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by balder.ntg.nl (Postfix) with ESMTP id CA274C9E62 for ; Thu, 11 Mar 2010 10:41:43 +0100 (CET) Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o2B9fduE014215 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 11 Mar 2010 10:41:39 +0100 Original-Received: from localhost (mnhm-5f75ecb8.pool.mediaWays.net [95.117.236.184]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id o2B9fVsY031635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 11 Mar 2010 10:41:32 +0100 In-Reply-To: <4B980F7A.9040305@wxs.nl> X-Operating-System: Linux aides 2.6.32-ARCH User-Agent: Mutt/1.5.20 (2009-06-14) 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:56973 Archived-At: --===============1090946666== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kXdP64Ggrk/fb43R" Content-Disposition: inline --kXdP64Ggrk/fb43R Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-03-10 <22:30:34>, Hans Hagen wrote: > On 10-3-2010 11:50, Philipp Gesang wrote: > >Hi all, > > > > > >how do I get proper nesting with clds? Consider this: > > > >--8<--------------------------------------------------------------------= ------ > > > >context.placefigure( > > "none", > > function() > > context.framed( { > > frame=3D"on", > > align=3D"middle" > > }, > > function() context.input("knuth") end > > ) > > end > >) > > > >context.par() > > > >function text () > > context.framed( { > > frame=3D"on", > > align=3D"middle" > > }, > > function() context.input("knuth") end > > ) > >end > > > >context.placefigure( > > "none", > > function () text() end > >) > > > >--8<--------------------------------------------------------------------= ------ > > > >in both cases the text is displayed but framed() doesn't seem to be > >evaluated. What did I miss? >=20 > I changed the implementation so that nesting is better supported ... > can you test the beta? (I probably need to fix some other things > now) Thanks, works flawlessly! Philipp PS: The example is on the wiki now. PPS: Where is demo-cld.cld gone? I have one on my disk because it came with texlive, but according to the wiki (http://wiki.contextgarden.net/Context_2009.10.27#Deleted_files) you threw it out the other day. >=20 > Hans >=20 > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --kXdP64Ggrk/fb43R Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkuYupkACgkQ02lYlJYWs9J4KgCeP11dFhmfHMgl14D5MOHXHLS+ xmUAniEbm4CdT9Saf6lXULvGlUOjvGEs =JxOQ -----END PGP SIGNATURE----- --kXdP64Ggrk/fb43R-- --===============1090946666== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1090946666==--