From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56913 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: clds and nesting Date: Wed, 10 Mar 2010 11:50:05 +0100 Message-ID: <20100310105005.GA32095@aides> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1986962118==" X-Trace: dough.gmane.org 1268218286 25503 80.91.229.12 (10 Mar 2010 10:51:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Mar 2010 10:51:26 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 10 11:51:21 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 1NpJVT-00045H-MU for gctc-ntg-context-518@m.gmane.org; Wed, 10 Mar 2010 11:51:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0C470C9CC8; Wed, 10 Mar 2010 11:51:15 +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 f2boVy6jB5XD; Wed, 10 Mar 2010 11:51:12 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 635A8C9CB4; Wed, 10 Mar 2010 11:51:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F8D6C9CB4 for ; Wed, 10 Mar 2010 11:51:11 +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 cqokEcoEBGfm for ; Wed, 10 Mar 2010 11:51:08 +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 DCD1AC9CAC for ; Wed, 10 Mar 2010 11:51:08 +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 o2AAp3K5031102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 10 Mar 2010 11:51:05 +0100 Original-Received: from localhost (mnhm-5f75c4b6.pool.mediaWays.net [95.117.196.182]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id o2AAor9l030461 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 10 Mar 2010 11:50:54 +0100 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:56913 --===============1986962118== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, how do I get proper nesting with clds? Consider this: --8<-----------------------------------------------------------------------= --- context.placefigure( "none", function()=20 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 = =20 ) --8<-----------------------------------------------------------------------= --- in both cases the text is displayed but framed() doesn't seem to be evaluated. What did I miss? Thanks for any hints, and big thanks to Hans for creating the cld interface. Philipp --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkuXeV0ACgkQ02lYlJYWs9IKewCggs2/a9W2bB8QgGIMjnc1u6en SMMAoJ298UPF9Zy9p8X/QWwKjIgnuwDn =8Tzq -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- --===============1986962118== 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 ___________________________________________________________________________________ --===============1986962118==--