Am 14.11.2008 um 19:37 schrieb Aditya Mahajan:
On Fri, 14 Nov 2008, Aditya Mahajan wrote:
On Fri, 14 Nov 2008, Wolfgang Schuster wrote:
Hi,
I make in a module the comment sign a simple letter to pass number formats to a lua function and want to know if should use another (better) way to change the catodes.
I think it will be cleaner to use catcode tables. See syst-cat.mkiv.
and syst-cat.tex
I keep now my low level solution but with fewer lines. To help other users with the same question I present here my solution: \def\????ax{@@@@ax} \def\setupaxis {\catcode`\%\@@letter \dodoubleargument\dosetupaxis} \def\dosetupaxis[#1][#2]% {\def\docommand##1{\getparameters[\????ax##1][#2]}% \catcode`\%\@@comment \processcommalist[#1]\docommand} \setupaxis [\c!x,\c!y] [\c!format=%d] Regards, Wolfgang