bugGNU troff - Bugs: bug #57876, [PATCH] groff.1.man: Minor fixes,...

 
 

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

Submitted by:  Bjarni Ingi Gislason <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 Planned Release:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 21 Feb 2020 08:34:56 PM UTC, original submission:  

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

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-13 barx Carbon-CopyRemoved 93119 => -
    2020-10-13 barx SummaryPATCH] groff.1.man: Minor fixes, unchanged output => [PATCH] groff.1.man: Minor fixes, unchanged output

    Back to the top


    Powered by Savane 3.5