[NTG-context] eating up &
Peter Rolf
indiego at gmx.net
Fri Jul 14 12:56:10 CEST 2006
Hans van der Meer wrote:
> I want to do something with & in tables (making it an active column
> separator).
> Now I have a macro with two arguments for parameters in Context style:
>
> \def\starttablex{\dodoubleargument\dostarttablex}
^^^^^^^^
Shouldn't this be \dodoubleempty for optional arguments?
Peter
> \def\dostarttablex[#1][#2]{%
>
> Now for input: \starttable[][] & ... all is well,
> but for input: \starttable[] & ... the ampersand appears to be eaten
> up by the double argument expansion.
>
> How can I prevent that, letting & end the parameter scanning and using
> it as the first input?
>
> Hans van der Meer
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
More information about the ntg-context
mailing list