bugGNU roff - Bugs: bug #57876, groff.1.man: Minor fixes,...

 
 

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

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Fri 21 Feb 2020 08:34:56 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Documentation Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 15 Jun 2022 02:10:48 PM UTC, comment #2: 

This was resolved by removing the patched material entirely.  Removing "[PATCH]" annotation.


commit 550ab5338e04e54539214997315f451c89ac25e6
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Sep 14 21:10:15 2020 +1000

    man pages: Remove unncessary material.

    * src/preproc/tbl/tbl.1.man: Stop advising people to use
      adjustment-altering requests to bracket tables to cheaply set the
      alignment of text blocks ("T{", "T}") in table entries.  This is bad
      advice for man pages (it was overriding -dAD=l to force full
      justification on after a table in groff_ms(7)).  Adjustment requests
      can be embedded inside text blocks anyway, and you don't even have to
      remember to undo them.

    * src/roff/groff/groff.1.man: Remove novice-oriented material
      introducing the concept of man page section numbers and man(1) usage
      advice.  This is not appropriate here; intro(1) is the proper place.


G. Branden Robinson <gbranden>
Group administrator
Thu 22 Oct 2020 08:48:44 PM UTC, comment #1: 

Fixed in 550ab5338e04e54539214997315f451c89ac25e6, 14 September.

G. Branden Robinson <gbranden>
Group administrator
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 gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-15 gbranden CategoryNone Core
        Summary[PATCH] groff.1.man: Minor fixes, unchanged output groff.1.man: Minor fixes, unchanged output
    2020-10-22 gbranden StatusNone Fixed
        Assigned toNone gbranden
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    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.13-f8d8.
    Corresponding source code