> Looking at the code, it seems to me (being a quite bad C++ > programmer) that the constant use of `if' clauses to select the > output device is not very elegant. Perhaps this could be > virtualized, at least to a certain extent? Maybe it's not worth the > trouble...
I think something similar to pic could be done (which also has two modes, one for TeX and one for groff). Werner