groff-commit
[Top][All Lists]
Advanced

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

[groff] 04/06: Fix Savannah #63589.


From: G. Branden Robinson
Subject: [groff] 04/06: Fix Savannah #63589.
Date: Sun, 5 Feb 2023 07:17:54 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 45b628322b2a16b2fd0726f7ac0f48dad34f92bd
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Feb 4 15:42:23 2023 -0600

    Fix Savannah #63589.
    
    Correct numerous typos and solecisms throughout the source tree.
    
    * ChangeLog:
    * ChangeLog.115:
    * ChangeLog.116:
    * ChangeLog.117:
    * ChangeLog.118:
    * ChangeLog.119:
    * ChangeLog.121:
    * ChangeLog.122:
    * Makefile.am:
    * NEWS:
    * PROBLEMS:
    * README:
    * contrib/chem/chem.am:
    * contrib/chem/chem.pl:
    * contrib/glilypond/README.txt:
    * contrib/glilypond/glilypond.pl:
    * contrib/hdtbl/groff_hdtbl.7.man:
    * contrib/mm/ChangeLog:
    * contrib/mm/m.tmac:
    * contrib/pdfmark/pdfmark.ms:
    * doc/automake.mom:
    * doc/groff.texi:
    * doc/me-revisions:
    * doc/webpage.ms:
    * m4/lib-link.m4:
    * man/groff.7.man:
    * man/groff_diff.7.man:
    * man/roff.7.man:
    * src/devices/grohtml/post-html.cpp:
    * src/devices/grolbp/lbp.h:
    * src/devices/gropdf/TODO:
    * src/devices/gropdf/gropdf.1.man:
    * src/devices/gropdf/gropdf.pl:
    * src/devices/xditview/ChangeLog:
    * src/devices/xditview/xditview.c:
    * src/libs/libdriver/input.cpp:
    * src/libs/libgroff/glyphuni.cpp:
    * src/preproc/eqn/eqn.1.man:
    * src/preproc/grn/gprint.h:
    * src/preproc/grn/main.cpp:
    * src/preproc/html/pre-html.cpp:
    * src/preproc/preconv/preconv.cpp:
    * src/preproc/tbl/table.cpp:
    * src/roff/groff/pipeline.c:
    * src/roff/groff/tests/substring_works.sh:
    * src/roff/groff/tests/use_point_size_escape_with_single_digit_arg.sh:
    * src/roff/troff/div.cpp:
    * src/roff/troff/input.cpp:
    * src/roff/troff/troff.1.man:
    * src/utils/grog/grog.pl:
    * src/utils/indxbib/indxbib.cpp:
    * src/utils/tfmtodit/tfmtodit.1.man:
    * tmac/doc-old.tmac:
    * tmac/doc.tmac:
    * tmac/groff_man.7.man.in:
    * tmac/hyphen.fr: Do it.
    
    Fixes <https://savannah.gnu.org/bugs/?63589>.  Thanks to Bjarni Ingi
    Gislason for the report.
    
    * ANNOUNCE: Update bug counts.
    
    I also killed some pointless white space, refilled affected lines at 72
    columns where convenient and non-disruptive to existing text flow, and
    corrected a misspelling of Ralph Corderoy's surname.
---
 ANNOUNCE                                           |   6 +-
 ChangeLog                                          | 115 ++++++++++++++++-----
 ChangeLog.115                                      |  53 +++++-----
 ChangeLog.116                                      |   4 +-
 ChangeLog.117                                      |   2 +-
 ChangeLog.118                                      |   4 +-
 ChangeLog.119                                      |  12 +--
 ChangeLog.121                                      |   2 +-
 ChangeLog.122                                      |  38 +++----
 Makefile.am                                        |   2 +-
 NEWS                                               |   2 +-
 PROBLEMS                                           |   2 +-
 README                                             |   2 +-
 contrib/chem/chem.am                               |   2 +-
 contrib/chem/chem.pl                               |   2 +-
 contrib/glilypond/README.txt                       |   2 +-
 contrib/glilypond/glilypond.pl                     |  10 +-
 contrib/hdtbl/groff_hdtbl.7.man                    |   4 +-
 contrib/mm/ChangeLog                               |  12 +--
 contrib/mm/m.tmac                                  |   2 +-
 contrib/pdfmark/pdfmark.ms                         |   2 +-
 doc/automake.mom                                   |  14 +--
 doc/groff.texi                                     |  16 +--
 doc/me-revisions                                   |   2 +-
 doc/webpage.ms                                     |   2 +-
 m4/lib-link.m4                                     |   2 +-
 man/groff.7.man                                    |   6 +-
 man/groff_diff.7.man                               |   2 +-
 man/roff.7.man                                     |   6 +-
 src/devices/grohtml/post-html.cpp                  |   2 +-
 src/devices/grolbp/lbp.h                           |   4 +-
 src/devices/gropdf/TODO                            |  16 +--
 src/devices/gropdf/gropdf.1.man                    |   2 +-
 src/devices/gropdf/gropdf.pl                       |   6 +-
 src/devices/xditview/ChangeLog                     |   2 +-
 src/devices/xditview/xditview.c                    |   2 +-
 src/libs/libdriver/input.cpp                       |   2 +-
 src/libs/libgroff/glyphuni.cpp                     |   2 +-
 src/preproc/eqn/eqn.1.man                          |   2 +-
 src/preproc/grn/gprint.h                           |   2 +-
 src/preproc/grn/main.cpp                           |   2 +-
 src/preproc/html/pre-html.cpp                      |   2 +-
 src/preproc/preconv/preconv.cpp                    |   3 +-
 src/preproc/tbl/table.cpp                          |   4 +-
 src/roff/groff/pipeline.c                          |   6 +-
 src/roff/groff/tests/substring_works.sh            |   2 +-
 .../use_point_size_escape_with_single_digit_arg.sh |   6 +-
 src/roff/troff/div.cpp                             |   2 +-
 src/roff/troff/input.cpp                           |   2 +-
 src/roff/troff/troff.1.man                         |   2 +-
 src/utils/grog/grog.pl                             |   4 +-
 src/utils/indxbib/indxbib.cpp                      |   2 +-
 src/utils/tfmtodit/tfmtodit.1.man                  |   2 +-
 tmac/doc-old.tmac                                  |   4 +-
 tmac/doc.tmac                                      |   4 +-
 tmac/groff_man.7.man.in                            |   2 +-
 tmac/hyphen.fr                                     |   6 +-
 57 files changed, 248 insertions(+), 179 deletions(-)

diff --git a/ANNOUNCE b/ANNOUNCE
index 6dce6544a..a541bc1c5 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -54,7 +54,7 @@ release shipped with three automated unit tests; this one 
ships with
 over 160 unit and regression tests.
 
 As of this writing, per the GNU Savannah bug tracker, the groff project
-has resolved 409 problems as fixed for the 1.23.0 release.  Some of the
+has resolved 410 problems as fixed for the 1.23.0 release.  Some of the
 bugs we've corrected were over 30 years old.
 
 Classifying these issues by type and the component of the project to
@@ -67,11 +67,11 @@ which they apply, we find the following.
   Documentation                99   Driver: gropdf                  8
   Feature change               39   Driver: grops                   2
   Incorrect behavior          128   Driver: grotty                  4
-  Lint                         14   Driver: others/general          8
+  Lint                         15   Driver: others/general          8
   Rendering/cosmetics          10   Font: devpdf                    1
   Test                          4   Font: devps                     3
   Warning/suspicious behavior  67   Font: others/general            4
-                                    General                        45
+                                    General                        46
                                     Macros: man                    32
                                     Macros: mdoc                   13
                                     Macros: me                     36
diff --git a/ChangeLog b/ChangeLog
index ef05d733c..43db91667 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,68 @@
+2023-02-04  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       Correct numerous typos and solecisms throughout the source tree.
+
+       * ChangeLog:
+       * ChangeLog.115:
+       * ChangeLog.116:
+       * ChangeLog.117:
+       * ChangeLog.118:
+       * ChangeLog.119:
+       * ChangeLog.121:
+       * ChangeLog.122:
+       * Makefile.am:
+       * NEWS:
+       * PROBLEMS:
+       * README:
+       * contrib/chem/chem.am:
+       * contrib/chem/chem.pl:
+       * contrib/glilypond/README.txt:
+       * contrib/glilypond/glilypond.pl:
+       * contrib/hdtbl/groff_hdtbl.7.man:
+       * contrib/mm/ChangeLog:
+       * contrib/mm/m.tmac:
+       * contrib/pdfmark/pdfmark.ms:
+       * doc/automake.mom:
+       * doc/groff.texi:
+       * doc/me-revisions:
+       * doc/webpage.ms:
+       * m4/lib-link.m4:
+       * man/groff.7.man:
+       * man/groff_diff.7.man:
+       * man/roff.7.man:
+       * src/devices/grohtml/post-html.cpp:
+       * src/devices/grolbp/lbp.h:
+       * src/devices/gropdf/TODO:
+       * src/devices/gropdf/gropdf.1.man:
+       * src/devices/gropdf/gropdf.pl:
+       * src/devices/xditview/ChangeLog:
+       * src/devices/xditview/xditview.c:
+       * src/libs/libdriver/input.cpp:
+       * src/libs/libgroff/glyphuni.cpp:
+       * src/preproc/eqn/eqn.1.man:
+       * src/preproc/grn/gprint.h:
+       * src/preproc/grn/main.cpp:
+       * src/preproc/html/pre-html.cpp:
+       * src/preproc/preconv/preconv.cpp:
+       * src/preproc/tbl/table.cpp:
+       * src/roff/groff/pipeline.c:
+       * src/roff/groff/tests/substring_works.sh:
+       * src/roff/groff/tests/
+       use_point_size_escape_with_single_digit_arg.sh:
+       * src/roff/troff/div.cpp:
+       * src/roff/troff/input.cpp:
+       * src/roff/troff/troff.1.man:
+       * src/utils/grog/grog.pl:
+       * src/utils/indxbib/indxbib.cpp:
+       * src/utils/tfmtodit/tfmtodit.1.man:
+       * tmac/doc-old.tmac:
+       * tmac/doc.tmac:
+       * tmac/groff_man.7.man.in:
+       * tmac/hyphen.fr: Do it.
+
+       Fixes <https://savannah.gnu.org/bugs/?63589>.  Thanks to Bjarni
+       Ingi Gislason for the report.
+
 2023-02-04  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [tbl]: Drop XFAIL test.  It was written with an unclear
@@ -447,7 +512,7 @@
 2022-12-17  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/doc.tmac: Trivially refactor.  Relocate handling of `D`
-       command-line reigster to prepare for greater synchronization
+       command-line register to prepare for greater synchronization
        with groff man(7).
 
 2022-12-17  G. Branden Robinson <g.branden.robinson@gmail.com>
@@ -1088,7 +1153,7 @@
 
        * font/devps/psstrip.sed: Stop stripping comment lines in
        general instead of preserving only ones that use the form in the
-       Document Structuring Coventions.  This way we won't strip
+       Document Structuring Conventions.  This way we won't strip
        copyright notices, like Werner Lemberg's in the FreeEuro font.
        Thanks to Deri James for pointing this out.
 
@@ -4290,7 +4355,7 @@
        ghostscript is either unavailable or deliberately disabled
        by the person running the build.  These files need to be
        built and installed anyway, and can be used on the target
-       sytem when the required infrastructure is available at run
+       system when the required infrastructure is available at run
        time.
 
 2022-06-15  G. Branden Robinson <g.branden.robinson@gmail.com>
@@ -4432,7 +4497,7 @@
        * src/devices/gropdf/gropdf.pl: Do more "DESC" file validation.
        (LoadDesc): Bomb out gracefully if any of "unitwidth", "res", or
        "sizescale" missing from "DESC" file.  This prevents Perl
-       warnings about use of unintialized values, and undoubtedly
+       warnings about use of uninitialized values, and undoubtedly
        mangled output.
 
 2022-06-04  G. Branden Robinson <g.branden.robinson@gmail.com>
@@ -5826,10 +5891,10 @@
 
        Fix the configuration of texi2dvi.
 
-       * m4/groff.m4: Set groff_have_texi2dvi if texi2dvi(1) is available
-       and useable, even if the availability was specified by the user
-       by manually providing the configure variable PROG_TEXI2DVI,
-       and not only if it was autodetected.
+       * m4/groff.m4: Set groff_have_texi2dvi if texi2dvi(1) is
+       available and usable, even if the availability was specified by
+       the user by manually providing the configure variable
+       PROG_TEXI2DVI, and not only if it was autodetected.
        Also, set the PROG_TEXI2DVI Makefile variable to the name of
        the texi2dvi program specified by the user or autodetected,
        and not to the string "found", such that this Makefile variable
@@ -6233,10 +6298,10 @@
        * font/devX100/devX100.am:
        * font/devX75-12/devX75-12.am:
        * font/devX75/devX75.am: Fix in-tree build; expand `fontdir`
-       instead of `abs_top_builddir` Make macro when definining
-       Automake variable for generated artifacts.  Problem introduced
-       by me in commit 3c82cbbfe, 27 February.  Thanks to Robert
-       Goulding for the report.
+       instead of `abs_top_builddir` Make macro when defining Automake
+       variable for generated artifacts.  Problem introduced by me in
+       commit 3c82cbbfe, 27 February.  Thanks to Robert Goulding for
+       the report.
 
 2022-03-22  Ingo Schwarze <schwarze@openbsd.org>
 
@@ -7091,7 +7156,7 @@
        its semantics to a Boolean value (see Savannah #61734).
        Introduce new register `mJ` to store "1" (if not groff) and the
        current hyphenation mode otherwise.  Explain why in a comment.
-       (YS, UE, ME, MR): Restore hyphenation mode using `mJ` insted of
+       (YS, UE, ME, MR): Restore hyphenation mode using `mJ` instead of
        `HY`.
 
 2022-02-16  G. Branden Robinson <g.branden.robinson@gmail.com>
@@ -8352,7 +8417,7 @@
        * tmac/e.tmac (initialization): Introduce internal
        `_mo1`..`_mo12`, `_dw1`..`_dw7`, and `_td_format` strings (with
        English defaults).  Define them outside of the new `ld` macro so
-       that they can be overriden by localization packages.
+       that they can be overridden by localization packages.
        (ld) <dw, mo, td>: Populate via the above new strings.
        * tmac/trans.tmac: Stop defining `mo` and `dw`.  Instead, make
        them aliases of the new strings above.   Handle `wa` and `wc`
@@ -9816,7 +9881,7 @@
 
        * src/devices/grotty/tty.cpp: Boolify.  Demote numerous
        variables (and one return type) from `int` to `bool`, use
-       Boolean insted of integer literals with them, and give the
+       Boolean instead of integer literals with them, and give the
        variables names resembling logical predicates.
         - horizontal_tab_flag -> want_horizontal_tabs
         - form_feed_flag -> want_form_feeds
@@ -11913,7 +11978,7 @@
        locale character set inference logic so that we only run it if
        we have to (`-T` option was invalid or not given and
        `GROFF_TYPESETTER` was not set in the environment or invalid).
-       Initalize `T` variable as empty.
+       Initialize `T` variable as empty.
 
 2021-07-23  G. Branden Robinson <g.branden.robinson@gmail.com>
 
@@ -13556,9 +13621,9 @@
        * src/preproc/html/pre-html.cpp (scanArguments):
        * src/devices/grohtml/post-html.cpp (main): Use libgroff's
        warning() instead of printf() to emit diagnostic about
-       unrecognized paramter to `-x` option.  This sends the diagnostic
-       to the standard error stream and continues the long process of
-       fixing Savannah #52463.
+       unrecognized parameter to `-x` option.  This sends the
+       diagnostic to the standard error stream and continues the long
+       process of fixing Savannah #52463.
 
 2021-05-22  G. Branden Robinson <g.branden.robinson@gmail.com>
 
@@ -14172,7 +14237,7 @@
 
        * tmac/s.tmac: Implement alternative rendering for automatic
        footnote numbers in nroff mode, inspired by Heirloom Doctools
-       ms; since superscripting is not univerally available on
+       ms; since superscripting is not universally available on
        terminals, surround number with square brackets instead.
        (fn@init): New macro finishes initializing footnote module,
        setting up aliases to par@sup-{start,end} strings in troff mode
@@ -15187,7 +15252,7 @@
        (FontNamesAmbiguous, MapFont, main): Format diagnostic messages
        more consistently with GNU Coding Standards.  Prefix with name
        of complaining command.  Put argument literals in quotation
-       marks.  Put each messge on one line only.
+       marks.  Put each message on one line only.
 
 2020-11-28  G. Branden Robinson <g.branden.robinson@gmail.com>
 
@@ -15716,7 +15781,7 @@
        * src/preproc/tbl/main.cpp (main):
        * tmac/eqnrc:
        * tmac/troffrc: Perform checks of register and macro definitions
-       with a .do request, since we might be in compatibilty mode.
+       with a .do request, since we might be in compatibility mode.
 
 2020-10-16  G. Branden Robinson <g.branden.robinson@gmail.com>
 
@@ -16112,7 +16177,7 @@
        Lemberg on 3 May 2002 and Colin Watson updated man-db man(1)--on
        the same day!--to synthesize the option when calling groff.
 
-       Later, in August 2005, Keith Marshall, a user of vesion 1.5m of
+       Later, in August 2005, Keith Marshall, a user of version 1.5m of
        Brouwer/Lucifredi man(1), which did not set the LL register,
        suggested that the existing .ll setting (technically, the value
        of \n[.l], the only way the result of an .ll request could be
@@ -16862,7 +16927,7 @@
 
        * **/*.{man,tmac}: Save compatibility mode robustly.
 
-       Use new \n[.cp] register to save compatibilty mode.
+       Use new \n[.cp] register to save compatibility mode.
 
        Use register names based on the filename (at the source
        maintenance level) to avoid clobbering other files' saved
@@ -17265,7 +17330,7 @@
        Improve point-size escape diagnostics.
 
        * src/roff/troff/input.cpp (read_size): Disclose context
-       {point-size escape intepretation} in diagnostic messages.  When
+       {point-size escape interpretation} in diagnostic messages.  When
        a "bad digit" is encountered, describe it if possible.  When a
        relative adjustment results in a negative point size, report the
        computed value.  Also rename a variable for slightly more
diff --git a/ChangeLog.115 b/ChangeLog.115
index 18ca4b60b..6f8b17b97 100644
--- a/ChangeLog.115
+++ b/ChangeLog.115
@@ -889,7 +889,7 @@ Fri Feb 11 11:45:40 1994  James Clark  (jjc@jclark.com)
        popen/pclose on POPEN_MISSING.
        * troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
        * troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
-       (pipe_source): Similarily.
+       (pipe_source): Similarly.
 
        * acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
 
@@ -1643,7 +1643,7 @@ Wed Oct 28 08:30:57 1992  James Clark  (jjc at jclark)
 Mon Oct 26 11:33:47 1992  James Clark  (jjc at jclark)
 
        * tmac/tmac.e ((f): Set up the environment even when there's a
-       current diversion.  Transperently throughput a call to @N.
+       current diversion.  Transparently throughput a call to @N.
        (@N): New macro.
 
 Thu Oct 22 05:05:59 1992  James Clark  (jjc at jclark)
@@ -1746,7 +1746,7 @@ Mon Sep 21 10:59:16 1992  James Clark  (jjc at jclark)
        (hyphen_trie::do_delete): New function.
        (trie::~trie): New function.
        (hyphen_trie::~hyphen_trie): New function.
-       (trie::clear): No need to chcek that tp is not 0.
+       (trie::clear): No need to check that tp is not 0.
        (current_language, language_dictionary): New variables.
        (hyphen_word): Give an error if no current language.  Use
        exceptions dictionary in current language.
@@ -1809,7 +1809,7 @@ Sun Sep 20 09:33:02 1992  James Clark  (jjc at jclark)
        font::paperlength. Don't compute columns_per_page from
        font::paperwidth.
        (tty_printer::add_char): Don't check horizontal position against
-       columns_per_page. Grow glyphs vector if neccessary.
+       columns_per_page. Grow glyphs vector if necessary.
        (tty_printer::end_page): Add argument giving page_length in units.
        Discard lines past end of page.
 
@@ -1941,7 +1941,7 @@ Mon Aug 24 11:11:11 1992  James Clark  (jjc at jclark)
        (O_RDONLY): Define if necessary.
        (make_index_search_item, index_search_item_iterator::get_tag,
        index_search_item::check_files): Use O_RDONLY.
-       * libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
+       * libbib/search.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
        (O_RDONLY): Define if necessary.
        (search_list::add_file): Use O_RDONLY.
        * indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
@@ -2475,7 +2475,7 @@ Thu Jul  2 10:59:15 1992  James Clark  (jjc at jclark)
 Wed Jul  1 10:17:25 1992  James Clark  (jjc at jclark)
 
        * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
-       produce a real _ charater when the current font is CW and _
+       produce a real _ character when the current font is CW and _
        otherwise.
 
        * lib/errarg.c (errarg::errarg(const char *)): Invert conditional
@@ -3055,7 +3055,7 @@ Sat Feb 15 09:55:20 1992  James Clark  (jjc at jclark)
        environment::get_half_narrow_space_width): Make inline.
        (environment::get_space_width): Make inline.  Just call
        env_space_width.
-       * troff/env.c: Delete definitions for funtions made inline.
+       * troff/env.c: Delete definitions for functions made inline.
        (environment::space_newline, environment::space): Use
        env_sentence_space_width(). Don't scale by space_size.
        * troff/node.h: Move declarations of env*space_width() functions
@@ -3231,7 +3231,7 @@ Sun Sep 29 08:40:57 1991  James Clark  (jjc at jclark)
 
        * pic/lex.c (input_stack::bol): Move definition out of class body.
 
-       * pic/main.c: On MSDOS munge argv[0].
+       * pic/main.c: On MS-DOS munge argv[0].
 
        * lib/ptable.h: Define name2 as _Paste2 for Borland C++.
 
@@ -3591,7 +3591,7 @@ Thu May 23 12:30:49 1991  James Clark  (jjc at jclark)
        * macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
 
        * pic/object.c (position_rectangle): When checking radius
-       cope with possiblity that width or height is negative.
+       cope with possibility that width or height is negative.
        (box_object::box_object): Have separate xrad and yrad with
        signs matching signs of dim components.
        (box_object::{north,south}_{east,west}): Use xrad and yrad.
@@ -3730,7 +3730,7 @@ Mon Apr 15 11:20:23 1991  James Clark  (jjc at jclark)
        TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
        TOKEN_SIZE.
 
-       * man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
+       * man/Makefile: Add definition of BROKEN_SPOOLER_FLAGS.
        (.man.n):  sed out @BROKEN_SPOOLER_FLAGS@.
 
 Sun Apr 14 12:57:00 1991  James Clark  (jjc at jclark)
@@ -3971,8 +3971,9 @@ Mon Mar 11 12:01:20 1991  James Clark  (jjc at jclark)
        * macros/tmac.e: Remove check that groff is being used.
 
        * macros/tmac.e (@C): Change families only if using groff; turn
-       compatibility mode off while changing familes. Save compatibility
-       mode before changing families and restore it afterwards.
+       compatibility mode off while changing families. Save
+       compatibility mode before changing families and restore it
+       afterwards.
 
        * macros/tmac.e (@h): Remove test for offset + line length.
 
@@ -4503,7 +4504,7 @@ Wed Nov 28 10:09:57 1990  James Clark  (jjc at jclark)
        * macros/tmac.s: New file.
        * man/groff_ms.man: New file.
        * Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
-       * Makefile.bd: Similarily.
+       * Makefile.bd: Similarly.
        * man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
        definition of TMAC_S.
        * macros/Makefile: Add definition of TMAC_S. Install tmac.s.
@@ -4587,7 +4588,7 @@ Fri Nov 16 06:34:27 1990  James Clark  (jjc at jclark)
 
        * troff/node.c (lookup_family): Supply second argument to lookup.
 
-       * troff/dictionary.c (dictionary::lookup): After an unsuccesful
+       * troff/dictionary.c (dictionary::lookup): After an unsuccessful
        search, return immediately if v is 0.
 
        * pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
@@ -4836,7 +4837,7 @@ Wed Oct 10 09:59:13 1990  James Clark  (jjc at jclark)
 Tue Oct  9 08:34:02 1990  James Clark  (jjc at jclark)
 
        * eqn/lex.c: In defaults_table, make definition of `dot' call
-       `dot_def'.  Don't explicitly make it roman.  Similarily for other
+       `dot_def'.  Don't explicitly make it roman.  Similarly for other
        accents.
 
        * pic/lex.c (for_input::for_input): Add by_is_multiplicative
@@ -5190,7 +5191,7 @@ Thu Sep 13 06:21:45 1990  James Clark  (jjc at jclark)
 
        * troff/node.c (class glyph_node): Make operator new and operator
        delete public.
-       (class ligature_node): Similarily.
+       (class ligature_node): Similarly.
 
        * troff/input.c (operator==(const macro &, const macro &)): New
        function.
@@ -5246,7 +5247,7 @@ Mon Sep 10 11:06:27 1990  James Clark  (jjc at jclark)
 
        * troff/input.c (read_long_escape_name): The test for whether to
        expand buffer was off by 1.
-       (read_string): Similarily.
+       (read_string): Similarly.
 
 Fri Sep  7 11:45:50 1990  James Clark  (jjc at jclark)
 
@@ -5345,7 +5346,7 @@ Tue Sep  4 00:48:04 1990  James Clark  (jjc at jclark)
        * groff.c: New file.
        * Makefile: Build groff from groff.c.  Make it possible to use
        either groff.sh or groff.c as groff.
-       * Makefile.bd: Similarily.
+       * Makefile.bd: Similarly.
 
 Mon Sep  3 09:39:49 1990  James Clark  (jjc at jclark)
 
@@ -5357,14 +5358,14 @@ Sun Sep  2 09:56:59 1990  James Clark  (jjc at jclark)
        * all Makefiles: Simplify and rearrange.
 
        * Makefile: Handle fmod like malloc.
-       * lib/Makefile: Similarily.
+       * lib/Makefile: Similarly.
        * lib/fmod.c: Remove #ifdef NEED_FMOD.
 
        * Makefile: Rename OPTIMISE to OPTIMIZE.
 
        * groff.sh: Remove assignment to PATH.
        * Makefile: Remove SHPATH variable.
-       * Makefile.bd: Similarily.
+       * Makefile.bd: Similarly.
 
        * groff.sh: Add -V option to print the pipeline instead of
        executing it.
@@ -5380,7 +5381,7 @@ Thu Aug 30 13:13:55 1990  James Clark  (jjc at jclark)
 
        * tbl/table.c (table::do_hspan): Delete assertion that e != 0.
        Also change misleading comment.
-       (table::do_vspan): Change similarily misleading comment.
+       (table::do_vspan): Change similarly misleading comment.
        * tbl/main.c (process_data): A format row with an explicit `s'
        uses up a data line, even if all the other columns are `_' or `='.
 
@@ -5656,7 +5657,7 @@ Mon Aug 13 10:11:16 1990  James Clark  (jjc at yquem)
 
        * eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
        rather than \l.
-       (underline_box::output): Similarily.
+       (underline_box::output): Similarly.
        (accent_box::output): Use \Z.
 
        * xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
@@ -5693,7 +5694,7 @@ Sat Aug 11 09:02:21 1990  James Clark  (jjc at yquem)
 
        * troff/env.c (tab_character): Don't change the tab character if
        we get an invalid argument.
-       (hyphen_char): Similarily.
+       (hyphen_char): Similarly.
 
        * troff/reg.c (alter_format): Check that nm is not null.
 
@@ -5805,7 +5806,7 @@ Fri Aug  3 09:59:27 1990  James Clark  (jjc at yquem)
        * troff/env.c (environment_switch): Pop if we get an invalid
        symbol or numeric expression.
 
-       * troff/input.c (do_define_macro):  If EOF is encoutered while
+       * troff/input.c (do_define_macro):  If EOF is encountered while
        defining the macro, do tok.next() before returning.
 
        * troff/token.h (has_arg): Move definition from here, to ...
@@ -5839,7 +5840,7 @@ Fri Aug  3 09:59:27 1990  James Clark  (jjc at yquem)
        * eqn/main.c (main): Add -C option.
        (do_file): Don't recognize EQ, EN or lf if followed by character
        other than space or newline unless -C option given.
-       * eqn/lex.c (file_input::read_line): Similarily.
+       * eqn/lex.c (file_input::read_line): Similarly.
        * eqn/eqn.h: Declare compatible_flag.
 
        * etc/soelim.c (main): Add -C option.
@@ -5850,7 +5851,7 @@ Fri Aug  3 09:59:27 1990  James Clark  (jjc at yquem)
        (top_input::get), (top_input::peek):  If -C option not given,
        do not recognize .PS/.PE/.PF/.lf if followed by a character
        other than space or newline.
-       * pic/lex.c (file_input::read_line): Similarily.
+       * pic/lex.c (file_input::read_line): Similarly.
        * pic/pic.h: Add declaration of compatible_flag.
 
 Thu Aug  2 11:11:27 1990  James Clark  (jjc at yquem)
diff --git a/ChangeLog.116 b/ChangeLog.116
index 2dfa19941..85f26b763 100644
--- a/ChangeLog.116
+++ b/ChangeLog.116
@@ -209,7 +209,7 @@ Version 1.16.1 released
 
 2000-06-07  Paco Andr�s Verd�  <pandres@dragonet.es>
 
-       * src/devides/grolbp/lbp.h: Removed unused variables.
+       * src/devices/grolbp/lbp.h: Removed unused variables.
 
 2000-05-31  Keith Thompson  <kst@sdsc.edu>
 
@@ -960,7 +960,7 @@ Version 1.16 released
        * src/roff/groff/groff.man: Formatting fix.
        * src/preproc/grn/grn.man: Ditto.
 
-       * src/roff/grog/grog.pl: Fixing two embarassing bugs.
+       * src/roff/grog/grog.pl: Fixing two embarrassing bugs.
 
        * doc/groff.texinfo: Further checking/updating.
 
diff --git a/ChangeLog.117 b/ChangeLog.117
index a48c584ee..5724952df 100644
--- a/ChangeLog.117
+++ b/ChangeLog.117
@@ -718,7 +718,7 @@ Version 1.17 released
        (special_node::same, special_node::copy): Updated.
        (special_node::ends_sentence): New method.
        (troff_output_file::start_special): Add parameter to include
-       inititialization of special conditionally.
+       initialization of special conditionally.
 
        * src/roff/troff/env.h (environment): New member `underline_spaces'.
        * src/roff/troff/env.cc (do_underline_special): New function.
diff --git a/ChangeLog.118 b/ChangeLog.118
index d7ad41ec7..a87d02ce2 100644
--- a/ChangeLog.118
+++ b/ChangeLog.118
@@ -1623,7 +1623,7 @@ Version 1.18.0 released
 2002-03-23  Phil Lobbes  <phil@perkpartners.com>
 
        * Makefile.comm (.y.o): New rule for make on Solaris 2.5.1 -- the
-       internal .y.o rule took precendence over the .y.cc rule, compiling
+       internal .y.o rule took precedence over the .y.cc rule, compiling
        the yacc files with gcc instead of g++.
 
 2002-03-23  Werner LEMBERG  <wl@gnu.org>
@@ -3308,7 +3308,7 @@ Version 1.18.0 released
        (html_text): New member functions `do_color' and `done_color'.
        Use `void *' for second parameter of `push_para' member function.
        New `push_para' member function with a single parameter.
-       Use `char *' for parameter of `issue_table_begin' member funtion.
+       Use `char *' for parameter of `issue_table_begin' member function.
        New `issue_color_begin' member function.
        * src/devices/grohtml/html-text.cc (html_text::end_tag): Handle
        COLOR_TAG.
diff --git a/ChangeLog.119 b/ChangeLog.119
index 7e0345bb1..284036830 100644
--- a/ChangeLog.119
+++ b/ChangeLog.119
@@ -132,7 +132,7 @@ Version 1.19.2 released
 
 2005-06-20  Denis M. Wilson  <dmw@oxytropis.plus.com>
 
-       * font/devps/prologue.ps (EP): Dont' use `bind'.  Reason: Using
+       * font/devps/prologue.ps (EP): Don't use `bind'.  Reason: Using
        `bind' to define a procedure which contains `showpage' means that an
        invocation of `showpage' may execute wrongly (the exact effect
        depending on the interpreter).  Not usually a problem except under
@@ -695,7 +695,7 @@ Version 1.19.2 released
        (html_text::flush_text): Don't set `start_space'.
        (html_text::push_para): Don't set `p->really_issued'.
        (html_text::do_emittext): Updated.
-       (html_text::do_para): Add paremeter to handle space.
+       (html_text::do_para): Add parameter to handle space.
        Update all callers.
        (html_text::retrieve_para_space): New function.
 
@@ -837,7 +837,7 @@ Version 1.19.2 released
 2004-12-17  Werner LEMBERG  <wl@gnu.org>
 
        * tmac/devtag.tmac: Protect against loading twice.
-       Protect agains compatibility mode.
+       Protect against compatibility mode.
        * tmac/www.tmac: Protect against loading twice.
        Load `devtag.tmac' before switching off compatibility mode.
        * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
@@ -3957,7 +3957,7 @@ Version 1.19 released
        * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
        doc/groff.texinfo: Updated.
 
-       * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
+       * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarrassing
        bug which caused all odd iso papers to have wrong dimensions.
 
        * src/devices/grops/ps.cc (user_paper_width): New global variable.
@@ -4846,10 +4846,10 @@ Version 1.19 released
        * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
        typo.
        * font/devps/generate/sfdtopfa.pe: Generate PFA in current
-       direcory.
+       directory.
 
        * tmac/europs.tmac: Updated to new glyph indices.
-       Use Euro.symbol for font familiy `A'.
+       Use Euro.symbol for font family `A'.
 
        * doc/groff.texinfo: Minor improvements.
 
diff --git a/ChangeLog.121 b/ChangeLog.121
index 01b60d845..80f4197b9 100644
--- a/ChangeLog.121
+++ b/ChangeLog.121
@@ -416,7 +416,7 @@ Version 1.21 released
        in Savannah bug #29895.
 
        * src/devices/grotty/tty.cpp (tty_printer): Remove `is_utf8' member.
-       Replace all ocurrences with `font::is_unicode'.
+       Replace all occurrences with `font::is_unicode'.
        (tty_printer::tty_printer): Remove argument.
 
        * src/devices/grotty/grotty.man: Document `unicode' keyword.
diff --git a/ChangeLog.122 b/ChangeLog.122
index 393fcb9c8..b33249bcb 100644
--- a/ChangeLog.122
+++ b/ChangeLog.122
@@ -75,7 +75,7 @@ Version 1.22.4 released
        'hypot' is correctly declared in 'math.h', but the test is buggy
        and may yields false results.
 
-       * bootsrap.conf: add 'hypot' module.
+       * bootstrap.conf: add 'hypot' module.
 
        * configure.ac: Remove GROFF_NEED_DECLARATION([hypot]).
 
@@ -1460,7 +1460,7 @@ Version 1.22.4 released
 
        Package `ghostscript' 9.21 renamed some fonts installed in
        `/usr/share/ghostscript/9.21/Resource/Font', e.g. URWGothicL-Demi
-       renamed to URWGothic-Demi, and droped the installation of URW
+       renamed to URWGothic-Demi, and dropped the installation of URW
        fonts in `/usr/share/fonts/type1/gsfonts/', breaking font
        generation in `font/devpdf/util/BuildFoundries.pl'.
 
@@ -1479,7 +1479,7 @@ Version 1.22.4 released
        * font/devpdf/Foundry.in: add new basic fonts names and pass
        custom URW fonts path `urwfontsdir'.
 
-       * font/devpdf/devpdf.am: subsitute `urwfontsdir' in `Foundry'
+       * font/devpdf/devpdf.am: substitute `urwfontsdir' in `Foundry'
        generation.
 
        Fixes https://savannah.gnu.org/bugs/?50786
@@ -1793,7 +1793,7 @@ Version 1.22.4 released
 
 2016-04-19  Carsten Kunze  <carsten.kunze@arcor.de>
 
-       eqn: Fix problem with explicite spacing before unary operator
+       eqn: Fix problem with explicit spacing before unary operator
 
        * src/preproc/eqn/list.cpp (list_box::compute_metrics): Change
        item spacing type from BINARY to ORDINARY also when previous
@@ -1805,11 +1805,11 @@ Version 1.22.4 released
 
        by Douglas McIlroy <doug@cs.dartmouth.edu>
 
-       an implicite space is added between an unary operator and it's
-       operand when an explicite space is put before the unary
+       an implicit space is added between an unary operator and its
+       operand when an explicit space is put before the unary
        operator.  Unary operators are initially set up as binary.
        Depending on the preceding element their type can be changed
-       to unary.  This did not happen when an explicite space ('~' or
+       to unary.  This did not happen when an explicit space ('~' or
        '^') had been before that operator.
 
 2016-02-16  Bálint Réczey  <balint@balintreczey.hu>
@@ -2405,7 +2405,7 @@ Version 1.22.4 released
 
        This patch fixes two issues.
 
-         . Handle backslashes in `.lf' arguments for MSDOS and Windows.
+         . Handle backslashes in `.lf' arguments for MS-DOS and Windows.
          . Fix file name quoting for the groff pipeline.
 
        * src/preproc/soelim/soelim.cpp (do_file):
@@ -2630,7 +2630,7 @@ Version 1.22.3 released
 
 2014-10-12  Werner LEMBERG  <wl@gnu.org>
 
-       * doc/groff.texinfo: s/which/that/ where apropriate.
+       * doc/groff.texinfo: s/which/that/ where appropriate.
 
 2014-10-12  Werner LEMBERG  <wl@gnu.org>
 
@@ -3064,8 +3064,8 @@ Version 1.22.3 released
 
 2014-09-15  Bernd Warken  <groff-bernd.warken-72@web.de>
 
-       * man/*.man: Improve the license information (definiton of .co and
-       .au).
+       * man/*.man: Improve the license information (definition of .co
+       and .au).
 
 2014-09-15  Bernd Warken  <groff-bernd.warken-72@web.de>
 
@@ -3304,7 +3304,7 @@ Version 1.22.3 released
 2014-07-05  Bernd Warken  <groff-bernd.warken-72@web.de>
 
        * grog.man: Replace all .de by copying.  Restrict all .char names
-       to lenght 2 only.
+       to length 2 only.
 
 2014-07-04  Bernd Warken  <groff-bernd.warken-72@web.de>
 
@@ -4097,14 +4097,14 @@ Version 1.22.3 released
 
 2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>
 2013-04-15  Werner LEMBERG  <wl@gnu.org>
-2013-04-15  Ralph Carderoy  <ralph@inputplus.co.uk>
+2013-04-15  Ralph Corderoy  <ralph@inputplus.co.uk>
 
        Add Perl test to configuration.  During the run of `configure' the
        program is broken with error when there is no `Perl' or the `perl'
        program is too old.
 
        * m4/groff.m4: Add macro `GROFF_PERL' that tests the availability
-       of the `perl' program and tests wether this has a version of at
+       of the `perl' program and tests whether this has a version of at
        most `v5.6.1'.  Define variables $PERL and $PERLPATH for the full
        name of the `perl' program and $PERLVERSION as the lest version.
 
@@ -4342,10 +4342,10 @@ Version 1.22.2 released
        * font/devpdf/Foundry.in, font/devpdf/util/BuildFoundries.pl
        (LocateFile): The font for EURO had the wrong entry in the
        `download' file (it pointed to The font in the build directory,
-       which is wrong).  It has always been permissable to include a path
-       along with the font name in the Foundry file, but until now the
-       font had to exist to be valid.  It is now permitted to start the
-       path with an asterisk which tells BuildFoundry to use the
+       which is wrong).  It has always been permissible to include a
+       path along with the font name in the Foundry file, but until now
+       the font had to exist to be valid.  It is now permitted to start
+       the path with an asterisk which tells BuildFoundry to use the
        path/filename in the download file without checking if the font
        exists.  This allows the font to be found in `../devps' even
        though it is not there during the build (if source and build are
@@ -5077,7 +5077,7 @@ Version 1.22 released
        * tmac/troffrc: Updated.
 
        * doc/groff.texinfo: Document it.
-       * doc/Makefile.in, doc/Makefile.sub (groff_bin_dirs): Udpated.
+       * doc/Makefile.in, doc/Makefile.sub (groff_bin_dirs): Updated.
        * doc/pic.ms: Updated.
 
        * man/groff_out.man, src/devices/grops/grops.man,
diff --git a/Makefile.am b/Makefile.am
index 7561a9a18..0a37778cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -276,7 +276,7 @@ tmac_an_prefix=\
   fi`
 
 # Extension to be used for refer index files.  Index files are not
-# sharable between different architectures, so you might want to use
+# shareable between different architectures, so you might want to use
 # different suffixes for different architectures.  Choose an extension
 # that doesn't conflict with refer or any other indexing program.
 indexext=.i
diff --git a/NEWS b/NEWS
index 924909d30..3259c7101 100644
--- a/NEWS
+++ b/NEWS
@@ -2932,7 +2932,7 @@ Groff
 -----
 
 The environment variable GROFF_COMMAND_PREFIX can be used to control
-whether groff looks for `gtroff' or `troff' (similarily for the
+whether groff looks for `gtroff' or `troff' (similarly for the
 preprocessors.)
 
 Troff
diff --git a/PROBLEMS b/PROBLEMS
index 85dd7a81c..008e61200 100644
--- a/PROBLEMS
+++ b/PROBLEMS
@@ -739,7 +739,7 @@ is writing cannot map the groff special character '*D' to 
both 'Delta'
 and 'uni0394'.
 
 Which, if any, such warnings you see depends on the version of the URW
-fonts you are builing groff against.  See the '--with-urw-fonts-dir'
+fonts you are building groff against.  See the '--with-urw-fonts-dir'
 option to the "configure" script, and the afmtodit(1) and groff_char(7)
 man pages for more background.
 
diff --git a/README b/README
index 088b506f8..e069951db 100644
--- a/README
+++ b/README
@@ -71,7 +71,7 @@ Production of (X)HTML furthermore demands tools from the 
'netpbm' and
 
 Perl is required for production of PDF output using the 'gropdf' output
 driver.  (You can alternatively produce PostScript with 'grops' and
-covert that to PDF using Ghostscipt.)  The 'chem', 'gperl', and
+convert that to PDF using Ghostscipt.)  The 'chem', 'gperl', and
 'gpinyin' preprocessors and several utilities, such as 'grog', are also
 written in Perl.
 
diff --git a/contrib/chem/chem.am b/contrib/chem/chem.am
index 01d82db41..abee480f0 100644
--- a/contrib/chem/chem.am
+++ b/contrib/chem/chem.am
@@ -60,7 +60,7 @@ man1_MANS += contrib/chem/chem.1
 MOSTLYCLEANFILES += $(CHEM_GENEXAMPLES) $(nodist_chemexample122_DATA) \
   contrib/chem/README
 
-# This is strangly built but not installed
+# This is strangely built but not installed
 all: contrib/chem/README
 
 contrib/chem/README: $(chem_srcdir)/README.txt
diff --git a/contrib/chem/chem.pl b/contrib/chem/chem.pl
index 6e65fe939..ca457a9bf 100755
--- a/contrib/chem/chem.pl
+++ b/contrib/chem/chem.pl
@@ -384,7 +384,7 @@ my $Line = '';
     }
 
     if ($Words[0] eq 'pic') {
-      # pic pass-thru
+      # pic pass-through
       return 1 if $#Words == 0;
       my $s = $line;
       $s =~ /^\s*pic\s*(.*)$/;
diff --git a/contrib/glilypond/README.txt b/contrib/glilypond/README.txt
index fde557aa2..f47e824a5 100644
--- a/contrib/glilypond/README.txt
+++ b/contrib/glilypond/README.txt
@@ -28,7 +28,7 @@ Add 'AC_DEFUN([GROFF_GROFFERDIR_DEFAULT])'.
 Add 'GROFF_GROFFERDIR_DEFAULT'.
 
 3) <groff_src_dir>/Makefile.in:
-Add several informations of 'glilypond_dir'
+Add several information of 'glilypond_dir'
 
 With that, the program 'autoconf' can be run in order to update the
 configure files and Makefile's.
diff --git a/contrib/glilypond/glilypond.pl b/contrib/glilypond/glilypond.pl
index 0677c8f5a..e97ed2437 100755
--- a/contrib/glilypond/glilypond.pl
+++ b/contrib/glilypond/glilypond.pl
@@ -322,7 +322,7 @@ BEGIN {
       $dir_grow = File::Spec->catdir(@dir_grow);
 
       die "'$dir_grow' is not writable, " .
-       "so directory '$dir_arg' can't be createdd."
+       "so directory '$dir_arg' can't be created."
          unless ( -w $dir_grow );
 
       # former directory is writable, so '$dir_arg' can be created
@@ -597,7 +597,7 @@ use integer;
 
 # ------------------------------ FH_STDOUT ----------------------------
 
-{                           # FH_STDOUT: print to noral output STDOUT
+{                           # FH_STDOUT: print to normal output STDOUT
 
   package FH_STDOUT;
   use strict;
@@ -826,7 +826,7 @@ use integer;
 our $stdout = new FH_STDOUT();
 our $stderr = new FH_STDERR();
 
-# verbose printing, not clear wether this will be set by '--verbose',
+# verbose printing, not clear whether this will be set by '--verbose',
 # so store this now into a string, which can be gotten later on, when
 # it will become either STDERR or /dev/null
 our $v = new FH_STRING();
@@ -1241,7 +1241,7 @@ our $Args =
   #----------
   sub run_second {
       # Second run of args with new @ARGV from the former splitting.
-      # Arguments are now splitted and transformed into special long
+      # Arguments are now split and transformed into special long
       # options.
 
       my $double_minus = FALSE;
@@ -1867,7 +1867,7 @@ END {
 
   if ( $Temp->{'eps_dir'} ) {
     # EPS files in $Temp->{'eps_dir'} are always kept
-    $v->print( "As EPS directrory is set as '" .
+    $v->print( "As EPS directory is set as '" .
       $Temp->{'eps_dir'} . "', no EPS files there will be deleted." );
 
     opendir my $dh_temp, $Temp->{'eps_dir'} or
diff --git a/contrib/hdtbl/groff_hdtbl.7.man b/contrib/hdtbl/groff_hdtbl.7.man
index af9e15c3e..89b430895 100644
--- a/contrib/hdtbl/groff_hdtbl.7.man
+++ b/contrib/hdtbl/groff_hdtbl.7.man
@@ -274,7 +274,7 @@ macros, respectively.
 .
 .PP
 In this man page,
-we approximate the result of each example as terminal ouput to be as
+we approximate the result of each example as terminal output to be as
 generic as possible since
 .I hdtbl
 currently only supports the
@@ -1029,7 +1029,7 @@ The font family for the table.
 .CI name
 is a
 .I groff
-font familiy identifier,
+font family identifier,
 such as
 .CR A
 for Avant Garde or
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 4be775555..31e8b08cd 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1169,7 +1169,7 @@ Fri Sep 3 07:33:14 1999 J
          It didn't setup the @pl, @ll and @po as it should, now it does.
        * mgm_ref/mgm_roff renamed to mmroff [-x]
        * fixed y2k-bug in \*[DT]
-       * \n[cov*year] removed, hope noone used that.
+       * \n[cov*year] removed, hope no one used that.
        * ISODATE added with Iso as command line flag
                (iso-date suggested by Paul Eggert)
        * Added ISODATE to tmac.mse and removed local settings
@@ -1235,7 +1235,7 @@ Fri Sep 6 07:13:07 1996 J
        *   .S D should set the point size to \nS, not 10.
        *   .S was setting the vertical spacing based on the old point size
                instead of the new point size.
-       *   Got rid of a spurrious .br that prevented run-in headings from
+       *   Got rid of a spurious .br that prevented run-in headings from
                working.
        *   Reset the .SP counters in pg@header so that spacing on one page
                won't affect spacing on subsequent pages.
@@ -1260,7 +1260,7 @@ Fri Sep 6 07:13:07 1996 J
 Wed May 15 07:39:32 1996 J�rgen H�gg (jh at axis.se)
 
        * version 1.29
-       * Syntax and scaling errror fixed, (thanks to Frazer Williams)
+       * Syntax and scaling error fixed, (thanks to Frazer Williams)
        * DF/DE will now do a line-break before printing the display.
        * Updated the manual for TB,FG,EX and EC.
        * Added support for the ms- (and mgs-)macro .IX
@@ -1385,7 +1385,7 @@ Mon Apr 5 09:36:01 1993 Joergen Haegg (jh at efd.lth.se)
        * bug in VERBON fixed, causing strange errors.
        * section-page footer fixed.
        * added support for numberregister S
-       * fixed bug with floating displays wich made floats to
+       * fixed bug with floating displays which made floats to
          generate space on a page, but broke page anyway.
        * end-of-page trap reinstalled.
 
@@ -1422,7 +1422,7 @@ Wed Mar 3 09:21:20 1993 Joergen Haegg (jh at efd.lth.se)
          normal text, but it will still set .vs.
        * SK was broken, will now produce the requested number of
          empty pages.
-       * dotted lines added to LIST OF FIGURES adn friends.
+       * dotted lines added to LIST OF FIGURES and friends.
          Also better linespacing.
 
 Mon Feb 22 12:41:06 1993 Joergen Haegg (jh at efd.lth.se)
@@ -1490,7 +1490,7 @@ Thu Aug 20 13:56:31 1992 Joergen Haegg (jh at efd.lth.se)
        * page-break in .EQ moved.
        * changed unit for footer-size and header-size from units to lines.
          Fixes problems with .S and page-breaks.
-       * \n[%] is now treated as a string, wich makes it possible
+       * \n[%] is now treated as a string, which makes it possible
          to assign new formats to it. Unfortunately, it was necessary
          to change the page-number-variable in GETPN to a string.
        * Makefile.sub included. (Thank you, James)
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 8782b1bfb..c679a7089 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -3099,7 +3099,7 @@ exceeds depth of nested lists (\\n[li*lvl])
 .\"    indent stored in cov*abs-ind
 .\" number of authors stored in cov*au
 .\" author(s) stored in cov*au!x!y
-.\" number of authors' titles strored in cov*at!x
+.\" number of authors' titles stored in cov*at!x
 .\" title(s) of author(s) stored in cov*at!x!y
 .\"    x is the author-index [1-cov*au], y is the argument-index [1-9].
 .\" author(s) firm stored in cov*firm
diff --git a/contrib/pdfmark/pdfmark.ms b/contrib/pdfmark/pdfmark.ms
index 00ef6d663..0d7d28c50 100644
--- a/contrib/pdfmark/pdfmark.ms
+++ b/contrib/pdfmark/pdfmark.ms
@@ -519,7 +519,7 @@ any other explicit choice is unlikely to be compatible with
 .CW pdfmark ,
 and will have an unpredictable
 (possibly erroneous)
-effect on the ouput.
+effect on the output.
 If no
 .CW -T \^\c
 .CWI dev
diff --git a/doc/automake.mom b/doc/automake.mom
index 18187efac..5609e19d3 100644
--- a/doc/automake.mom
+++ b/doc/automake.mom
@@ -459,7 +459,7 @@ prevent the substitution of the variable by `automake'.
 .
 .PP
 There are two possibilities for organizing the Makefile.am of a
-large project, using a recusive or a non-recursive `make'.
+large project, using a recursive or a non-recursive `make'.
 .
 .HEADING 2 "1st possibility: make recursion"
 .
@@ -553,7 +553,7 @@ Variables that end with \*[CODE]_DATA\*[CODE OFF] are 
special
 variables used to list files that should be installed in a
 particular location.  The prefix of the variables should refer to
 another previously defined variable that ends with a `dir' suffix.
-This varibale that ends with `dir' defines where the files should be
+This variable that ends with `dir' defines where the files should be
 installed.
 .
 .HEADING 2 "A simple case"
@@ -572,7 +572,7 @@ EXTRA_DIST += $(DEVX100FONTS)
 .QUOTE OFF
 .WS -4
 \*[CODE]DEVX100FONTS\*[CODE OFF] is just a list of font files,
-defined at the begining of devX100.am.  \*[CODE]fontdir\*[CODE OFF]
+defined at the beginning of devX100.am.  \*[CODE]fontdir\*[CODE OFF]
 is where all the font directories are installed, it is defined
 in the top-level Makefile.am.  The conditional
 \*[CODE]if\~!WITHOUT_X11\*[CODE OFF]
@@ -601,7 +601,7 @@ process, but not removed during the uninstall.  The complete
 (uninstall_groffdirs in Makefile.am).
 .PP
 Because the files listed in \*[CODE]devX100font_DATA\*[CODE OFF]
-are not distributed by default, we explicitely added them to the
+are not distributed by default, we explicitly added them to the
 \*[CODE]EXTRA_DIST\*[CODE OFF] variable, which lists all the files
 that should be distributed and that are not taken into account by
 the default automake rules.
@@ -671,7 +671,7 @@ to clean some files that were not added to any list.  
Automake
 defines a set of targets to extend the clean targets with your
 own rules: clean-local, mostlyclean-local, distclean-local or
 maintainerclean-local.  An example of such extension exists in
-font/devpdf/devpdf.am: because some fonts are not explicitely listed
+font/devpdf/devpdf.am: because some fonts are not explicitly listed
 in a \*[CODE]xxx_DATA\*[CODE OFF] variable but generated by a custom
 rule, we define an extra rule to extend the `mostlyclean' target:
 .CODE_SIZE 92
@@ -714,7 +714,7 @@ There is 1 uninstall local rule: `uninstall-local'.
 .JUSTIFY
 .HY DEFAULT
 .
-There are no garantees on the order of execution of these local
+There are no guarantees on the order of execution of these local
 rules.  An example of local rule is the installation of GXditview.ad
 and GXditview-color.ad files in src/devices/xditview/xditview.am: if
 theses files are already installed, the old files are first saved.
@@ -742,7 +742,7 @@ install_xditview: $(xditview_srcdir)/GXditview.ad
 .CODE OFF
 .QUOTE OFF
 .PP
-Hooks, on the other hand, are garanteed to be executed after all the
+Hooks, on the other hand, are guaranteed to be executed after all the
 standard targets have been executed.
 .BR
 .SP 3p
diff --git a/doc/groff.texi b/doc/groff.texi
index 595df39b3..1852cea2b 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -1159,7 +1159,7 @@ postprocessor.
 @itemx -r@var{register}=@var{expr}
 Set @code{roff} register@tie{}@var{c} or @var{register} to the value
 @var{numeric-expression} (@pxref{Numeric Expressions}).
-@var{c}@tie{}must be one character; @var{regsiter} can be of arbitrary
+@var{c}@tie{}must be one character; @var{register} can be of arbitrary
 length.  Such register assignments happen before any macro file is
 loaded, including the startup file.  Due to @code{getopt_long}
 limitations, @var{c}@tie{}cannot be, and @var{register} cannot contain,
@@ -2646,7 +2646,7 @@ supported by @code{groff} @file{ms}.
 @item Format and layout
 By setting registers and strings, you can configure your document's
 typeface, margins, spacing, headers and footers, and footnote
-arrangment.  @xref{ms Document Control Settings}.
+arrangement.  @xref{ms Document Control Settings}.
 
 @item Document description
 A document description consists of any of: a title, one or more authors'
@@ -5085,7 +5085,7 @@ opposed to a space or tab) immediately after an 
end-of-sentence
 character cancels detection of the end of a sentence.  For example, it
 would be incorrect for GNU @code{troff} to infer the end of a sentence
 after the dot in @samp{3.14159}.  However, several characters are
-treated @emph{transparently} after the occurence of an end-of-sentence
+treated @emph{transparently} after the occurrence of an end-of-sentence
 character.  That is, GNU @code{troff} does not cancel end-of-sentence
 detection when it processes them.  This is because such characters are
 often used as footnote markers or to close quotations and
@@ -5811,7 +5811,7 @@ after the decimal point are optional.  Measurement 
expressions include
 @samp{10.5p}, @samp{11i}, and @samp{3.c}.
 
 @cindex basic units, conversion to
-@cindex units, basic, converstion to
+@cindex units, basic, conversion to
 @cindex conversion to basic units
 Measurements are scaled by the scaling unit and stored internally (with
 any fractional part discarded) in basic units.
@@ -6012,7 +6012,7 @@ and string interpolations interleaved with measurements 
and operators.
 
 GNU @code{troff} provides a set of mathematical and logical operators
 familiar to programmers---as well as some unusual ones---but supports
-only integer arithmetic.@footnote{Provision is made for intepreting and
+only integer arithmetic.@footnote{Provision is made for interpreting and
 reporting decimal fractions in certain cases.}  The internal data type
 used for computing results is usually a 32-bit signed integer, which
 suffices to represent magnitudes within a range of �2
@@ -6805,7 +6805,7 @@ line to do so.   We consider this lethargic practice poor 
style.}  In
 the argument list to a macro, a double quote that @emph{isn't} preceded
 by a space @emph{doesn't} start a macro argument.  If not preceded by a
 double quote that began an argument, this double quote becomes part of
-the argument.  Futhermore, within a quoted argument, a pair of adjacent
+the argument.  Furthermore, within a quoted argument, a pair of adjacent
 double quotes becomes a literal double quote.
 
 @Example
@@ -12347,7 +12347,7 @@ characters.  When they do not, use substrings and/or 
catenation.
 @endExample
 @endDefreq
 
-(In pratice, we would end the @code{ds} request with a comment escape
+(In practice, we would end the @code{ds} request with a comment escape
 @code{\"} to prevent space from creeping into the definition during
 source document maintenance.)
 
@@ -15853,7 +15853,7 @@ This works by having the Perl script (run by @code{sy}) 
write
 @code{S} to a temporary file.  The @code{roff} document then reads the
 temporary file using the @code{so} request.
 
-@cindex time, formating
+@cindex time, formatting
 @cindex formatting the time
 The registers @code{seconds}, @code{minutes}, and @code{hours},
 initialized at startup of GNU @code{troff}, should satisfy most
diff --git a/doc/me-revisions b/doc/me-revisions
index 6ba6af6d2..50913f9f2 100644
--- a/doc/me-revisions
+++ b/doc/me-revisions
@@ -112,7 +112,7 @@
 -- Fixed bug in 2.6
 
 2.6    23 Sep 80
--- Fixed problem introduced by 2.2 which occured in footnotes and
+-- Fixed problem introduced by 2.2 which occurred in footnotes and
    index entries in filled keeps
 
 2.5    29 Aug 80
diff --git a/doc/webpage.ms b/doc/webpage.ms
index 8cd3e60f3..a125506a6 100644
--- a/doc/webpage.ms
+++ b/doc/webpage.ms
@@ -1853,7 +1853,7 @@ groffer
 
 .ULS
 .LI
-New option \-\-shell to select the shell under wich groffer shall run.
+New option \-\-shell to select the shell under which groffer shall run.
 .ULE
 .
 .SH 2
diff --git a/m4/lib-link.m4 b/m4/lib-link.m4
index 4a4a185e3..4aa359a3d 100644
--- a/m4/lib-link.m4
+++ b/m4/lib-link.m4
@@ -218,7 +218,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
     fi
 ])
   dnl Search the library and its dependencies in $additional_libdir and
-  dnl $LDFLAGS. Using breadth-first-seach.
+  dnl $LDFLAGS. Using breadth-first-search.
   LIB[]NAME=
   LTLIB[]NAME=
   INC[]NAME=
diff --git a/man/groff.7.man b/man/groff.7.man
index ab64f841e..8baf021b5 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -955,7 +955,7 @@ provides a set of mathematical and logical operators 
familiar to
 programmers\[em]as well as some unusual ones\[em]but supports only
 integer arithmetic.
 .
-(Provision is made for intepreting and
+(Provision is made for interpreting and
 reporting decimal fractions in certain cases.)
 .
 The internal data type used for computing results is usually a 32-bit
@@ -5529,9 +5529,11 @@ and
 .REG .F
 Name of input file (string-valued).
 .
+.
 .TP
 .REG .fam
-Nmae of font family (string-valued).
+Name of font family (string-valued).
+.
 .
 .TP
 .REG .fn
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index afece2e70..4ba065061 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -2657,7 +2657,7 @@ above.
 .B .hpf
 or
 .B .hpfa
-aplly the mapping
+apply the mapping
 after reading or appending to the active list of patterns.
 .
 Its arguments are pairs of character codes\[em]integers from 0 to\~255.
diff --git a/man/roff.7.man b/man/roff.7.man
index ad1386dad..e55f2dcdc 100644
--- a/man/roff.7.man
+++ b/man/roff.7.man
@@ -197,7 +197,7 @@ character cancels detection of the end of a sentence.
 However,
 several characters are treated
 .I transparently
-after the occurence of an end-of-sentence character.
+after the occurrence of an end-of-sentence character.
 .
 That is,
 a
@@ -1830,7 +1830,7 @@ in
 .
 .
 .P
-A macro package anticipated for use in a document can be delcared to
+A macro package anticipated for use in a document can be declared to
 the formatter by the command-line option
 .BR \-m ;
 see
@@ -2375,7 +2375,7 @@ after any Emacs configuration:
 .
 .P
 Replace \[lq]groff\[rq] in the above with \[lq]nroff\[rq] if you want
-highlighing that does
+highlighting that does
 .I not
 recognize many of the GNU extensions to
 .IR roff ,
diff --git a/src/devices/grohtml/post-html.cpp 
b/src/devices/grohtml/post-html.cpp
index fb4fdc28b..4e02b5cfa 100644
--- a/src/devices/grohtml/post-html.cpp
+++ b/src/devices/grohtml/post-html.cpp
@@ -5275,7 +5275,7 @@ html_printer::~html_printer()
 }
 
 /*
- *  get_str - returns a dupicate of string, s. The duplicate
+ *  get_str - returns a duplicate of string, s. The duplicate
  *            string is terminated at the next ',' or ']'.
  */
 
diff --git a/src/devices/grolbp/lbp.h b/src/devices/grolbp/lbp.h
index bae58f83b..ee1c7b935 100644
--- a/src/devices/grolbp/lbp.h
+++ b/src/devices/grolbp/lbp.h
@@ -346,8 +346,8 @@ vdmpolygon(int numpoints, int *points)
 
 
 /************************************************************************
- *             Highter level auxiliary functions                       *
- ************************************************************************/     
        
+ *             Higher level auxiliary functions                        *
+ ************************************************************************/
 static inline int
 vdminited()
 {
diff --git a/src/devices/gropdf/TODO b/src/devices/gropdf/TODO
index 4d6fca18f..12042c278 100644
--- a/src/devices/gropdf/TODO
+++ b/src/devices/gropdf/TODO
@@ -1,14 +1,14 @@
 pspic.tmac
 ----------
 
-Equiv for gropdf is pdfpic (which is dependant on a program
-pdfbb (to extract MediaBox (etc.) from the pdf) which is not written yet!
-Meanwhile you could use \X'pdf: pdfpic filename -L|R|C wid (hgt) (linelen)'
-(-R and -C require a linelen) Wid or hgt may be zero (in which case the same
-scaling as the other axis is used).  The disadvantage of this call (over
-pdfpic macro) is that it is transparent to groff, after placing the image
-the current X/Y position remains what it was, so you need to do your own
-'motion control' (like a .sp) to "step over" the image you just placed.
+Equiv for gropdf is pdfpic (which is dependent on a program pdfbb (to
+extract MediaBox (etc.) from the pdf) which is not written yet!  Meanwhile
+you could use \X'pdf: pdfpic filename -L|R|C wid (hgt) (linelen)' (-R and -C
+require a linelen) Wid or hgt may be zero (in which case the same scaling as
+the other axis is used).  The disadvantage of this call (over pdfpic macro)
+is that it is transparent to groff, after placing the image the current X/Y
+position remains what it was, so you need to do your own 'motion control'
+(like a .sp) to "step over" the image you just placed.
 
 psfig.tmac
 ----------
diff --git a/src/devices/gropdf/gropdf.1.man b/src/devices/gropdf/gropdf.1.man
index 40f369343..389a8e9d1 100644
--- a/src/devices/gropdf/gropdf.1.man
+++ b/src/devices/gropdf/gropdf.1.man
@@ -950,7 +950,7 @@ position within the document (see pagename command above).
 .I \[oq]when\[cq]
 can be either
 .RI \[oq] after "\[cq] or \[oq]" before \[cq].
-If it is ommitted it defaults to
+If it is omitted it defaults to
 .RI \[oq] before \[cq].
 .IP
 The convenience command for this is
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index 678597da6..f24889219 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -428,7 +428,7 @@ if ($cpageno > 0)
 
                my $pg=$bg->[3] || \@mediabox;
 
-               $bg->[5]=$pg->[3];      # box is continueing to next page
+               $bg->[5]=$pg->[3];      # box is continuing to next page
                $box.=DrawBox($bg);
                $bg->[4]=$pg->[1];      # will continue from page top
            }
@@ -2822,7 +2822,7 @@ sub NewPage
 
                my $pg=$bg->[3] || \@defaultmb;
 
-               $bg->[5]=$pg->[3];      # box is continueing to next page
+               $bg->[5]=$pg->[3];      # box is continuing to next page
                $box.=DrawBox($bg);
                $bg->[4]=$pg->[1];      # will continue from page top
            }
@@ -3029,7 +3029,7 @@ sub do_m
     # PDF uses G/RG/K for graphic stroke, and g/rg/k for text & graphic fill.
     #
     # This means that we must maintain g/rg/k state separately for text colour 
& graphic fill (this is
-    # probably why 'gs' maintains seperate graphic states for text & graphics 
when distilling PS -> PDF).
+    # probably why 'gs' maintains separate graphic states for text & graphics 
when distilling PS -> PDF).
     #
     # To facilitate this:-
     #
diff --git a/src/devices/xditview/ChangeLog b/src/devices/xditview/ChangeLog
index 95647403e..a33297bbe 100644
--- a/src/devices/xditview/ChangeLog
+++ b/src/devices/xditview/ChangeLog
@@ -436,7 +436,7 @@ Thu Aug 29 20:15:31 1991  James Clark  (jjc at jclark)
 
 Tue Aug 13 12:04:41 1991  James Clark  (jjc at jclark)
 
-       * draw.c (FakeCharacter): Remove casts in defintion of pack2.
+       * draw.c (FakeCharacter): Remove casts in definition of pack2.
 
 Tue Jul 30 11:42:39 1991  James Clark  (jjc at jclark)
 
diff --git a/src/devices/xditview/xditview.c b/src/devices/xditview/xditview.c
index df0b7be42..1f56940b2 100644
--- a/src/devices/xditview/xditview.c
+++ b/src/devices/xditview/xditview.c
@@ -470,7 +470,7 @@ DoPrint (const char *name)
     FILE *print_file;
     RETSIGTYPE (*handler)(int);
 
-    /* Avoid dieing because of an invalid command. */
+    /* Avoid dying because of an invalid command. */
     handler = signal(SIGPIPE, SIG_IGN);
 
     print_file = popen(name, "w");
diff --git a/src/libs/libdriver/input.cpp b/src/libs/libdriver/input.cpp
index 2d99eaeb2..821b526bd 100644
--- a/src/libs/libdriver/input.cpp
+++ b/src/libs/libdriver/input.cpp
@@ -131,7 +131,7 @@
      independence by scaling the intermediate output to the resolution
      of the postprocessor device if different from the one specified
      with 'x T', groff have not.  So implement full quasi device
-     indepedence, including the mapping of the strange classical
+     independence, including the mapping of the strange classical
      devices to the postprocessor device (seems to be reasonably
      easy).
    - The external, global pointer variables are not optimally handled.
diff --git a/src/libs/libgroff/glyphuni.cpp b/src/libs/libgroff/glyphuni.cpp
index ae89c3f1d..0d5a217e0 100644
--- a/src/libs/libgroff/glyphuni.cpp
+++ b/src/libs/libgroff/glyphuni.cpp
@@ -170,7 +170,7 @@ struct S {
   { "Fo", "00AB" },
   { "no", "00AC" },
   { "tno", "00AC" },
-  // The soft hypen U+00AD is meaningful only in the input file,
+  // The soft hyphen U+00AD is meaningful only in the input file,
   // not in the output.
   { "rg", "00AE" },
   { "a-", "00AF" },
diff --git a/src/preproc/eqn/eqn.1.man b/src/preproc/eqn/eqn.1.man
index 9915a5352..93cbf2d25 100644
--- a/src/preproc/eqn/eqn.1.man
+++ b/src/preproc/eqn/eqn.1.man
@@ -93,7 +93,7 @@ or MathML
 .SH Description
 .\" ====================================================================
 .
-The GNU implemenation of
+The GNU implementation of
 .I eqn \" GNU
 is part of the
 .MR groff @MAN7EXT@
diff --git a/src/preproc/grn/gprint.h b/src/preproc/grn/gprint.h
index 63511bf19..772d79a8a 100644
--- a/src/preproc/grn/gprint.h
+++ b/src/preproc/grn/gprint.h
@@ -21,7 +21,7 @@
 #define DOTDASHED 024          /* 054 */
 #define LONGDASHED 074
 
-#define DEFTHICK       -1      /* default thicknes */
+#define DEFTHICK       -1      /* default thickness */
 #define DEFSTYLE       SOLID   /* default line style */
 
 #define TRUE   1
diff --git a/src/preproc/grn/main.cpp b/src/preproc/grn/main.cpp
index bb20296b1..6d6d58669 100644
--- a/src/preproc/grn/main.cpp
+++ b/src/preproc/grn/main.cpp
@@ -188,7 +188,7 @@ enum E {
   OUTLINE, FILL, BOTH
 } polyfill;
 
-/* flag to controll filling of polygons */
+/* flag to control filling of polygons */
 
 double adj1 = 0.0;
 double adj2 = 0.0;
diff --git a/src/preproc/html/pre-html.cpp b/src/preproc/html/pre-html.cpp
index 9b4197659..2c87b2d8f 100644
--- a/src/preproc/html/pre-html.cpp
+++ b/src/preproc/html/pre-html.cpp
@@ -1397,7 +1397,7 @@ int char_buffer::run_output_filter(int filter, int argc, 
char **argv)
     set_redirection(STDERR_FILENO, saved_stderr);
 
   // Now we redirect the standard output to the inlet end of the pipe,
-  // and push out the appropiately formatted data to the filter.
+  // and push out the appropriately formatted data to the filter.
 
   set_redirection(STDOUT_FILENO, pipedes[1]);
   emit_troff_output(DEVICE_FORMAT(filter));
diff --git a/src/preproc/preconv/preconv.cpp b/src/preproc/preconv/preconv.cpp
index 460562771..e52b3eee6 100644
--- a/src/preproc/preconv/preconv.cpp
+++ b/src/preproc/preconv/preconv.cpp
@@ -1020,7 +1020,8 @@ detect_file_encoding(FILE *fp)
   char *ret = NULL;
 
   current_position = ftell(fp);
-  /* due to BOM and tag detection we are not at the begining of the file */
+  /* Due to BOM and tag detection, we are not at the beginning of the
+     file. */
   rewind(fp);
   if (fstat(fileno(fp), &stat_buf) != 0) {
     error("fstat: %1", strerror(errno));
diff --git a/src/preproc/tbl/table.cpp b/src/preproc/tbl/table.cpp
index e87acebbc..c391c90ae 100644
--- a/src/preproc/tbl/table.cpp
+++ b/src/preproc/tbl/table.cpp
@@ -423,7 +423,7 @@ void simple_entry::position_vertically()
       printfs(".sp |\\n[%1]u\n", row_start_reg(start_row));
       break;
     case entry_modifier::CENTER:
-      // Peform the motion in two stages so that the center is rounded
+      // Perform the motion in two stages so that the center is rounded
       // vertically upwards even if net vertical motion is upwards.
       printfs(".sp |\\n[%1]u\n", row_start_reg(start_row));
       printfs(".sp \\n[" BOTTOM_REG "]u-\\n[%1]u-1v/2u\n",
@@ -660,7 +660,7 @@ void block_entry::position_vertically()
       printfs(".sp |\\n[%1]u\n", row_start_reg(start_row));
       break;
     case entry_modifier::CENTER:
-      // Peform the motion in two stages so that the center is rounded
+      // Perform the motion in two stages so that the center is rounded
       // vertically upwards even if net vertical motion is upwards.
       printfs(".sp |\\n[%1]u\n", row_start_reg(start_row));
       printfs(".sp \\n[" BOTTOM_REG "]u-\\n[%1]u-\\n[%2]u/2u\n",
diff --git a/src/roff/groff/pipeline.c b/src/roff/groff/pipeline.c
index 646c84f33..defafc24e 100644
--- a/src/roff/groff/pipeline.c
+++ b/src/roff/groff/pipeline.c
@@ -342,9 +342,9 @@ int run_pipeline(int ncommands, char ***commands, int 
no_pipe)
 
 #else  /* not _WIN32 */
 
-/* MSDOS doesn't have 'fork', so we need to simulate the pipe by running
-   the programs in sequence with standard streams redirected to and
-   from temporary files.
+/* MS-DOS doesn't have 'fork', so we need to simulate the pipe by
+   running the programs in sequence with standard streams redirected to
+   and from temporary files.
 */
 
 
diff --git a/src/roff/groff/tests/substring_works.sh 
b/src/roff/groff/tests/substring_works.sh
index c70ced8ad..a57d5795d 100755
--- a/src/roff/groff/tests/substring_works.sh
+++ b/src/roff/groff/tests/substring_works.sh
@@ -37,7 +37,7 @@ groff="${abs_top_builddir:-.}/test-groff"
 .
 .\" .substring xx n1 [n2]
 .\"    Replace contents of string named xx with the substring bounded by
-.\"    zero-based indicies indices n1 and n2.  Negative indices count
+.\"    zero-based indices indices n1 and n2.  Negative indices count
 .\"    backwards from the end of the string.  If omitted, n2 is `-1`.
 .\"
 .\"    If n1 > n2, n1 and n2 are swapped.  If n1 equals or exceeds the
diff --git 
a/src/roff/groff/tests/use_point_size_escape_with_single_digit_arg.sh 
b/src/roff/groff/tests/use_point_size_escape_with_single_digit_arg.sh
index 74efaac6a..0d1cacd9e 100755
--- a/src/roff/groff/tests/use_point_size_escape_with_single_digit_arg.sh
+++ b/src/roff/groff/tests/use_point_size_escape_with_single_digit_arg.sh
@@ -31,14 +31,14 @@ set -e
 
 # Verify that the idiosyncratic behavior of \sN is supported in
 # compatibility mode...
-echo "testing \s36A in compatiblity mode (36-point 'A')" >&2
+echo "testing \s36A in compatibility mode (36-point 'A')" >&2
 echo "$DOC" | "$groff" -C -Z | grep -qx 's36000'
 
 # ...and not in regular mode.
-echo "testing \s36A in non-compatiblity mode (3-point '6A')" >&2
+echo "testing \s36A in non-compatibility mode (3-point '6A')" >&2
 echo "$DOC" | "$groff" -Z | grep -qx 's3000'
 
 # Check that we get a diagnostic when relying on the ambiguous form.
-echo "testing for diagnostic on \s36 in compatiblity mode" >&2
+echo "testing for diagnostic on \s36 in compatibility mode" >&2
 echo "$DOC" | "$groff" -C -Z 2>&1 >/dev/null \
     | grep -q 'ambiguous type size in escape sequence'
diff --git a/src/roff/troff/div.cpp b/src/roff/troff/div.cpp
index 647f2c0d8..d195baf0e 100644
--- a/src/roff/troff/div.cpp
+++ b/src/roff/troff/div.cpp
@@ -246,7 +246,7 @@ vunits macro_diversion::distance_to_next_trap()
   if (!diversion_trap.is_null() && diversion_trap_pos > vertical_position)
     return diversion_trap_pos - vertical_position;
   else
-    // Substract vresolution so that vunits::vunits does not overflow.
+    // Subtract vresolution so that vunits::vunits does not overflow.
     return vunits(INT_MAX - vresolution);
 }
 
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index cd786087b..8779a78fe 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -110,7 +110,7 @@ int have_input = 0;         // whether \f, \F, \D'F...', 
\H, \m, \M,
                                // \O[345], \R, \s, or \S has been processed
                                // in token::next()
 int old_have_input = 0;                // value of have_input right before \n
-bool device_has_tcommand = false;      // 't' ouput command supported
+bool device_has_tcommand = false;      // 't' output command supported
 int unsafe_flag = 0;           // safer by default
 
 bool have_multiple_params = false;     // e.g., \[e aa], \*[foo bar]
diff --git a/src/roff/troff/troff.1.man b/src/roff/troff/troff.1.man
index 68f61ab7f..32cd5b27e 100644
--- a/src/roff/troff/troff.1.man
+++ b/src/roff/troff/troff.1.man
@@ -368,7 +368,7 @@ and ordering.
 .
 .TP
 .BI \-n\~ num
-Begin numering pages at
+Begin numbering pages at
 .I num.
 .
 The default
diff --git a/src/utils/grog/grog.pl b/src/utils/grog/grog.pl
index f61275638..28973c514 100644
--- a/src/utils/grog/grog.pl
+++ b/src/utils/grog/grog.pl
@@ -340,7 +340,7 @@ sub do_line {
     }
     # XXX: If the macro name shadows a standard macro name, maybe we
     # should delete the latter from our lists and hashes.  This might
-    # depend on whether the document is trying to remain compatibile
+    # depend on whether the document is trying to remain compatible
     # with an existing interface, or simply colliding with names they
     # don't care about (consider a raw roff document that defines 'PP').
     # --GBR
@@ -364,7 +364,7 @@ sub do_line {
   # macro package (tmac)
   ######################################################################
 
-  # man and ms share too many macro names for the following approch to
+  # man and ms share too many macro names for the following approach to
   # be fruitful for many documents; see &infer_man_or_ms_package.
   #
   # We can put one thumb on the scale, however.
diff --git a/src/utils/indxbib/indxbib.cpp b/src/utils/indxbib/indxbib.cpp
index 005385341..92aafeddd 100644
--- a/src/utils/indxbib/indxbib.cpp
+++ b/src/utils/indxbib/indxbib.cpp
@@ -295,7 +295,7 @@ int main(int argc, char **argv)
 #endif /* __EMX__ */
   if (rename(temp_index_file, index_file) < 0) {
 #ifdef __MSDOS__
-    // RENAME could fail on plain MSDOS filesystems because
+    // RENAME could fail on plain MS-DOS filesystems because
     // INDEX_FILE is an invalid filename, e.g. it has multiple dots.
     char *fname = p ? index_file + (p - base_name) : 0;
     char *dot = 0;
diff --git a/src/utils/tfmtodit/tfmtodit.1.man 
b/src/utils/tfmtodit/tfmtodit.1.man
index eba2044b8..2c55feb0b 100644
--- a/src/utils/tfmtodit/tfmtodit.1.man
+++ b/src/utils/tfmtodit/tfmtodit.1.man
@@ -250,7 +250,7 @@ commands to obtain additional font metric information.
 .
 .TP
 .BI \-k \~skew-char
-The skew charcter of this font is at position
+The skew character of this font is at position
 .I skew-char.
 .
 .I skew-char
diff --git a/tmac/doc-old.tmac b/tmac/doc-old.tmac
index 8c82a25b6..e6bd74f9b 100644
--- a/tmac/doc-old.tmac
+++ b/tmac/doc-old.tmac
@@ -157,7 +157,7 @@
 .nr Ar 12n
 .\"    Width Needed for Column offset
 .nr Cl 15n
-.\"    Width neeeded for Interactive Command Modifier
+.\"    Width needed for Interactive Command Modifier
 .nr Cm 10n
 .\"    Width Needed for Complex Expressions
 .nr Cx 20n
@@ -179,7 +179,7 @@
 .nr Fl 10n
 .\"    Width Needed for Function
 .nr Fn 16n
-.\"    Width neeeded for Interactive Command Name
+.\"    Width needed for Interactive Command Name
 .nr Ic 10n
 .\"    Width Needed for Constant
 .nr Li 16n
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 5bfa65e34..70ec41ea2 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -174,8 +174,8 @@
 .rr doc-HF-length
 .rm doc-heading-style
 .
-.\" \n[HY] is recognized for groff_man(7) compatibility, particuarly via
-.\" andoc.tmac and man(1); see \n[doc-hyphen-flags] in doc-common.
+.\" \n[HY] is recognized for groff_man(7) compatibility, particularly
+.\" via andoc.tmac and man(1); see \n[doc-hyphen-flags] in doc-common.
 .if !r HY .nr HY 1
 .
 .\" Use -rIN=<xxx> to set the paragraph indentation amount.
diff --git a/tmac/groff_man.7.man.in b/tmac/groff_man.7.man.in
index 217acfc97..66b371788 100644
--- a/tmac/groff_man.7.man.in
+++ b/tmac/groff_man.7.man.in
@@ -378,7 +378,7 @@ See section \(lqNotes\(rq below for examples of cases where 
better
 alternatives to empty arguments in macro calls are available.
 _endif()dnl
 .
-Most macro arguments wll be formatted as text in the output;
+Most macro arguments will be formatted as text in the output;
 exceptions are noted.
 .
 .
diff --git a/tmac/hyphen.fr b/tmac/hyphen.fr
index 35ce3d93e..5a71aee62 100644
--- a/tmac/hyphen.fr
+++ b/tmac/hyphen.fr
@@ -231,7 +231,7 @@ d
                     .d�1a2
                     .d�1io
                     .d�1o2
-                    .d�2s % originaly in JD file
+                    .d�2s % originally in JD file
                     %.d\'e2s1a2 removed 09/17/92 because wrong for the
                     % original JD 500 words test
                     .d�3s2a3cr
@@ -915,7 +915,7 @@ ph2r
                     3ph2tal�
                     3ph2tis
 %%%% Here is an example of a pb involving phonetic and etymologic patterns 5/94
-%%%%                .phyto3ph2 % originaly, but wrong for phy-toph-thora   9/92
+%%%%                .phyto3ph2 % originally, but wrong for phy-toph-thora  9/92
 %%%%                .phy2topha % for -pharmacie but wrong for phyto-biol.. 5/94
 1pi
 1p�
@@ -937,7 +937,7 @@ ph2r
                     poly1o2
                     poly1s2
                     poly1u2
-                    .pon2tet % JD hypenated it asis 09/17/92, exception
+                    .pon2tet % JD hyphenated it asis 09/17/92, exception
                     .pos2t3h
                     .pos2t1in
                     .pos2t1o2



reply via email to

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