discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* tbl broken on \_/\= for spanned columns
@ 2022-10-17  2:26 наб
  0 siblings, 0 replies; only message in thread
From: наб @ 2022-10-17  2:26 UTC (permalink / raw)
  To: discuss

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

Hi!

-- >8 --
.Dd
.Dt STTY 1
.Os
.Sh DESCRIPTION
.TS
c s
l l .
\_
b	c
.TE
-- >8 --
(reduced from a real table, as in I did actually run into this)
is rendered as such by mandoc 1.14.5-1 off Debian and CVS HEAD:
-- >8 --
STTY(1)                     General Commands Manual                    STTY(1)

DESCRIPTION
     ─
     b   c

Debian                         October 17, 2022                         Debian
-- >8 --
and as such if you 9s/b/bBbBbB/:
-- >8 --
STTY(1)                     General Commands Manual                    STTY(1)

DESCRIPTION
     ──────
     bBbBbB   c

Debian                         October 17, 2022                         Debian
-- >8 --

This is wrong: the cell that contains the line spans over both b and c.
Compare groff (1.22.4-6) with the correct render:
-- >8 --
DESCRIPTION
     ──────
     b   c
-- >8 --
and
-- >8 --
DESCRIPTION
     ───────────
     bBbBbB   c
-- >8 --

Best,
наб

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-17  2:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-17  2:26 tbl broken on \_/\= for spanned columns наб

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).