bugGNU roff - Bugs: bug #53316, [grolj4] lj4_font(5) spews warning

 
 

bug #53316: [grolj4] lj4_font(5) spews warning

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Sat 10 Mar 2018 03:06:54 PM UTC
   
 
Category:  Driver - others/general Severity:  2 - Minor
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.22.4
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Jan 2022 02:36:16 AM UTC, comment #2: 


commit 056ad3edaa51d120939dea2755119ca9d5e26985
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat Apr 21 06:35:32 2018 -0400

    lj4_font(5): Fix warning.

    Fix unquoted escape in eqn input by just not using eqn for this fairly
    trivial markup.  Consequently, remove eqn preprocessor hint to man.

    Introduced by me in a4f9b86065c02f6b2f385c85526a175ab13ae361,
    2017-11-20.  Thanks to Colin Watson for catching this, and to him and
    Bjarni Ingli Gislason for the feedback.

    Fixes bug https://savannah.gnu.org/bugs/?53316.

    Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>


G. Branden Robinson <gbranden>
Group administrator
Sat 10 Mar 2018 04:12:06 PM UTC, comment #1: 

  Using a macro (here .IR, as used in the already supplied file #43503) is the best solution.

Bjarni Ingi Gislason <bjarniig>
Sat 10 Mar 2018 03:06:54 PM UTC, original submission:  

Reported by cjwatson to the list.

  $ groff -e -mandoc -Z -wmac -Tutf8 <src/devices/grolj4/lj4_font.5.man >/dev/null
  eqn:<standard input>:122: unquoted escape

\~ in eqn input produces this warning.  It's not clear to me that we get much benefit from using eqn in this page just for this one somewhat malformed chunk of input (it also arguably ought to be using "times" rather than "\[mu]" if it's going to be using eqn anyway).  How about something like this?  Or is there a better approach?

G. Branden Robinson <gbranden>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #43503:  lj4_font.5.man.diff added by gbranden (600B - text/x-patch - My proposed fix uploaded at lj4_font.5.man.diff. Uses .IR instead of font escapes; no other changes.)
file #43502:  cjwpatch.diff added by gbranden (661B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bjarniig (Posted a comment)
  • -email is unavailable- added by gbranden (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-11 gbranden Summarysrc/devices/grolj4/lj4_font.5.man: spews warning [grolj4] lj4_font(5) spews warning
    2022-01-11 gbranden Planned ReleaseNone 1.22.4
    2018-04-21 gbranden Open/ClosedOpen Closed
    2018-04-21 gbranden StatusIn Progress Fixed
    2018-03-10 gbranden Attached File- Added lj4_font.5.man.diff, #43503
    2018-03-10 gbranden Attached File- Added cjwpatch.diff, #43502

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code