bugGNU roff - Bugs: bug #24215, [mm] font references need to be...

 
 

bug #24215: [mm] font references need to be regularized

Submitter:  Michael H Bianchi <mbianchi>
Submitted:  Sat 06 Sep 2008 02:50:03 PM UTC
   
 
Category:  Macro mm Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  mbianchi
Open/Closed:  Closed Planned Release:  1.20.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 01 Apr 2023 02:37:45 PM UTC, comment #2: 


commit ba68c86474175c67c2b810960b9f39dc60fd575b
Author: Werner LEMBERG <wl@gnu.org>
Date:   Tue Mar 28 12:32:04 2006 +0000

    . Hardwire first four font positions with R, I, B, and BI -- the
      documentation explicitly refers to this feature (cf. the `HF'
      string register).

    . Don't use `%' register in numeric calculations because it is
      affected by `.af'.

    Patches for both problems have been contributed by Nick Stoughton
    <nick@usenix.org>.

    * m.tmac: s/@language/@country/.
    s/\n[%]/\n[P]/ where appropriate.
    s/\fR/\f1/.
    s/.ft R/.ft 1/.
    s/\fI/\f2/.
    s/.ft I/.ft 2/.
    s/\fB/\f3/.
    s/.ft B/.ft 3/.

    * mse.tmac: s/@language/@country/.

    * groff_mm.man (Fonts): New subsection.

    * groff_mmse.man: Load `sv.tmac'.
    Reformatted.

    examples/README: Cleanups and updates.


G. Branden Robinson <gbranden>
Group administrator
Sat 06 Sep 2008 03:52:01 PM UTC, comment #1: 

Looking into the complaint about the fonts and MM .FG command, I discover
that this was fixed in 2006 and is in the current CVS download, but not in
the 1.18.1 version distributed with Ubuntu 8.04.

In fact, it was fixed by Werner in delta 2.29  2006-03-28, to
groff/contrib/mm/m.tmac,v ...

        . Hardwire first four font positions with R, I, B, and BI -- the
          documentation explicitly refers to this feature (cf. the `HF'
          string register).
        . Don't use `%' register in numeric calculations because it is
          affected by `.af'.
        Patches for both problems have been contributed by Nick Stoughton
        <nick@usenix.org>.
        * m.tmac: s/@language/@country/.
        s/\n[%]/\n[P]/ where appropriate.
        s/\fR/\f1/.
        s/.ft R/.ft 1/.
        s/\fI/\f2/.
        s/.ft I/.ft 2/.
        s/\fB/\f3/.
        s/.ft B/.ft 3/.
        * mse.tmac: s/@language/@country/.
        * groff_mm.man (Fonts): New subsection.
        * groff_mmse.man: Load `sv.tmac'.
        Reformatted.
        examples/README: Cleanups and updates.


So the problem is that the fix is not currently wrapped up in a
distribution yet.

Mike Bianchi

Michael H Bianchi <mbianchi>
Group Member
Sat 06 Sep 2008 02:50:03 PM UTC, original submission:  

The font references occur both by position, e.g.  .ft 1 , and
by name,  .ft R .

This means that in order to change from say  R I B  to  H HI HB
fonts across the board you need to use both  .fp  and  .fpr  to catch all the cases.  (By "all" I mean all that I have looked at.)


E.g.
.fp  1 H
.fp  2 HI
.fp  3 HB
.ftr R H
.ftr I HI
.ftr B HB
.DS
Fig test
.FG "Fig test caption"
.DE


This appears to work.

There is evidence that the same problem exists in the ME macros.

Mike Bianchi

Michael H Bianchi <mbianchi>
Group Member

 

(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 schwarze (Updated the item)
  • -email is unavailable- added by mbianchi (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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-04-01 gbranden Planned ReleaseNone 1.20.0
        Summaryfont references in MM (and ME?) need to be regularized [mm] font references need to be regularized
    2018-02-16 schwarze CategoryNone Macro mm
        Item GroupNone Incorrect behaviour
        StatusDuplicate Fixed
        Open/ClosedOpen Closed
    2008-09-06 mbianchi StatusFixed Duplicate
    2008-09-06 mbianchi StatusConfirmed Fixed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code