bugGNU roff - Bugs: bug #66126, [mdoc] should remap monospaced...

 
 

bug #66126: [mdoc] should remap monospaced font names on "dvi" (or "lbp") devices

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Mon 26 Aug 2024 12:33:14 AM UTC
   
 
Category:  Macro package mdoc Severity:  3 - Normal
Item Group:  Warning/Suspicious behaviour Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Aug 2024 01:14:22 AM UTC, comment #1: 


troff:groff_mdoc.7:220: warning: asked for a font family instead of the font itself


That appears to be a Bjarnigroff diagnostic, not a GNU groff one.  I will take no action regarding it.

The remainder can, I think, be remedied analogously to this bit of business we had to do in man(7).

In mdoc we probably don't want to tuck the font remappings (and un-remappings) inside macro definitions, but apply them globally due to mdoc's pervasive per-macro font customization feature.

While we're at it, might as well cope with the similar "lbp" problem.


G. Branden Robinson <gbranden>
Group administrator
Mon 26 Aug 2024 12:33:14 AM UTC, original submission:  

Subject: [mdoc] "dvi.tmac" causes errors and warnings

File: build/tmac/groff_mdoc.7

"test-groff -mandoc -Tdvi -ww -b -z groff_mdoc.7" produces a lot of errors
and warnings of one type each:

troff: backtrace: '/home/bg/git/groff/build/../tmac/mdoc/doc-ditroff':262: string 'doc-quote-left'
troff: backtrace: '/home/bg/git/groff/build/../tmac/doc.tmac':1708: macro 'doc-enclose-string'
troff: backtrace: '/home/bg/git/groff/build/../tmac/mdoc/doc-ditroff':265: macro 'Ql'
troff: backtrace: file 'groff_mdoc.7':220
troff:groff_mdoc.7:220: error: no font family named 'C' exists

troff: backtrace: '/home/bg/git/groff/build/../tmac/mdoc/doc-ditroff':262: string 'doc-quote-left'
troff: backtrace: '/home/bg/git/groff/build/../tmac/doc.tmac':1708: macro 'doc-enclose-string'
troff: backtrace: '/home/bg/git/groff/build/../tmac/mdoc/doc-ditroff':265: macro 'Ql'
troff: backtrace: file 'groff_mdoc.7':220
troff:groff_mdoc.7:220: warning: asked for a font family instead of the font itself


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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-08-26 gbranden StatusNone Confirmed
        Summary[mdoc] &quot;dvi.tmac&quot; causes errors and warnings [mdoc] should remap monospaced font names on "dvi" (or "lbp") devices

    Back to the top

    Powered by Savane 3.14-21bf.
    Corresponding source code