[lucida] Install lucida from Y&Y on MacTeX

Bruno Voisin bvoisin at icloud.com
Thu Aug 3 10:48:47 CEST 2023


> On 3 Aug 2023, at 09:43, Ulrich Groh <ugroh at icloud.com> wrote:
> 
>> Am 02.08.2023 um 22:56 schrieb Bruno Voisin <bvoisin at icloud.com>:
>> 
>> Anyway, a classical problem on the Mac is having a combination of
>> 
>> - per-user setup, located in ~/Library/texlive/<year>/texmf-var/fonts/map/updmap/ and managed via updmap, and
>> 
>> - system-wide setup, located in /usr/local/texlive/<year>/texmf-var/fonts/map/updmap/ and managed via "sudo updmap-sys".
>> 
>> In that event, once the per-user setup is created by running "updmap" (without the -sys) it is the only one that is taken into account, no matter what. Whatever you put in texmf-local and whatever you do with updmap-sys afterwards, it won't matter.
>> 
>> In case that's the cause of your problem, just trash ~/Library/texlive/<year>/texmf-var/fonts/map/updmap/ and redo the magic with updmap-sys.
> 
> Just as a remark: I have done this as Bruno described but using the folder ~/Library/texmf and using updmap —user . 
> This works for me after every new version of TeX. This folder contains also all my own generated files, e.g. the bib-files, pls, sty etc.


Hi Ulrich,

Two things.

First, be careful with this list, the replies by default go only to the sender, not the list (ie, Reply-To is set to the sender not to lucida at tug.org). It seems I was the only one to receive your answer of yesterday. To make sure the answer goes to the list as well, use Reply-All instead of Reply.

(I'm writing this as I often forget and make the mistake myself.)

Second, to clarify what I wrote yesterday, there are two possible setups:

- Per-user: the font files are put inside ~/Library/texmf, they are found automatically (ie, no need to run texhash = mktexlsr), you run updmap (= updmap --user) which creates psfonts.map etc. inside ~/Library/texlive/<year>/texmf-var/fonts/map/updmap/.

- System-wide: the font files are put inside /usr/local/texlive/texmf-local, you need to run "sudo texhash" to make TeX and friends aware of the addition, then you run "sudo updmap-sys" (= updmap --sys) to create psfonts.map etc. inside /usr/local/texlive/<year>/texmf-var/fonts/map/updmap/.

Just make sure you don't mix the two setups (unless you know exactly what you're doing). In particular, once you have run updmap (without the -sys), willingly or not, the per-user setup has been created and will take precedence: whatever you do in texmf-local and with updmap-sys afterwards, it will have no effect whatsoever.

Looking right now at the updmap page (see "texdoc updmap"), I see they've added an explicit warning about this:

"
updmap−sys (or updmap −sys) is intended to affect the system−wide configuration, while updmap−user (or updmap −user) affects personal configuration files only, overriding the system files.

As a consequence, once updmap−user has been run, even a single time, running updmap−sys no longer has any effect. updmap−sys issues a warning about this, since it is rarely desirable. See https://tug.org/texlive/scripts−sys−user.html for details.
"

As I wrote yesterday, in case this happens and you didn't do it on purpose, the easiest cure is to delete ~/Library/texlive/<year>/texmf-var/fonts/map/updmap/ then run updmap-sys.

I described the system-wide setup yesterday because Maurizio mentioned texmf-local in his message. But yes, you can opt for a user-specific setup instead and it will work just as well. Just make sure you don't mix the two.

Hope this works,

Bruno




More information about the lucida mailing list.