[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
\begin{document}
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
(./mwe.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/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))) (./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
.
/Users/brunovoisin/Library/texlive/2022/texmf-config/fonts/opentype//
/Users/brunovoisin/Library/texlive/2022/texmf-var/fonts/opentype//
/Users/brunovoisin/Library/texmf/fonts/opentype//
!!/usr/local/texlive/texmf-local/fonts/opentype//
!!/usr/local/texlive/2022/texmf-config/fonts/opentype//
!!/usr/local/texlive/2022/texmf-var/fonts/opentype//
!!/usr/local/texlive/2022/texmf-dist/fonts/opentype//
/Users/brunovoisin/Library/texlive/2022/texmf-config/fonts/truetype//
/Users/brunovoisin/Library/texlive/2022/texmf-var/fonts/truetype//
/Users/brunovoisin/Library/texmf/fonts/truetype//
!!/usr/local/texlive/texmf-local/fonts/truetype//
!!/usr/local/texlive/2022/texmf-config/fonts/truetype//
!!/usr/local/texlive/2022/texmf-var/fonts/truetype//
!!/usr/local/texlive/2022/texmf-dist/fonts/truetype//
/System/Library/AssetsV2/com_apple_MobileAsset_Font7////
(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).
Bruno
More information about the lucida
mailing list.