[lucida] Installation issue continues

R Martinez rm.tech at mac.com
Thu Apr 28 14:52:28 CEST 2022


All,

This is my third message to the list, all pertaining to LaTeX being unable to find the Lucida OT fonts.

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.

% Copyright 2012-2016 TeX Users Group.
% 
% Copying and distribution of this file, with or without modification,
% are permitted in any medium, without royalty.

\documentclass[11pt]{article}

%!TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode

\usepackage{fontspec}      % support opentype text fonts
\usepackage{unicode-math}  % support opentype math fonts

% Slightly reduce font size.
\defaultfontfeatures{Scale=.92}
%
% The explicit .otf extension tells the engines to find the font via
% filenames in the TeX trees, rather than as system-installed fonts.
%
\setmainfont[% main rm
  Ligatures=TeX,
      ItalicFont=LucidaBrightOT-Italic.otf,
        BoldFont=LucidaBrightOT-Demi.otf,
  BoldItalicFont=LucidaBrightOT-DemiItalic.otf,
  ]{LucidaBrightOT.otf}
%
\end{document}

The document fails to typeset because it cannot find LucidaBrightOT.otf. Here’s the console output. Notice the message
 "! Package fontspec Error: The font "LucidaBrightOT" cannot be found.”

————Console output———

This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./lucidaot-copy-test.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-04-20>
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2022/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-xetex.def)))
(/usr/local/texlive/2022/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2022/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2022/texmf-dist/tex/latex/unicode-math/unicode-math.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.s
ty
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
 (/usr/local/texlive/2022/texmf-dist/tex/latex/base/fix-cm.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/
! Package fontspec Error: The font "LucidaBrightOT" cannot be found.

For immediate help type H <return>.
 ...                                              
                                                  
l.27 \end
         {document}
? amstext.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2022/texmf-dist/tex/latex/unicode-math/unicode-math-table.t
ex)))

! Package fontspec Error: The font "LucidaBrightOT" cannot be found.

For immediate help type H <return>.
 ...                                              
                                                  
l.27 \end
         {document}
? 
—————End console output———————

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.

Thanks.

J R Martinez


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/lucida/attachments/20220428/7945e41b/attachment.html>


More information about the lucida mailing list.