[XeTeX] How to emulate an array of boxes?

Ron Aaron ron at ronware.org
Thu Jul 29 10:14:37 CEST 2010

I'm attempting to use high-numbered boxes as an array (since as far as I can  
tell there is no real array construct in XeTeX).  My desire is to be able to 
grab any one of a number of boxes, by number (without necessarily allocating 
the boxes beforehand).

So what I would like is to be able to, say:


where "nextboxnumber" is a count register which gets incremented.  Then, at 
some future point, iterate over the list of boxes and do something with them.

It may be that using an external file is the easiest way to accomplish what I 
want, but I was hoping for some more elegant solution.

Any ideas welcome!


For privacy, my GPG key signature is: AD29415D

More information about the XeTeX mailing list