[lucida] Installation issue continues

Bruno Voisin bvoisin at icloud.com
Thu Apr 28 18:00:05 CEST 2022

> On 28 Apr 2022, at 14:52, R Martinez <rm.tech at mac.com> wrote:
> As previously reported, I can typeset correctly and uneventfully when accessing the Lucida OT fonts via system lookups. This means that I can typeset the test file "lucidaot-sys-example.tex".
> The problem was and remains that I cannot typeset the test file “lucidaot.tex”, which finds the Lucida OT fonts via file names in the TeX trees. Here’s a MWE for the lucidaot.tex file. I inserted the \end{document} command early since the shortened file suffices to illustrate the problem.

You need to add something like

Some text.

before \end{document}. Otherwise typesetting fails (missing .aux file).

Anyway, doing that I have no problem: 

This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-04-20>
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
For additional information on amsmath, use the `?' option.
ex))) (./mwe.aux) [1] (./mwe.aux) )
Output written on mwe.pdf (1 page).
SyncTeX written on mwe.synctex.gz.
Transcript written on mwe.log.

> Responding to a previous query, Bruno Voisin kindly advised that I should run the command "sudo mktexlsr” on the Terminal. I did, but the file still failed to typeset. The console output listed above was produced _after_ I ran sudo mktexlsr on the Terminal.
> I do have a workaround since I can typeset using system lookups. So I can do my work. But the inability to find the Lucida OT fonts via file names on the TeX trees could be a symptom of other problems and I would like to clean it up.
> I appreciate advice on this matter and thank everybody in advance.
> BTW, I’m using an M1 MacBook Pro with Monterey 12.2.1. I use the editor TeXShop 4.72.

Almost the same here: M1 MacBook Pro 13", Monterey 12.4 Beta 3, MacTeX 2022, TeXShop 4.72.

In your first message you wrote you installed the fonts in /usr/local/texlive/texmf-local. Where did you put them inside that? It should go to /usr/local/texlive/texmf-local/fonts/opentype/bh/lucidaot.

In particular, to be found the fonts need to be in a subfolder "opentype" or "truetype" of the "fonts" folder, otherwise they're not found when using file lookup.

The following (in Terminal) will tell you where XeTeX looks for .otf fonts on your setup, by decreasing order of precedence:

kpsewhich --progname=xetex --show-path=.otf | tr ":" '\n'

For me this gives


(the last line shouldn't be there for you, it's an addition OSFONTDIR that I did in a local texmf.cnf).

I don't remember exactly in which form the lucidaot fonts are packaged when purchased from TUG. Assuming you chose the Lucida OpenType + Type 1 combo and got an archive lucidaot1-tex.zip, the fonts inside are already at their proper location in the texmf tree. You just need to merge the content of the archive with your existing texmf-local tree (and run "sudo mktexlsr" afterwards).


More information about the lucida mailing list.