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="on", align="middle" }, function() context.input("knuth") end ) end )
context.par()
function text () context.framed( { frame="on", align="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?
Thanks for any hints, and big thanks to Hans for creating the cld interface.
I changed the implementation so that nesting is better supported ... can you test the beta? (I probably need to fix some other things now) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------