Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.groff.bug > #1765

[bug #57876] PATCH] groff.1.man: Minor fixes, unchanged output

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Bjarni Ingi Gislason <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.groff.bug
Subject [bug #57876] PATCH] groff.1.man: Minor fixes, unchanged output
Date Fri, 21 Feb 2020 15:34:58 -0500 (EST)
Lines 93
Approved bug-groff@gnu.org
Message-ID <mailman.1385.1582317303.2412.bug-groff@gnu.org> (permalink)
References <20200221-203456.sv93188.75176@savannah.gnu.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain;charset=UTF-8
X-Trace usenet.stanford.edu 1582317303 11963 209.51.188.17 (21 Feb 2020 20:35:03 GMT)
X-Complaints-To action@cs.stanford.edu
To Bjarni Ingi Gislason <bjarniig@rhi.hi.is>, bug-groff@gnu.org
Envelope-to bug-groff@gnu.org
X-PHP-Originating-Script 1001:sendmail.php
X-Savane-Server savannah.gnu.org:443 [209.51.188.72]
X-Savane-Project groff
X-Savane-Tracker bugs
X-Savane-Item-ID 57876
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
X-Apparently-From 31.209.211.187 (Savane authenticated user bjarniig)
In-Reply-To
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 209.51.188.72
X-BeenThere bug-groff@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id "Bug reports for the GNU version of nroff, troff et al" <bug-groff.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-groff>
List-Post <mailto:bug-groff@gnu.org>
List-Help <mailto:bug-groff-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <20200221-203456.sv93188.75176@savannah.gnu.org>
Xref csiph.com gnu.groff.bug:1765

Show key headers only | View raw


URL:
  <https://savannah.gnu.org/bugs/?57876>

                 Summary: PATCH] groff.1.man: Minor fixes, unchanged output
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Fri 21 Feb 2020 08:34:56 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: Documentation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

>From 76067153dad876aba8ee0589cd21aa4626821398 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Fri, 21 Feb 2020 14:41:42 +0000
Subject: [PATCH] groff.1.man: Minor fixes, unchanged output

mandoc: groff.1.man:1617:2: WARNING: skipping paragraph macro: PP after SH
mandoc: groff.1.man:1968:2: STYLE: fill mode already disabled, skipping: EX
mandoc: groff.1.man:1973:2: STYLE: fill mode already enabled, skipping: fi

###

  Remove a paragraph macro (.P) after a '.SH' as it has no effect.

  Remove requests '.nf' and '.nh'. before an '.EX' macro,
as it already contains those.

  Remove requests '.fi' and '.hy'. after an '.EE' macro,
as it already contains those.

  The output is unchanged.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 src/roff/groff/groff.1.man | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/roff/groff/groff.1.man b/src/roff/groff/groff.1.man
index b7f3931a..807792ab 100644
--- a/src/roff/groff/groff.1.man
+++ b/src/roff/groff/groff.1.man
@@ -1614,7 +1614,6 @@ groffer foo.me
 .SH Notes
 .\" ====================================================================
 .
-.P
 When paging output for the
 \[lq]ascii\[rq],
 \[lq]cp1047\[rq],
@@ -1963,14 +1962,10 @@ Reading the man page about the
 .I groff
 language is done by one of
 .RS
-.nf
-.nh
 .EX
 .B man 7 groff
 .B groffer 7 groff
 .EE
-.hy
-.fi
 .RE
 .
 .ad l
-- 
2.25.0






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57876>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/

Back to gnu.groff.bug | Previous | Next | Find similar


Thread

[bug #57876] PATCH] groff.1.man: Minor fixes, unchanged output Bjarni Ingi Gislason <INVALID.NOREPLY@gnu.org> - 2020-02-21 15:34 -0500

csiph-web