On Wed, Apr 8, 2009 at 12:02 AM, Diego Depaoli <trebes...@gmail.com> wrote: > On Tue, Apr 7, 2009 at 11:47 PM, Wolfgang Schuster > <schuster.wolfg...@googlemail.com> wrote: >> >> \starttext >> >> \def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi} >> >> \framed >> [width=4cm,align=normal] >> {\handletokens i want a framed where the text flushes to the next line >> without hyphenation. There is a way to get this >> result?\with\breakeverywhere} >> >> \stoptext > > YYYEEEEEEEEEEEEEESSSSSSSSSSSSS!!!!!!!!!!!!!!!!!!!!!!!!!!!! hmm. I should say ni . The problem are spaces . In this example I should expected that hy- => hy and some changes in glues and nothing else. Also text with \handletokens is ,well, "not so good " (ie horrible) .
\starttext \def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi} \framed [width=4cm,align=normal] {i want a framed where the text flushes to the next line without hyphenation. There is a way to get this result?} \framed [width=4cm,align=normal] {\handletokens i want a framed where the text flushes to the next line without hyphenation. There is a way to get this result?\with\breakeverywhere} \stoptext -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________