On Tue, Aug 22, 2006 at 07:30:54AM +0200, Werner LEMBERG wrote:
> > (it just would be nice if the `.so' request _could_ interpolate the
> > string register value)
> 
> Indeed, but I don't see how to do that properly.

Maybe soelim(1) could recognize that the argument is not a file name ( \ being
a dead giveaway ) and simply leave the reference in place for interpretation by
groff?  As long at the referenced file does not require preprocessor
interpolation ...


And maybe have groff recognize a special form of .so :

        .so filename [ preprocessor_command_line ]

   .e.g.
        .ds filename FILENAME
        .so \*[filename] "tbl -  |  eqn -"
implies
        cat FILENAME  |  tbl -  | eqn -
or equivalently
        <FILENAME  tbl -  |   eqn -

-- 
 Mike Bianchi


_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to