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
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to