bug-groff
[Top][All Lists]
Advanced

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

[bug #61371] [PATCH] [tbl]: tbl.1.man: use a neutral wording "decimal se


From: Bjarni Ingi Gislason
Subject: [bug #61371] [PATCH] [tbl]: tbl.1.man: use a neutral wording "decimal separator" in place of English specific "decimal point" and "d
Date: Sat, 23 Oct 2021 14:54:40 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?61371>

                 Summary: [PATCH] [tbl]: tbl.1.man: use a neutral wording
"decimal separator"  in place of English specific "decimal point" and "d
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Sat 23 Oct 2021 06:54:37 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: Documentation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

>From e341431382850a0be5770e4c624aafe87130310d Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Sat, 23 Oct 2021 18:45:59 +0000
Subject: [PATCH] [tbl]: tbl.1.man: use a neutral wording "decimal separator"
 in place of English specific "decimal point" and "dot"

tbl.1.man: use a neutral wording "decimal separator" in place of
English specific "decimal point" and "dot".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 src/preproc/tbl/tbl.1.man | 14 +++++++-------
 tmac/an.tmac              |  3 +++
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/preproc/tbl/tbl.1.man b/src/preproc/tbl/tbl.1.man
index 297951c1..d1e82ed1 100644
--- a/src/preproc/tbl/tbl.1.man
+++ b/src/preproc/tbl/tbl.1.man
@@ -157,7 +157,7 @@ Each cell in a column is classified by being
 centered,
 left-aligned,
 numeric
-(aligned to a decimal point),
+(aligned to a decimal separator),
 and so on.
 .
 This specification can have several lines,
@@ -214,7 +214,7 @@ extension).
 .
 .TP
 .BI decimalpoint( c )
-Set the character to be recognized as the decimal point in numeric
+Set the character to be recognized as the decimal separator in numeric
 columns
 (GNU
 .I tbl \" exception
@@ -417,10 +417,10 @@ Numerically justify item in the column;
 that is,
 align columns of numbers vertically at the units place.
 .
-If there are one or more dots adjacent to a digit,
+If there are one or more decimal separators adjacent to a digit,
 use the rightmost one for vertical alignment.
 .
-If there is no dot, use the rightmost digit for vertical alignment;
+If there is no decimal separator, use the rightmost digit for vertical
alignment;
 otherwise, center the item within the column.
 .
 Alignment can be forced to a certain position using \[oq]\[rs]&\[cq];
@@ -1141,8 +1141,8 @@ sees the input earlier than
 .IR \%@g@troff .
 .
 For example,
-number formatting with vertically aligned decimal points fails if those
-numbers are passed on as macro parameters because decimal point
+number formatting with vertically aligned decimal separators fails if those
+numbers are passed on as macro parameters because decimal separator
 alignment is handled by
 .I \%@g@tbl
 itself:
@@ -1150,7 +1150,7 @@ it only sees
 .BR \[rs]$1 ,
 .BR \[rs]$2 ,
 etc.,
-and therefore can't recognize the decimal point.
+and therefore can't recognize the decimal separator.
 .
 .
 .\" ====================================================================
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 2b72640b..07580c98 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -880,6 +880,9 @@
 .
 .\" End table.
 .de1 TE
+.  if \\n[.ll]<\\n[TW] \{\
+.    tm line nr.\& \\n[.c], line length is \\n[.ll]u and width of table is
\\n[TW]u
+.  \}
 .  if n \{\
 .    pl \\n[an-cur-page-length]u
 .  \}
-- 
2.33.0






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61371>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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