Re: [NTG-context] defining commands
Hallo,
btw, i'm sure that you've seen
\starttexdefinition blabla #1 #2
which like setups ignores spaces so one can have readable macros i was the one who requested the parameterless version
\starttexdefinition commandonly
I experimented a little with this: ---------------------------------------- \starttexdefinition BIS #1 #2 [#1 \ldots\ #2] \stoptexdefinition \starttext \BIS1 23 \BIS{10}{20}30 \BIS {10}{20}30 \BIS{10} {20}30 \BIS{10}{20} 30 \BIS {10} {20}30 \BIS{10} {20} 30 \BIS {10} {20} 30 \stoptext ---------------------------------------- and get this: ---------------------------------------- [1 ... 2]3 [102030 ... ][102030 ... ][10 ... 20]30 [1020 ... 3]0 [10 ... 20]30 [10 ... 20] 30 [10 ... 20] 30 ---------------------------------------- So it seems, that the first blank between command and #1 is optional. But the second between #1 and #2 is NEEDED. A last blank after #2 is not needed and not eaten. Wolfgang
participants (1)
-
Wolfgang Werners-Lucchini