[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] tbl - extended format specification
From: |
Gaius Mulley |
Subject: |
Re: [Groff] tbl - extended format specification |
Date: |
14 Jun 2003 18:55:23 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Heinz-Jürgen Oertel <address@hidden> writes:
> Am Samstag, 14. Juni 2003 13:41 schrieb Werner LEMBERG:
> > > Or may be better, the possibility to call a user defined macro at
> > > the begining of each table entry?
> >
> > Do you want to implement it?
> >
>
> OK, it seems to be easy to implement. Looks like this addition to tbl(1)
>
> Extending the gnu-tbl format specifcation
> (added to the column key letters)
>
> m,M
> Either of these specifiers may be followed by a macro name
> (either one or two characters long), or long name in parentheses
> (the last form is a GNU tbl extension).
> A one-letter macro name must be separated by one or more blanks
> from whatever follows.
> The macro which name can be specifies here must be defined before
> creating the table and is called just before the tables cell text is
> output.
> As implemented now, this macro is only called when block input is used,
> that is text between T{ and T}.
> The macro should contain only simple troff requests to change the text block
> formatting, like text adjustment, hyphenation, size or font.
> The macro is called _after_ other cell modifications like b,f or v
> are output. Thus the macro can overwrite other modifiaction
> specifiers.
without wanting to dampen any enthusiasm I wonder whether a letter other than
'm' and 'M' might be chosen, as 'm' would be the obvious choice for color in
tbl. [To match the \m[] and \M[] troff escapes]. Although admittedly 'm' is a
natural choice for macro in tbl.. hmm..
Gaius
- [Groff] tbl query, Robert D. Goulding, 2003/06/12
- Re: [Groff] tbl query, Ralph Corderoy, 2003/06/12
- Re: [Groff] tbl query, Heinz-Jürgen Oertel, 2003/06/14
- Re: [Groff] tbl query, Werner LEMBERG, 2003/06/14
- Re: [Groff] tbl query, Heinz-Jürgen Oertel, 2003/06/14
- [Groff] tbl - extended format specification, Heinz-Jürgen Oertel, 2003/06/14
- Re: [Groff] tbl - extended format specification,
Gaius Mulley <=
- Re: [Groff] tbl - extended format specification, Heinz-Jürgen Oertel, 2003/06/15
- Re: [Groff] tbl - extended format specification, Werner LEMBERG, 2003/06/16
- Re: [Groff] tbl - extended format specification, Heinz-Jürgen Oertel, 2003/06/16
- Re: [Groff] tbl - extended format specification, Werner LEMBERG, 2003/06/16
Re: [Groff] tbl query, Werner LEMBERG, 2003/06/14