bug-groff
[Top][All Lists]
Advanced

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

[bug #51610] [PATCH] m.tmac: Some formatting and textual fixes


From: Bjarni Ingi Gislason
Subject: [bug #51610] [PATCH] m.tmac: Some formatting and textual fixes
Date: Fri, 28 Jul 2017 21:05:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?51610>

                 Summary: [PATCH] m.tmac: Some formatting and textual fixes
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Sat 29 Jul 2017 01:05:04 AM UTC
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:


>From 150d58ddd7988216f4a401fa16dc8877f657d19e Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <address@hidden>
Date: Sat, 29 Jul 2017 01:01:41 +0000
Subject: [PATCH] m.tmac: Some formatting and textual fixes

  Correct space between sentences

  Protect a full stop

  Remove space at the end of lines

  Correct, extend some spellings

Signed-off-by: Bjarni Ingi Gislason <address@hidden>
---
 contrib/mm/m.tmac | 52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index edbc78c9..70f896db 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -16,7 +16,7 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
+along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 Please send bug reports with examples to address@hidden
 
@@ -318,8 +318,8 @@ Index               array!index
 .ds Letns!copy Copy \" space!
 .ds Letns!to " to
 .ds Letns!0 Copy to
-.ds Letns!1 Copy (with att.) to
-.ds Letns!2 Copy (without att.) to
+.ds Letns!1 Copy (with att.\&) to
+.ds Letns!2 Copy (without att.\&) to
 .ds Letns!3 Att.
 .ds Letns!4 Atts.
 .ds Letns!5 Enc.
@@ -327,15 +327,15 @@ Index             array!index
 .ds Letns!7 Under separate cover
 .ds Letns!8 Letter to
 .ds Letns!9 Memorandum to
-.ds Letns!10 Copy (with atts.) to
-.ds Letns!11 Copy (without atts.) to
+.ds Letns!10 Copy (with atts.\&) to
+.ds Letns!11 Copy (without atts.\&) to
 .ds Letns!12 Abstract Only to
 .ds Letns!13 Complete Memorandum to
 .ds Letns!14 CC:
 .\"
 .\" Text printed below the footer. Controlled by @copy_type (C).
 .ds Pg_type!0
-.ds Pg_type!1 OFFICIAL FILE COPY 
+.ds Pg_type!1 OFFICIAL FILE COPY
 .ds Pg_type!2 DATE FILE COPY
 .ds Pg_type!3 D\ R\ A\ F\ T
 .ds Pg_type!4 D\ R\ A\ F\ T
@@ -946,7 +946,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .als }2 hd*suf-space
 .aln ;3 hd*need
 .\"-------------
-.\" address@hidden varable index name val1 val2 ...
+.\" address@hidden variable index name val1 val2 ...
 .de address@hidden
 .if \\$2>(\\n[.$]-3) address@hidden "\\$3 must have at least \\$2 values
(\\*[\\$3]).
 .nr hd*sp-tmp \\$2+3
@@ -1025,7 +1025,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .\" May change hd*mark (}0), hd*suf-space (}2) and hd*need (;3)
 .\" Can also change Hps1/2.
 .if d HX .HX \\n[hd*level] \\n[hd*arg1] "\\$2\\$3"
-.\"-------------------------------------- 
+.\"--------------------------------------
 .\" pre-space
 .ie \\n[hd*level]<=\\n[Hps] .SP (u;\\n[Hps2])
 .el .SP (u;\\n[Hps1])
@@ -1062,12 +1062,12 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .      vs \\*[hd*new-ps]+2
 .\}
 .\"
-.\"---------- user macro HY ------------- 
+.\"---------- user macro HY -------------
 .\"    user macro to reset indents
 .if d HY .HY \\n[hd*level] \\n[hd*arg1] "\\$2\\$3"
 .\" HTML: mark beginning of heading
 address@hidden NH \\n[hd*level]
-.\"-------------------------------------- 
+.\"--------------------------------------
 .nr hd*mark-size address@hidden@
 .if (\\n[hd*level]<=\\n[Hc])&\\n[hd*htype] .ce\" center if level<=Hc
 .\"
@@ -1123,8 +1123,8 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .while \\n+[hd*i]<15 .af H\\n[hd*i] \\$[\\n[hd*i]] 1
 ..
 .\"----------------------
-.\" set page-nr, called from header 
-.\" 
+.\" set page-nr, called from header
+.\"
 .de address@hidden
 .\"
 .ie \\n[.$]>0 .nr P \\$1
@@ -1172,7 +1172,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .\"
 .if \\n[D]>2 .tm pg*foot-trap
address@hidden(\\n[pg*block-size]u+\\n[ft*note-size]u+\\n[pg*foot-margin]u+\\n[pg*footer-size]u+\\n[pg*extra-footer-size]u)
= \\n[pg*foot-trap]
 .\"
-.\" last-pos points to the position of the footer and bottom 
+.\" last-pos points to the position of the footer and bottom
 .\" block below foot-notes.
 .nr pg*last-pos
address@hidden(\\n[pg*block-size]u+\\n[pg*foot-margin]u+\\n[pg*footer-size]u+\\n[pg*extra-footer-size]u)
 .if \\n[D]>2 .tm pg*last-pos
address@hidden(\\n[pg*block-size]u+\\n[pg*foot-margin]u+\\n[pg*footer-size]u+\\n[pg*extra-footer-size]u)
= \\n[pg*last-pos]
@@ -1280,7 +1280,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .              PX
 .              rs
 .      \}
-.      \" check for pending footnotes 
+.      \" check for pending footnotes
 .      address@hidden
 .      \"
 .      \" back to normal text processing
@@ -1290,7 +1290,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .      \" reset NCOL pointer at each new page.
 .      nr pg*last-ncol 0
 .      \" set multicolumn
-.      \" 
+.      \"
 .      address@hidden
 .      \" print floating displays
 .      address@hidden 4
@@ -1298,7 +1298,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .      ns
 .\}
 .if \\n[pg*top-enabled]<0 .nr pg*top-enabled 1
-.nr hd*cur-bline \\n[nl]       \" .H needs to know if output has occured
+.nr hd*cur-bline \\n[nl]       \" .H needs to know if output has occurred
 .\}
 ..
 .\"---------------------------------------------------------
@@ -1460,7 +1460,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 address@hidden
 ..
 .\"-------------------------
-.\" set top and bottom margins 
+.\" set top and bottom margins
 .\" -T sets pg*footer-size and pg*header-size instead
 .de VM
 .ie '\\$1'-T' \{\
@@ -1487,7 +1487,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 address@hidden
 ..
 .\"---------------------
-.\" multicolumn output. 
+.\" multicolumn output.
 .de address@hidden
 .if \\n[pg*cols-per-page]>1 \{\
 .      ll \\n[pg*column-size]u
@@ -1718,7 +1718,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .              nr ds*wide 0
 .              if r ft*df-save \{\
 .                      nr Df \\n[ft*df-save]
-.                      rm ft*df-save 
+.                      rm ft*df-save
 .              \}
 .      \}
 .      if '\\*[ft*x]'WD' \{\
@@ -2399,7 +2399,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .SP .5
 ..
 .\" ####### module eq #######################################
-.\" 
+.\"
 .nr eq*number 0 1
 .ds eq*label
 .de EQ
@@ -2513,7 +2513,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .      \}
 .\}
 .am toc*list
-.\" address@hidden level headernumber text pagenr
+.\" address@hidden level headernumber text pagenumber
 address@hidden \\$1 "\\$2" "\\$3" \\$4
 \\..
 ..
@@ -2537,7 +2537,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .in \\n[toc*text]u
 .ti -\\n[toc*hl!\\$1]u
 .\"
-.\" length of headernum space
+.\" length of headernumber space
 .nr toc*i address@hidden@
 .\"
 .ll address@hidden@address@hidden
@@ -2569,7 +2569,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .ll address@hidden
 ..
 .\"########################### module lix ############################
-.\" LIST OF figures, tables, exhibits and equations 
+.\" LIST OF figures, tables, exhibits and equations
 .nr lix*fg-nr 0 1
 .nr lix*tb-nr 0 1
 .nr lix*ec-nr 0 1
@@ -2701,7 +2701,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 ..
 .\"------------
 .\" print appended macro
-.\" address@hidden type pagenumber text headernr
+.\" address@hidden type pagenumber text headernumber
 .de address@hidden
 .nr lix*i address@hidden@
 .ne 4v
@@ -2900,7 +2900,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .nr ref*flag 0 1
 ..
 .\"########################### module app ############################
-.\" 
+.\"
 .nr app*nr 0 1
 .af app*nr A
 .nr app*dnr 0 1
@@ -2946,7 +2946,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .      \}
 .      ds app*ind \\n+[app*nr]
 .      nr H1 \\n+[app*dnr]
-.      nr H1h \\n[app*dnr] 
+.      nr H1h \\n[app*dnr]
 .\}
 .\"    clear lower counters
 .nr app*i 1 1
-- 
2.13.2






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51610>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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