bugGNU roff - Bugs: bug #55051, groff_man.7.man: Change ".BR...

 
 

bug #55051: groff_man.7.man: Change ".BR <one argument>" to ".B <one argument>"

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Mon 19 Nov 2018 04:27:26 AM UTC
   
 
Category:  General Severity:  2 - Minor
Item Group:  Documentation Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.22.4
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 15 Jun 2022 02:17:44 PM UTC, comment #2: 


commit 253d2295cbc6b1556f52ef45e9a70f18c4b319c5
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Nov 19 02:21:25 2018 -0500

    man pages: Fix misuse of two-font macros.

            * contrib/chem/chem.1.man:
            * contrib/glilypond/glilypond.1.man:
            * contrib/mom/groff_mom.7.man:
            * contrib/pdfmark/pdfroff.1.man:
            * man/groff.7.man:
            * man/groff_diff.7.man:
            * man/groff_font.5.man:
            * man/groff_tmac.5.man:
            * man/roff.7.man:
            * src/devices/grolbp/grolbp.1.man:
            * src/devices/grops/grops.1.man:
            * src/preproc/eqn/eqn.1.man:
            * src/preproc/refer/refer.1.man:
            * src/roff/groff/groff.1.man:
            * src/roff/nroff/nroff.1.man:
            * src/utils/indxbib/indxbib.1.man:
            * tmac/groff_man.7.man:
            * tmac/groff_ms.7.man: Variously:
              + Convert two-font to one macro; or
              + Add whitespace so second argument is recognized and set
                correctly; or
              + Add commas (including Oxford commas) to lists.

            Fixes <https://savannah.gnu.org/bugs/index.php?51314>.  Thanks
            to Bjarni Ingi Gislason for pointing out the issue; I applied my
            own corrections, so blame me if there are problems.

            Also fixes <https://savannah.gnu.org/bugs/index.php?55051>, a
            more-recently-introduced instance of the same basic issue.


G. Branden Robinson <gbranden>
Group administrator
Mon 19 Nov 2018 07:29:58 AM UTC, comment #1: 

Fixed in 253d2295cbc6b1556f52ef45e9a70f18c4b319c5.

G. Branden Robinson <gbranden>
Group administrator
Mon 19 Nov 2018 04:27:26 AM UTC, original submission:  

From 7ea40f8ec33a2be95cd4db1afbb5f79351cf9145 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Sun, 18 Nov 2018 01:52:18 +0000
Subject: [PATCH] groff_man.7.man: Change ".BR <one argument>" to ".B <one
 argument>"

  The font changing macros for two fonts are for alternating the fonts
of its arguments, and thus at least two arguments are needed.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---

  How to avoid this misuse.
  Add the patch in bug #53043 to your local (personal) repository.
  If "man" is configurable (like in "man-db"), let it use "test-groff",
in the file "~/.manpath":

DEFINE troff test-groff -b -mandoc -ww -rF=0
DEFINE nroff test-nroff -mandoc -ww -rF=0

  Make "man" pass all warnings by default.


 tmac/groff_man.7.man | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tmac/groff_man.7.man b/tmac/groff_man.7.man
index 23f6a9d1..d7cb3c86 100644
--- a/tmac/groff_man.7.man
+++ b/tmac/groff_man.7.man
@@ -551,7 +551,7 @@ The descriptions of
 .BR .LP ,
 .BR .PP ,
 and
-.BR .P
+.B .P
 above were written using
 .B .TP
 and
--
2.19.1


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 (Updated the item)
  • -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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-15 gbranden CategoryNone General
        Summary[PATCH] groff_man.7.man: Change &quot;.BR &lt;one argument&gt;&quot; to &quot;.B &lt;one argument&gt;&quot; groff_man.7.man: Change ".BR <one argument>" to ".B <one argument>"
    2018-11-19 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.22.4
    2018-11-19 gbranden Severity3 - Normal 2 - Minor
        Item GroupNone Documentation
        StatusNone In Progress
        Assigned toNone gbranden

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code