[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] groff as a backend
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] groff as a backend |
Date: |
Fri, 17 Dec 2004 07:24:57 +0100 (CET) |
> I'd propose the following "<<"-like extension to ".sy":
>
> [groff source]
> [groff source]
> .sy tbl (possible params here) << EOF
> [tbl source]
> [tbl source]
> [tbl source]
> EOF
> [groff source]
> [groff source]
>
> so that groff would not need to have the ".PS", ".PE", ".TS", ".TE",
> etc, etc. hardcoded;
Basically, there's no need for that. You can always create a
auxiliary file `foo.tbl' with calls to `.write', then call `.sy' to
make `tbl' run on `foo.tbl', and finally read in the result with
`.so'. This is much more reliable since you can exactly control how
and where troff tokens are expanded.
> if you could throw in a way to source a macro package with a special
> "source macro package" command like:
>
> .somp me
>
> or
>
> .somp me.tmac
>
> the need for grog would be gone!
This can already be done; it is called `.mso'. The very problem is
that it is a GNU extension and not available with traditional troff.
Werner
- Re: [Groff] groff as a backend, (continued)
- Re: [Groff] groff as a backend, Meg McRoberts, 2004/12/16
- Re: [Groff] groff as a backend, Clarke Echols, 2004/12/16
- Re: [Groff] groff as a backend, Ted Harding, 2004/12/16
- Re: [Groff] vi/vim and sed/awk bigotry :-), Clarke Echols, 2004/12/17
- Re: [Groff] vi/vim and sed/awk bigotry :-), Peter Schaffter, 2004/12/17
- Re: [Groff] vi/vim and sed/awk bigotry :-), Tadziu Hoffmann, 2004/12/17
- Re: [Groff] vi/vim and sed/awk bigotry :-), Tadziu Hoffmann, 2004/12/17
- Re: [Groff] vi/vim and sed/awk bigotry :-), Alejandro López-Valencia, 2004/12/17
- Re: [Groff] groff as a backend, Larry Kollar, 2004/12/16
- Re: [Groff] groff as a backend, Otavio Exel, 2004/12/16
- Re: [Groff] groff as a backend,
Werner LEMBERG <=
- Re: [Groff] groff as a backend, Larry McVoy, 2004/12/16
- Re: [Groff] groff as a backend, Ted Harding, 2004/12/17
- Re: [Groff] groff as a backend, Larry McVoy, 2004/12/17
- Re: [Groff] groff as a backend, Ted Harding, 2004/12/17
- Re: [Groff] groff as a backend, Pete Phillips, 2004/12/17
- Re: [Groff] groff as a backend, Lars Segerlund, 2004/12/17
- Re: [Groff] groff as a backend, Gaius Mulley, 2004/12/20
Re: [Groff] groff as a backend, Larry Kollar, 2004/12/16
Re: [Groff] groff as a backend, Larry Kollar, 2004/12/16
Re: [Groff] groff as a backend, M Bianchi, 2004/12/16