bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63764] tmac/an.tmac: translate font CW to R in nroff mode


From: G. Branden Robinson
Subject: [bug #63764] tmac/an.tmac: translate font CW to R in nroff mode
Date: Mon, 6 Feb 2023 12:56:59 -0500 (EST)

Update of bug #63764 (project groff):

                Severity:              3 - Normal => 1 - Wish               
                  Status:                    None => Wont Fix               
             Assigned to:                    None => gbranden               

    _______________________________________________________

Follow-up Comment #1:

I'm rejecting this.

The font name "CW" is not generally portable across *roff implementations.

CW is not a name we use except on the "dvi" device.

The name "CW" doesn't unambiguously identify a font on terminals (of course),
nor on HTML, PostScript, PDF, Canon LBP, or LaserJet 4 device.

People can perform the font remapping in their man.local files.


.if !'\*(.T'dvi' .ftr CW R


People might also prefer to remap "CW" to "B" instead of "R", so that it
stands out.  I found this useful in the "ms.ms" document, for example.

>   So add
> 
> .if n \{\
> .  ftr CB B
> .  ftr CBI BI
> .  ftr CI I
> .  ftr CR R
> .  ftr CW R
> .\}
>
> to "tmac/an.tmac". 

I get the feeling you haven't looked at groff's "an.tmac" lately.


.\" Map monospaced fonts to standard styles for groff's nroff devices.
.if n \{\
.  ftr CR R
.  ftr CI I
.  ftr CB B
.  ftr CBI BI
.\}


...and for what it's worth, here's "mdoc/doc-nroff".


.\" Map monospaced fonts to standard styles.
.ftr CR R
.ftr CI I
.ftr CB B
.ftr CBI BI



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63764>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]