summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-04 15:42:23 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-05 03:06:19 -0600
commit45b628322b2a16b2fd0726f7ac0f48dad34f92bd (patch)
tree246ac2e441994b9eda4c5a90a8699bf2207a1406 /doc
parent708bf75d3431e3fb71d83cafa95608c77757c533 (diff)
downloadgroff-git-45b628322b2a16b2fd0726f7ac0f48dad34f92bd.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/automake.mom14
-rw-r--r--doc/groff.texi16
-rw-r--r--doc/me-revisions2
-rw-r--r--doc/webpage.ms2
4 files changed, 17 insertions, 17 deletions
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