groff
[Top][All Lists]
Advanced

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

Re: [Groff] A little macro (tbl enhancement)


From: Werner LEMBERG
Subject: Re: [Groff] A little macro (tbl enhancement)
Date: Thu, 07 Feb 2002 21:17:31 +0100 (CET)

[about a slashed cell]

> Just in case someone is interested

Nice!  Your solution heavily uses internal tbl variables, so the
question is how tbl can be extended to provide a clean macro interface
to table cells.  One application is your macro, another one would be
color support which is especially on Ted's wishlist.

Any suggestions?  I can imagine that two new specifiers are added,
say, `x(<pre_macro>)' and `y(<post_macro>)' which are called before
and after data processing of the cell, respectively.  Example:

   c c cx(green-background)y(reset-background)

Some problems to be solved:

  . Which variables shall be `officially' available to such macros?
    Height, width, cell origin coordinates, what else?

  . Color handling for TTY is fundamentally different from other
    devices.


      Werner

reply via email to

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