![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
2 Aug
2005
2 Aug
'05
4:40 a.m.
Peter Rolf wrote:
Hi all,
I need to pass a short text as parameter to a defintion. My problem is, that the significant spaces are removed in this process. Hmm.....no clue.
% interface=en output=pdftex \starttext
\def\TextWithSpaces#1{\framed{\obeyspaces#1}}%
A two-part solution is needed: \def\TextWithSpaces{\bgroup\obeyspaces\doTextWithSpaces} \def\doTextWithSpaces#1{\framed{#1}\egroup} Cheers, Taco