>The .input macro is left as an exercise for the reader. Step 1: get something like SoftQuad's version of "troff", so you aren't stuck with standard "troff"s crufty 2-character limitations on the names of macros/strings and number registers. If you don't have that, you'll have to pick some two-letter name for the macro....