[NTG-context] clds and nesting

Philipp Gesang pgesang at ix.urz.uni-heidelberg.de
Wed Mar 10 11:50:05 CET 2010


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.


Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20100310/ba4ae10b/attachment.pgp>


More information about the ntg-context mailing list