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="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?
> 
> 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.



> 
> 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
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgpseG8zGfaqh.pgp
Description: PGP signature

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to