groff-commit
[Top][All Lists]
Advanced

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

[groff] 04/06: [man pages]: Fix style nits.


From: G. Branden Robinson
Subject: [groff] 04/06: [man pages]: Fix style nits.
Date: Sat, 30 Jul 2022 20:43:24 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit ac376d54254b30dd8a3567ef5542eb2ac4aea1cf
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Jul 30 17:12:17 2022 -0500

    [man pages]: Fix style nits.
    
    Adjust vertical space around boxed tables to close up when intended as a
    within-paragraph table, and spread when otherwise.
    
    When simulating keeps, account for box border size on nroff devices.
    
    Continues commit 1d130bcf9e, earlier today.
---
 man/groff_char.7.man            | 18 ++++++++++++------
 src/devices/grolbp/grolbp.1.man |  1 +
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/man/groff_char.7.man b/man/groff_char.7.man
index 6eab81746..9ca688ec6 100644
--- a/man/groff_char.7.man
+++ b/man/groff_char.7.man
@@ -270,8 +270,6 @@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] _
 a b c d e f g h i j k l m n o p q r s t u v w x y z { | }
 .TE
 .
-.
-.P
 The remaining seven of the ninety-four code points in this range
 surprise computing professionals and others intimately familiar with the
 ISO character encodings.
@@ -355,6 +353,8 @@ be the case on more-capable devices.
 .
 Review your document using as many different output devices as possible.
 .
+.
+.P
 .TS
 center box;
 L L L.
@@ -461,11 +461,7 @@ A Winter\[aq]s Tale@A Winter\[aq]s Tale
 \[ga]\[ga]U.S.\& \[ga]inner\[aq] quotes\[aq]\[aq]\
 @\[rs][lq]U.S.\& \[rs][oq]inner\[rs][cq] quotes\[rs][rq]
 .TE
-.\" paragraph necessary due to tbl spacing bug with box usage; see
-.\" https://lists.gnu.org/archive/html/groff/2020-07/msg00053.html
-.
 .
-.P
 If you frequently require quotation marks in your document,
 see if the macro package you're using supplies strings or macros to
 facilitate quotation,
@@ -1987,6 +1983,11 @@ We also observe that the hyphen and minus sign were 
already
 a decision whither to map an input \[lq]\-\[rq] therefore had to be
 taken.
 .
+.
+.br
+.if t .ne 5v
+.if t .ne 7v \" account for box border
+.P
 .TS
 center box;
 Lf(R).
@@ -2024,6 +2025,11 @@ included,
 as was the Bell System logo;
 we do not attempt to depict the latter.
 .
+.
+.br
+.if t .ne 5v
+.if t .ne 7v \" account for box border
+.P
 .TS
 center box;
 Lf(I),Lf(R).
diff --git a/src/devices/grolbp/grolbp.1.man b/src/devices/grolbp/grolbp.1.man
index e30781111..081c6bceb 100644
--- a/src/devices/grolbp/grolbp.1.man
+++ b/src/devices/grolbp/grolbp.1.man
@@ -242,6 +242,7 @@ The following chart summarizes the
 font names used to access them.
 .
 .
+.P
 .TS
 tab(|) allbox center;
 c c c c c



reply via email to

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