On Thu, Feb 21, 2008 at 4:09 AM, Aditya Mahajan
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