[Top][All Lists]

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

Re: A new ignoramus question about user-installed fonts

From: G. Branden Robinson
Subject: Re: A new ignoramus question about user-installed fonts
Date: Fri, 21 Apr 2023 12:15:34 -0500

Hi Oliver,

At 2023-04-21T14:59:43+0200, Oliver Corff wrote:
> I successfully ran Peter's to install Linux Libertine
> as a new font.
> The first observation:
> .PP
> .\"fam Libertine
> Орос хэл, монгол үлгэр. Үлэг гүрвэлийн өндөг.
> If I start a new paragraph, the .fam Libertine request seems to have
> been forgotten. Is it limited to the scope of the current paragraph?
> I have to say again:
> .fam Libertine

You did not say, but I surmise that you are using the ms(7) package.
(man(7) also has a `PP` macro, but does not behave the same way.)

> Is it limited to the scope of the current paragraph?

Yes, if you use a low-level request like this.  groff ms(7) supports the
`FAM` string to persistently change the font family, starting at the
next paragraph.[1]  This is documented in groff_ms(7) and (in the
forthcoming 1.23.0) the document.

If you have read my unfortunate exchanges with Christof Meerwald, you
know how I feel about the use of low-level requests when a macro package
provides a facility for accomplishing the same objective.[2]

I'm thrilled to hear that this is working well, and will work better for
more people as soon as we can release!


[1] This basic feature goes "all the way back".

^351da0dcd macros/tmac.s (James Clark          1991-06-02 04:20:34 -0500 1155) 
.de par@reset
^351da0dcd macros/tmac.s (James Clark          1991-06-02 04:20:34 -0500 1174) 
.ft 1
^351da0dcd macros/tmac.s (James Clark          1991-06-02 04:20:34 -0500 1175) 
.fam \\*[FAM]

    ...but I have tweaked it for groff 1.23.[3]  Exactly two years ago,
    as it turns out...

[2] See attachment.  ;-)  :-P


Attachment: david_banner_hulk_eyes_green.jpeg
Description: david_banner.jpeg

Attachment: signature.asc
Description: PGP signature

reply via email to

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