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


Groups > gnu.groff.bug > #1765 > unrolled thread

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

Started byBjarni Ingi Gislason <INVALID.NOREPLY@gnu.org>
First post2020-02-21 15:34 -0500
Last post2020-02-21 15:34 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.groff.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromBjarni Ingi Gislason <INVALID.NOREPLY@gnu.org>
Date2020-02-21 15:34 -0500
Subject[bug #57876] PATCH] groff.1.man: Minor fixes, unchanged output
Message-ID<mailman.1385.1582317303.2412.bug-groff@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.groff.bug


csiph-web