[texhax] Overcoming 9 argument limit for macros?

Peter Davis pfd at pfdstudio.com
Sat Nov 20 01:29:16 CET 2010

On Fri, Nov 19, 2010 at 7:08 PM, Martin Schröder <martin at oneiros.de> wrote:

> 2010/11/20 Peter Davis <pfd at pfdstudio.com>:
> > What's the preferred solution for overcoming the 9 argument limit on
> macros
> > these days?  Is it keyval/xkeyval?
> Yes. The alternative would be chaining commands, each eating up to 9
> args. That way madness lies.


Let me ask the question another way.  I'm trying to output a document that
will use the same page over and over again, like a form, but with some
different text plugged in here and there, and some different images.  I'm
assuming the best (only?) way to do that is to define one or more macros to
draw the parts of the page, and pass in the text, image names, etc. as
arguments.  Any better suggestions?

P.S. - I tried using box registers to pass in the argument values, but they
always typeset in the default font and size, regardless of the paragraph
they were in.  I even used \unhcopy to just add the contents to the list,
but somehow the attributes were carried with them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20101119/fb259119/attachment.html>

More information about the texhax mailing list