From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de>
Subject: Re: clds and nesting
Date: Wed, 10 Mar 2010 22:30:34 +0100 [thread overview]
Message-ID: <4B980F7A.9040305@wxs.nl> (raw)
In-Reply-To: <20100310105005.GA32095@aides>
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-03-10 21:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-10 10:50 Philipp Gesang
2010-03-10 21:30 ` Hans Hagen [this message]
2010-03-11 9:40 ` Philipp Gesang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B980F7A.9040305@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
--cc=pgesang@ix.urz.uni-heidelberg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).