bug-groff
[Top][All Lists]
Advanced

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

[bug #49390] last line of boxed tables overprinted on nroff devices


From: G. Branden Robinson
Subject: [bug #49390] last line of boxed tables overprinted on nroff devices
Date: Sat, 30 Jul 2022 11:37:08 -0400 (EDT)

Follow-up Comment #4, bug #49390 (project groff):

I need to clear up some misconceptions about this bug.

[comment #2 comment #2:]
>   When this happens, the '.TE' macro does not output the last line in
> the table.
> 
>   The '.TE' macro in the packages 'me', 'mom', and 'ms' does output the
> last line (using '.sp ...' or '.br'),
> but not in the 'man' and 'mm' packages.
> 
>   The simplest fix is to add '.br' as the last line in the .TE
> macro.
> 
>   If the purpose of the macro '.TE' is to really finish the table, it
> should do so.

This explanation is completely incorrect.

1. This bug appears to affect only output to nroff devices.

2. It is not a `TE` macro's job to output the last line, or any other line of
the table; it is _tbl_'s.  (One could argue that if `TS` opened a diversion to
accept the table content, then it's `TE`'s responsibility to emit that
diversion, but it remains _tbl_'s duty to output it--to a diversion or
otherwise.)

3. You can observe the overprint of the last line of a boxed table even in a
"raw" _roff_ document.

4. The macro packages should not be trying to work around this bug.

5. Simply breaking the line is insufficient.  The vertical position is
incorrect and the line is already broken.  Another `br` request is nilpotent.

6. Your "simplest fix" does not work.

7. Again, the `TE` macro should not compensate for anything that _tbl_ can
easily accomplish on its own, through separation of concerns.  This is a
simple application of the modular design principle.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?49390>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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