groff-commit
[Top][All Lists]
Advanced

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

[groff] 15/20: [docs]: Fix style nit.


From: G. Branden Robinson
Subject: [groff] 15/20: [docs]: Fix style nit.
Date: Thu, 24 Nov 2022 22:11:34 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 08b027e21a7dd22d76962fbf77baa3eb1f9c576f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Nov 24 20:18:18 2022 -0600

    [docs]: Fix style nit.
    
    Except for mom(7) docs, which are maintained by Peter Schaffter, we use
    the word form "predefined" (with no hyphen).
    
    Fix this also in source comments.
---
 doc/automake.mom           | 2 +-
 src/preproc/eqn/eqn.1.man  | 2 +-
 src/preproc/pic/pic.ypp    | 6 +++---
 src/roff/groff/groff.1.man | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/automake.mom b/doc/automake.mom
index 5462b1f02..18187efac 100644
--- a/doc/automake.mom
+++ b/doc/automake.mom
@@ -214,7 +214,7 @@ various tools in the correct order.
 .PP
 Automake defines a set of special variables that are used to
 generate various build rules in the final Makefile.  Note however
-that if Automake's pre-defined rules are not enough, you still have
+that if Automake's predefined rules are not enough, you still have
 the possibility of adding handwritten standard `make' rules in a
 Makefile.am; these rules will be copied verbatim in the Makefile.in
 and then in the final Makefile.
diff --git a/src/preproc/eqn/eqn.1.man b/src/preproc/eqn/eqn.1.man
index 946d49beb..2640d7a47 100644
--- a/src/preproc/eqn/eqn.1.man
+++ b/src/preproc/eqn/eqn.1.man
@@ -484,7 +484,7 @@ is moved down if
 has a descender.
 .
 .B utilde
-is pre-defined using
+is predefined using
 .B uaccent
 as a tilde accent below the baseline.
 .
diff --git a/src/preproc/pic/pic.ypp b/src/preproc/pic/pic.ypp
index e06b139c8..b2fa6dcf5 100644
--- a/src/preproc/pic/pic.ypp
+++ b/src/preproc/pic/pic.ypp
@@ -1764,7 +1764,7 @@ void define_variable(const char *name, double val)
   p->y = 0.0;
   current_table->define(name, p);
   if (strcmp(name, "scale") == 0) {
-    // When the scale changes, reset all scaled pre-defined variables to
+    // When the scale changes, reset all scaled predefined variables to
     // their default values.
     for (unsigned int i = 0;
         i < sizeof(defaults_table)/sizeof(defaults_table[0]); i++) 
@@ -1803,9 +1803,9 @@ void reset(const char *nm)
 
 void reset_all()
 {
-  // We only have to explicitly reset the pre-defined variables that
+  // We only have to explicitly reset the predefined variables that
   // aren't scaled because 'scale' is not scaled, and changing the
-  // value of 'scale' will reset all the pre-defined variables that
+  // value of 'scale' will reset all the predefined variables that
   // are scaled.
   for (unsigned int i = 0;
        i < sizeof(defaults_table)/sizeof(defaults_table[0]); i++)
diff --git a/src/roff/groff/groff.1.man b/src/roff/groff/groff.1.man
index 1d300e53b..4013134f0 100644
--- a/src/roff/groff/groff.1.man
+++ b/src/roff/groff/groff.1.man
@@ -924,7 +924,7 @@ An overview of GNU
 language syntax and features,
 including lists of all supported escape sequences,
 requests,
-and pre-defined registers,
+and predefined registers,
 can be found in
 .MR groff @MAN7EXT@ .
 .



reply via email to

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