groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: Fix doubled words "the" and "to".


From: G. Branden Robinson
Subject: [groff] 01/01: Fix doubled words "the" and "to".
Date: Sun, 22 Oct 2017 19:32:52 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 529857da03ef68eeb9b11dd94b219df168c29de7
Author: G. Branden Robinson <address@hidden>
Date:   Sun Oct 22 19:31:19 2017 -0400

    Fix doubled words "the" and "to".
    
    Based on (but expanded from) a report by Bjarni Ingi Gislason
    <address@hidden>.
    
    Fixes Savannah #51078.
    
    Signed-off-by: G. Branden Robinson <address@hidden>
---
 Makefile.am                          | 2 +-
 TESTS                                | 2 +-
 contrib/mom/examples/sample_docs.mom | 2 +-
 contrib/mom/momdoc/images.html       | 2 +-
 contrib/mom/momdoc/inlines.html      | 2 +-
 contrib/mom/om.tmac-u                | 8 ++++----
 contrib/pdfmark/pdfmark.tmac         | 2 +-
 src/include/font.h                   | 2 +-
 src/preproc/eqn/over.cpp             | 2 +-
 src/preproc/grn/hgraph.cpp           | 4 ++--
 src/preproc/refer/TODO               | 2 +-
 src/utils/hpftodit/hpftodit.cpp      | 2 +-
 12 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 9055036..4b4b414 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -457,7 +457,7 @@ man7dir=$(manroot)/man$(man7ext)
 #                              (Reiser) preprocessor
 # ARRAY_DELETE_NEEDS_SIZE      if your C++ doesn't understand `delete []'
 #
-# PAGE=A4                      if the the printer's page size is A4
+# PAGE=A4                      if the printer's page size is A4
 # GHOSTSCRIPT=gs               the name (and directory if required) of the
 #                              ghostscript program
 
diff --git a/TESTS b/TESTS
index a7104f3..d9dd644 100644
--- a/TESTS
+++ b/TESTS
@@ -42,7 +42,7 @@ Tests
   mkdir -p ~/tmp/automake
   make install DESTDIR=~/tmp/automake
 
--> Comparison with the tree installed by the the reference version
+-> Comparison with the tree installed by the reference version
 
   make uninstall DESTDIR=~/tmp/automake
 
diff --git a/contrib/mom/examples/sample_docs.mom 
b/contrib/mom/examples/sample_docs.mom
index 79ff594..97e9524 100644
--- a/contrib/mom/examples/sample_docs.mom
+++ b/contrib/mom/examples/sample_docs.mom
@@ -15,7 +15,7 @@
 \#
 \# Since the text throughout is greeked, and groff doesn't know how
 \# to hyphenate all that pseudo-latinate nonsense, I've inserted
-\# discretionary hyphens (\%) into a large number of the the words.
+\# discretionary hyphens (\%) into a large number of the words.
 \# Normally, this isn't necessary.
 \#
 \# The PRINTSTYLE is TYPESET.  If you'd like to see what mom does
diff --git a/contrib/mom/momdoc/images.html b/contrib/mom/momdoc/images.html
index 7a2fe9e..f98c570 100644
--- a/contrib/mom/momdoc/images.html
+++ b/contrib/mom/momdoc/images.html
@@ -2564,7 +2564,7 @@ the indent and line length of the blockquote.
 Floating labels and captions attached to <b>FLOAT</b>s are always
 quadded over the prevailing document line length, and require the
 <kbd>INDENT</kbd> argument if you want to align them with the left
-and/or right edges the the float&#8217;s contents.
+and/or right edges of the float&#8217;s contents.
 </p>
 
 <h4 class="docs">INDENT</h4>
diff --git a/contrib/mom/momdoc/inlines.html b/contrib/mom/momdoc/inlines.html
index bf2dcca..a46913e 100644
--- a/contrib/mom/momdoc/inlines.html
+++ b/contrib/mom/momdoc/inlines.html
@@ -203,7 +203,7 @@ current document element tag.
 Additionally, if you&#8217;re designing your own
 <a href="headfootpage.html#headfootpage-intro">HEADERS or FOOTERS</a>
 and want to use mom&#8217;s inline escapes for changing fonts as
-part of the the left, centre and/or right strings, or in the strings
+part of the left, centre and/or right strings, or in the strings
 for
 <a href="headfootpage.html#hdrftr-rectoverso">recto</a>
 and/or
diff --git a/contrib/mom/om.tmac-u b/contrib/mom/om.tmac-u
index 055ddfe..ef4ccb6 100644
--- a/contrib/mom/om.tmac-u
+++ b/contrib/mom/om.tmac-u
@@ -1578,7 +1578,7 @@ end
 \# Setting up string tabs is a two-step procedure.  First, the user
 \# enters an input line in which s/he wants to mark off string tabs.
 \# The beginning of a tab is marked with \*[STn], where "n" is
-\# the desired number of the tab.  The end of the the tab is marked
+\# the desired number of the tab.  The end of the tab is marked
 \# with \*[STnX].  All ST's must have a matching STX.  String tabs
 \# may be nested.
 \#
@@ -12033,7 +12033,7 @@ Shimming must be disabled with NO_SHIM before using 
FLEX.
 \#   position.  TYPEWRITE treats spacing the same way in all circumstance
 \#   (viz. an extra line space).  TYPESET puts in only half
 \#   line spaces if the entire quote plus 1 line of body under the quote
-\#   fits on the the page; otherwise it puts in a full extra blank
+\#   fits on the page; otherwise it puts in a full extra blank
 \#   line.  (This is to ensure the page remains bottom aligned).
 \#
 .MAC DO_QUOTE END
@@ -13046,7 +13046,7 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
 .\" or EPIGRAPH isn't yet adjusted at this point, the last word on the
 .\" line may *seem* to belong to the final line of the page, but will,
 .\" in fact, become the first word of the subsequent page.  In such
-.\" circumstances, we want the the footnote to be treated as a "moved"
+.\" circumstances, we want the footnote to be treated as a "moved"
 .\" diversion footnote.
 .          if \\n[.k]>\\n[.l] .nr #DIVER_FN 1
 .          if r #DIVER_FN \{\
@@ -15176,7 +15176,7 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
 \#   Turns capitalization or smallcaps style of the toc title string
 \#   on or off.
 \# *Notes:
-\#   Users may want the the toc title string to be in
+\#   Users may want the toc title string to be in
 \#   caps, but the page header to be in lower case.  If the
 \#   argument to TOC_HEADER_STRING is in lower case and
 \#   TOC_HEADER_CAPS is turned on, this is exactly what will
diff --git a/contrib/pdfmark/pdfmark.tmac b/contrib/pdfmark/pdfmark.tmac
index a6c5900..0651f84 100644
--- a/contrib/pdfmark/pdfmark.tmac
+++ b/contrib/pdfmark/pdfmark.tmac
@@ -1821,7 +1821,7 @@ inspiration has come from discussion on the groff mailing 
list
 .      pdf*href.mark.emit 2
 .      \"
 .      \" Now, adjust the vertical "hot-spot" mapping reference,
-.      \" to identify the correct position for the the last line of
+.      \" to identify the correct position for the last line of
 .      \" text, over which the "hot-spot" extends.
 .      \"
 .      nr pdf:ury \\n[pdf:lly.end]-\\*[PDFHREF.HEIGHT]
diff --git a/src/include/font.h b/src/include/font.h
index 155651a..beff652 100644
--- a/src/include/font.h
+++ b/src/include/font.h
@@ -33,7 +33,7 @@ typedef void (*FONT_COMMAND_HANDLER)(const char *,    // 
command
 //     `charNNN' denoting a single `char' in the input character set,
 //     `uXXXX' denoting a Unicode character,
 //
-//   - those with a number, referring to the the font-dependent glyph with
+//   - those with a number, referring to the font-dependent glyph with
 //     the given number.
 
 // The statically allocated information about a glyph.
diff --git a/src/preproc/eqn/over.cpp b/src/preproc/eqn/over.cpp
index 339e453..75c8364 100644
--- a/src/preproc/eqn/over.cpp
+++ b/src/preproc/eqn/over.cpp
@@ -151,7 +151,7 @@ void over_box::output()
     printf("\\h'\\n[" WIDTH_FORMAT "]u-\\n[" WIDTH_FORMAT "]u/2u'",
           uid, den->uid);
 
-    // print the the denominator
+    // print the denominator
     den->output();
 
   #ifdef USE_Z
diff --git a/src/preproc/grn/hgraph.cpp b/src/preproc/grn/hgraph.cpp
index 0120895..7fcd843 100644
--- a/src/preproc/grn/hgraph.cpp
+++ b/src/preproc/grn/hgraph.cpp
@@ -801,7 +801,7 @@ Paramaterize(int x[],
  | Routine:    PeriodicSpline (h, z, dz, d2z, d3z, npoints)
  |
  | Results:    This routine solves for the cubic polynomial to fit a spline
- |             curve to the the points specified by the list of values. 
+ |             curve to the points specified by the list of values.
  |             The Curve generated is periodic.  The algorithms for this
  |             curve are from the `Spline Curve Techniques' paper cited
  |             above.
@@ -874,7 +874,7 @@ PeriodicSpline(double h[],  /* paramaterization  */
  | Routine:    NaturalEndSpline (h, z, dz, d2z, d3z, npoints)
  |
  | Results:    This routine solves for the cubic polynomial to fit a spline
- |             curve the the points specified by the list of values.  The
+ |             curve the points specified by the list of values.  The
  |             alogrithms for this curve are from the `Spline Curve
  |             Techniques' paper cited above.
  
*----------------------------------------------------------------------------*/
diff --git a/src/preproc/refer/TODO b/src/preproc/refer/TODO
index e0fe4bf..d39c99b 100644
--- a/src/preproc/refer/TODO
+++ b/src/preproc/refer/TODO
@@ -92,7 +92,7 @@ Provide a way to execute a command using a command-line 
option.
 
 Option to set the label-spec as a command-line option (-L).
 
-Command to to specify which fields can occur multiple times:
+Command to specify which fields can occur multiple times:
 multiple AE
 
 Command to specify how various fields sort:
diff --git a/src/utils/hpftodit/hpftodit.cpp b/src/utils/hpftodit/hpftodit.cpp
index 069608d..38a6aed 100644
--- a/src/utils/hpftodit/hpftodit.cpp
+++ b/src/utils/hpftodit/hpftodit.cpp
@@ -938,7 +938,7 @@ output_charset(const int tfm_type)
             && charcode_name_table[charcode]) {
       char *name = charcode_name_table[charcode]->name;
       // don't warn about Unicode or unnamed glyphs
-      //  that aren't in the the TFM file
+      //  that aren't in the TFM file
       if (tfm_type == UNICODE && !quiet_flag && !equal(name, UNNAMED)
          && !is_uname(name)) {
        fprintf(stderr, "%s: warning: symbol U+%04X (%s",



reply via email to

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