bugGNU roff - Bugs: bug #51314, man pages: Stop using two-font...

 
 

bug #51314: man pages: Stop using two-font macros with only one argument

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Mon 26 Jun 2017 01:09:42 AM UTC
   
 
Category:  General Severity:  2 - Minor
Item Group:  Lint 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 05:47:16 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:30:29 AM UTC, comment #1: 

Fixed in 253d2295cbc6b1556f52ef45e9a70f18c4b319c5.

G. Branden Robinson <gbranden>
Group administrator
Mon 26 Jun 2017 01:09:42 AM UTC, original submission:  

  Change the name of a macro for two fonts (e.g., BR and IR) to one letter,
if there is only one argument.
  Add the second argument if needed.  It is sometimes part of the first one.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 contrib/chem/chem.1.man           |  2 +-
 contrib/glilypond/glilypond.1.man |  2 +-
 contrib/gpinyin/gpinyin.1.man     |  8 ++--
 contrib/groffer/groffer.1.man     |  2 +-
 contrib/mom/groff_mom.7.man       | 96 +++++++++++++++++++--------------------
 contrib/pdfmark/pdfroff.1.man     |  6 +--
 man/groff.7.man                   |  4 +-
 man/groff_diff.7.man              |  8 ++--
 man/groff_font.5.man              |  4 +-
 man/groff_tmac.5.man              |  6 +--
 man/roff.7.man                    |  4 +-
 src/devices/grops/grops.1.man     | 12 ++---
 src/preproc/eqn/eqn.1.man         |  6 +--
 src/preproc/grn/grn.1.man         |  4 +-
 src/preproc/refer/refer.1.man     |  4 +-
 src/roff/groff/groff.1.man        |  8 ++--
 src/roff/grog/grog.1.man          |  4 +-
 src/roff/nroff/nroff.1.man        |  4 +-
 src/utils/indxbib/indxbib.1.man   |  2 +-
 tmac/groff_man.7.man              | 12 ++---
 tmac/groff_ms.7.man               |  2 +-
 21 files changed, 100 insertions(+), 100 deletions(-)

  The patch is in the attachment.

Bjarni Ingi Gislason <bjarniig>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

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 bgarrigues (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 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-15 gbranden CategoryNone General
        Item GroupDocumentation Lint
    2018-11-19 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.22.4
    2018-11-19 gbranden StatusNone In Progress
        Assigned toNone gbranden
        Summary[Patch] Change a two-fonts macro to an one-font macro man pages: Stop using two-font macros with only one argument
    2017-09-01 bgarrigues Severity3 - Normal 2 - Minor
        Item GroupNone Documentation
    2017-06-26 bjarniig Attached File- Added 0001-Change-two-fonts-macros-to-one-font-macro.txt.gz, #41046

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code