2 Aug
2005
2 Aug
'05
10: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