Gaius Mulley <[EMAIL PROTECTED]>: > I suspect the .SCRIPT-INPUT-BEGIN .SCRIPT-INPUT-END could be > implemented as macros which map onto a similar escape technique as the > suppression escapes \O etc. In any event the obvious advantage to > this approach is that one can harness the ability of a scripting > language to manipulate raw text rather than fight .tr et al and > diversions. It would also mean one could distribute filters hidden > inside macro sets. Potentially with mechanisms such as swig it might > be possible for, say Python to import more runtime information from > the troff parent. Which would be fun - and _might_ enable easier > experimentation with micro typography to take place, possibly. Or you > could include the knights tour program inside the troff source. > > Of course this could all be regarded as several steps too far :-)
I like it. But it's overkill for chess typetting; with a font consisting of 25 constant-width piece-on-square images you could do .CS/.CE with two trivial macros, .CS being a wrapper arounfd a .tr statement. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>