On Thu, Feb 21, 2008 at 4:09 AM, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In core-rul.tex we have
>
> %D We define the general (and original) case by just saying:
> \defineframedtext[\v!framedtext]

This defines

\startframedtext ... \stopframedtext and \framedtext{...}

> This gives strange user behavior. Consider the following
>
> \defineframedtext[test][width=broad]
>
> \showframe
> \starttext
>
> \starttest
>   \input tufte
> \stoptest
>
> \startframedtext[test]
>   \input tufte
> \stopframedtext

This should be:

\dostartframedtext[test]
...
\dostopframedtext

The "[test]" is interpreted as optional argument for the predefined
\startframedtext ... \stopframedtext environment.

> \stoptext
>
> The two framedtext have different widths. Why not say
>
> \def\startframedtext
>   {\dosingleempty\dostartframedtext}
>
> \def\stopframedtext{\dostopframedtext}

Take a look into core-rul.tex,

\startframedtext is a short form for \dostartframedtext[framedtext]
and \starttest for \dostartframedtext[test].

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to