groff-commit
[Top][All Lists]
Advanced

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

[groff] 02/02: groff_mdoc(7): Fit table in 78n even on non-UTF-8.


From: G. Branden Robinson
Subject: [groff] 02/02: groff_mdoc(7): Fit table in 78n even on non-UTF-8.
Date: Fri, 6 Nov 2020 23:05:07 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 26dbbfab344640f613a6045843298120468c7106
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Nov 7 10:12:08 2020 +1100

    groff_mdoc(7): Fit table in 78n even on non-UTF-8.
    
    * tmac/groff_mdoc.7.man (Predefined strings): Ensure the table fits even
      on ASCII and Latin-1 terminals.  Thanks to Bjarni Ingi Gislason for
      the report.
    
    Fixes <https://savannah.gnu.org/bugs/?59424>.
---
 ChangeLog             |  8 ++++++++
 tmac/groff_mdoc.7.man | 10 ++++++++--
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d17a72e..f88db02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2020-11-07  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/groff_mdoc.7.man (Predefined strings): Ensure the table
+       fits even on ASCII and Latin-1 terminals.  Thanks to Bjarni Ingi
+       Gislason for the report.
+
+       Fixes <https://savannah.gnu.org/bugs/?59424>.
+
 2020-11-01  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/groff_mdoc.7.man (General text domain/Enclosure and
diff --git a/tmac/groff_mdoc.7.man b/tmac/groff_mdoc.7.man
index 43bbc75..ff389ce 100644
--- a/tmac/groff_mdoc.7.man
+++ b/tmac/groff_mdoc.7.man
@@ -4090,9 +4090,15 @@ column below.
 .
 .
 .Pp
+.\" Note: This table pushes 80-column ASCII and Latin-1 terminals to
+.\" the limits of their capacity.  Observe the spacing parameters of the
+.\" 2nd and 3rd columns; we had to steal a character cell from each (the
+.\" default is 3) because in the UCS column, the word "infinity" gets
+.\" written out in full, which in turn pushes the >= and Ge rows past
+.\" the 78n norm.  Update with caution.  See Savannah #59424.
 .TS
-lb lb lb lb lb lb
-l l l l l l.
+lb lb2 lb2 lb lb lb
+l l2 l2 l l l.
 String 7-bit   8-bit   UCS     Prefer  Meaning
 <=     <=      <=      \*[<=]  \[rs](<=        less than or equal to
 >=     >=      >=      \*[>=]  \[rs](>=        greater than or equal to



reply via email to

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