Oh, I feel stupid. I think I need some more sleep. Thanks for the tip. Bart
In analogy to \framedtext after a define of a framedtext I expect that that you should use \CenteredText{...} And indeed.
\defineframedtext[CenteredText][width=fit] % This one fails! \startalignment[center] \dontleavehmode \CenteredText{ \startlines The quick brown fox jumps over the lazy dog. \stoplines} %\stopCenteredText
Willi
On Jan 24, 2009, at 3:30 PM, Bart C. Wise wrote:
\defineframedtext[CenteredText][width=fit]
\starttext
% This one works! \startalignment[center] \dontleavehmode \framedtext[width=fit]{ \startlines The quick brown fox jumps over the lazy dog. \stoplines } \stopalignment
% This one fails! \startalignment[center] \dontleavehmode \startCenteredText \startlines The quick brown fox jumps over the lazy dog. \stoplines \stopCenteredText
\stoptext
___________________________________________________________________________ ________ 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 ___________________________________________________________________________ ________