Just to follow up on my own question ...<br><br><div class="gmail_quote">On Fri, Nov 19, 2010 at 7:29 PM, Peter Davis <span dir="ltr"><<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div><br></div><div>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?</div>

<div><br></div><div>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.</div>

<div><br></div></div></blockquote><div><br></div><div>I did have some luck with something like:</div><div><br></div><div>\newcommand{\dopage}{%</div><div>Do something with \vari, \varii and variii (and as many more as I want to define). %</div>
<div>}</div><div><br></div><div>\def\vari{First argument}</div><div>\def\varii{Second arg.}</div><div>\def\variii{Third, etc.}</div><div>\dopage</div><div><br></div><div>etc.  It's brute force, but it works.  Suggested improvements or alternatives *VERY* welcome.  (Yes, there's xkeyval, but I'm actually writing code to generate the TeX source file, so it will simply be defining a series of variables.</div>
<div><br></div><div>Thanks,</div><div>-pd</div><div> </div></div><br>