groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <OK> Re: [Groff] soelim and file names defined in string registers


From: M Bianchi
Subject: Re: <OK> Re: [Groff] soelim and file names defined in string registers
Date: Tue, 22 Aug 2006 08:57:32 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]