[NTG-context] eating up &

Hans van der Meer hansm at science.uva.nl
Thu Jul 13 21:54:40 CEST 2006


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}
\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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20060713/71b03e1a/attachment.html 


More information about the ntg-context mailing list