URL: <https://savannah.gnu.org/bugs/?67112>
Summary: [tbl] row height when spanning vertically not the
same as AT&T tbl
Group: GNU roff
Submitter: gbranden
Submitted: Sat 10 May 2025 04:20:44 PM GMT
Category: Preprocessor tbl
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 10 May 2025 04:20:44 PM GMT By: G. Branden Robinson <gbranden>
This discrepancy was raised by Bento Borges Schirmer in a post to the _groff_
mailing list.
https://lists.gnu.org/archive/html/groff/2025-05/msg00034.html
To illustrate, I'm attaching an input document describing one table,
PostScript renderings by DWB 3.3, Heirloom Doctools, and GNU _troff_s, and
raster images of each such rendered table.
1. Should GNU _tbl_ take into account alterations to the row height caused by
an ordinary (non-text-block) entry through use of any of the `\H`, `\v`, or
`\x` escape sequences?
If we can come up with a way to reproduce AT&T _tbl_'s handling of row
heights...
2a. ...should that become the new default?
2b. ...should we have a new region option to configure a choice of either
behavior?
Not knowing the root cause of the issue or how to solve it, my instinct is to
say "yes" and "yes", respectively. Maybe the new region option should be
called "compact", enabling GNU _tbl_'s handling to date.
I'm not sure it is correct for glyphs made tall with `\H` to overprint cell
borders or other cells in any case. We could support that with another
extension...maybe a column modifier named 'v' to ignore a cell's vertical
size, as 'z' horizontally.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: bento-table-groff.ps Size: 7KiB
<https://file.savannah.gnu.org/file/bento-table-groff.ps?file_id=57208>
-------------------------------------------------------
Name: bento-table-heirloom.ps Size: 18KiB
<https://file.savannah.gnu.org/file/bento-table-heirloom.ps?file_id=57206>
-------------------------------------------------------
Name: bento-table-dwb.ps Size: 6KiB
<https://file.savannah.gnu.org/file/bento-table-dwb.ps?file_id=57207>
-------------------------------------------------------
Name: bento-table.roff Size: 193B
<https://file.savannah.gnu.org/file/bento-table.roff?file_id=57205>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-9881c859354512ce27e2f80f2a58c47cdee12e5d.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67112>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
