groff
[Top][All Lists]
Advanced

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

Re: tbl: off-by-one line error at table ends with grotty?


From: G. Branden Robinson
Subject: Re: tbl: off-by-one line error at table ends with grotty?
Date: Fri, 7 Aug 2020 01:00:21 +1000
User-agent: NeoMutt/20180716

At 2020-07-25T11:09:04-0400, Doug McIlroy wrote:
> >  Why would you want a table *inside* a paragraph rather than
> >  starting a new paragraph after a table?
> 
> The table may be in a floating keep (e.g. .KF in -ms mmacros).
> Then it's quite likely to pop up in the middle of a paragraph.
> 
> The suggestion to cause .TE to insert space would pose minimal
> threat to documents that have overt .PP's (or equivalents) after
> .TE if the space is inserted by
>       .sp \n[PD}      \" PD is interparagraph distacne as in -man
>       .ns
> The downside is that this has to be done in lots of macro packages.
> Maybe tbl could output that sequence before .TE, but leaving groff
> in no-space mode is (to my mind) too great a change in the specs
> of tbl.

A mixture of your and Tadziu's suggestions looked really promising for
man(7).

Then I looked at ms(7).  We've got bigger problems.  Try nroff with a
doublebox table.

Sigh.

Regards,
Branden

Attachment: doublebox_table.ms
Description: Troff MS-macros document

Attachment: signature.asc
Description: PGP signature


reply via email to

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