From henry.chapman at desy.de Thu Oct 10 17:04:11 2019 From: henry.chapman at desy.de (Henry Chapman) Date: Thu, 10 Oct 2019 17:04:11 +0200 Subject: [lucida] lucida fonts being overridden Message-ID: <2D700517-09BA-42FA-8350-20FF89B1E854@desy.de> I have a vexing problem regarding the installation (or perhaps use) of lucida fonts in texlive. I bought the original Lucida Bright and Math time fonts from Y&Y a long time ago on floppies and had things working in tetex well for quite some time. I had thus had converted fonts to .pfb a long time ago. I think I had things working in texlive in some years ago, but really can?t remember. I just got back into a project where I would like to produce documents with these fonts, but it seems to fail at the last hurdle. I would certainly appreciate any help or insights anyone would have. I checked my installation against the nice and detailed instructions of Bruno Voisin here: https://tug.org/pipermail/macostex-archives/2007-January/027878.html. I also carried out the steps sudo mktexlsr sudo -H updmap-sys --enable Map lucida.map and I ran a few instances of sudo texhash. I even tried sudo - H updmap-sys --disable lucida.map sudo -H updmap-sys --enable Map lucida.map to try and make sure changes are being implemented. I seem to be able to get the Lucida math fonts rendering, but not the fonts for text. Instead, whatever I do, latex (or actually pdflatex) always wants to use other fonts To show what happens, I compiled the small latex file: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{lucidabr} \begin{document} Here?s some text. And here?s some math: \[ \phi(x)=\int_{-\infty}^{x} e^{-x^{2}/2} \] Euro and copyright symbols are available: \texteuro \textcopyright \textbullet. \end{document} and got the following output $ pdflatex lucida-test.tex This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./lucida-test.tex LaTeX2e <2018-12-01> (/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls Document Class: article 2018/09/03 v1.4i Standard LaTeX document class (/usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1enc.def)) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/textcomp.sty (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1enc.def (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1enc.dfu))) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/lucidabr.sty) No file lucida-test.aux. (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1cmr.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/lmrhlcm.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omlhlcm.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omshlcy.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omxhlcv.fd) [1{/usr/local/te xlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./lucida-test.aux) ) {/usr/local/texlive/2019/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc}{ /usr/local/texlive/2019/texmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.enc} Output written on lucida-test.pdf (1 page, 28764 bytes). Transcript written on lucida-test.log. (base) vpn-029:MLL-mask-design chapman9$ open lucida-test.pdf (base) vpn-029:MLL-mask-design chapman9$ pdflatex lucida-test.tex This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./lucida-test.tex LaTeX2e <2018-12-01> (/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls Document Class: article 2018/09/03 v1.4i Standard LaTeX document class (/usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1enc.def)) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/textcomp.sty (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1enc.def (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1enc.dfu))) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/lucidabr.sty) (./lucida-test.aux) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1cmr.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/lmrhlcm.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omlhlcm.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omshlcy.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omxhlcv.fd) [1{/usr/local/te xlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./lucida-test.aux) ) {/usr/local/texlive/2019/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc}{ /usr/local/texlive/2019/texmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.enc} Output written on lucida-test.pdf (1 page, 28764 bytes). Transcript written on lucida-test.log. In other cases I got text rendered using urw/times/utmr8a.pfb. I tried rolling back to earlier texlive distributions, but got the same behaviour, so I suspect it?s me not them. Are there any tests I can do to figure out what?s going on? Thanks, Henry -------------- next part -------------- An HTML attachment was scrubbed... URL: From bvoisin at icloud.com Thu Oct 10 17:47:30 2019 From: bvoisin at icloud.com (Bruno Voisin) Date: Thu, 10 Oct 2019 17:47:30 +0200 Subject: [lucida] lucida fonts being overridden In-Reply-To: <2D700517-09BA-42FA-8350-20FF89B1E854@desy.de> References: <2D700517-09BA-42FA-8350-20FF89B1E854@desy.de> Message-ID: <887C57BD-C4D9-4D6D-BB51-C6BB6BE3F720@icloud.com> > Le 10 oct. 2019 ? 17:04, Henry Chapman a ?crit : > > I seem to be able to get the Lucida math fonts rendering, but not the fonts for text. Instead, whatever I do, latex (or actually pdflatex) always wants to use other fonts > > To show what happens, I compiled the small latex file: > > [...] Hi Henry, With your file I'm getting the console output This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./lucida-test.tex LaTeX2e <2019-10-01> (/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls Document Class: article 2019/08/27 v1.4j Standard LaTeX document class (/usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1enc.def)) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/textcomp.sty (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1enc.def (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1enc.dfu))) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/lucidabr.sty) No file lucida-test.aux. (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1cmr.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/lmrhlcm.fd) (/usr/local/texlive/texmf-local/tex/latex/lucida/t1hlh.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omlhlcm.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omshlcy.fd) (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omxhlcv.fd) (/usr/local/texlive/texmf-local/tex/latex/lucida/ts1hlh.fd) [1{/usr/local/texli ve/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./lucida-test.aux) ){/u sr/local/texlive/2019/texmf-dist/fonts/enc/dvips/base/8r.enc} Output written on lucida-test.pdf (1 page, 19467 bytes). SyncTeX written on lucida-test.synctex.gz. Transcript written on lucida-test.log. and the attached PDF output. Comparing the two logs, the difference is that (/usr/local/texlive/texmf-local/tex/latex/lucida/t1hlh.fd) (/usr/local/texlive/texmf-local/tex/latex/lucida/ts1hlh.fd) are not read in your case. It looks as if you installed the lucidabr LaTeX package http://ctan.org/pkg/psnfssx-luc but not the font support files http://ctan.org/pkg/lucida Up-to-date instructions (better that my outdated post from long ago) are at https://tug.org/store/lucida/type1.html You may also want to have a look at the OpenType version of the fonts, which -- unlike the Type 1 version -- is kept up-to-date. See https://tug.org/store/lucida/opentype.html and more generally https://tug.org/store/lucida/ Bruno Voisin -------------- next part -------------- A non-text attachment was scrubbed... Name: lucida-test.pdf Type: application/pdf Size: 19467 bytes Desc: not available URL: From henry.chapman at desy.de Thu Oct 10 21:28:11 2019 From: henry.chapman at desy.de (Henry Chapman) Date: Thu, 10 Oct 2019 21:28:11 +0200 Subject: [lucida] lucida fonts being overridden In-Reply-To: <887C57BD-C4D9-4D6D-BB51-C6BB6BE3F720@icloud.com> References: <2D700517-09BA-42FA-8350-20FF89B1E854@desy.de> <887C57BD-C4D9-4D6D-BB51-C6BB6BE3F720@icloud.com> Message-ID: <5B618A75-83B9-4B6F-8B96-EEDB568C10D6@desy.de> Hi Bruno, you are a life saver! Thanks so much. It seems that the entire /texmf-local/tex/latex/lucida directory was missing (perhaps I had confused it with /texmf-local/tex/latex/lucidabr which had a few .fd files in it). Everything now works swimmingly Henry > On 10 Oct 2019, at 5:47 pm, Bruno Voisin wrote: > >> Le 10 oct. 2019 ? 17:04, Henry Chapman > a ?crit : >> >> I seem to be able to get the Lucida math fonts rendering, but not the fonts for text. Instead, whatever I do, latex (or actually pdflatex) always wants to use other fonts >> >> To show what happens, I compiled the small latex file: >> >> [...] > > Hi Henry, > > With your file I'm getting the console output > > This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex) > restricted \write18 enabled. > entering extended mode > (./lucida-test.tex > LaTeX2e <2019-10-01> > (/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls > Document Class: article 2019/08/27 v1.4j Standard LaTeX document class > (/usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo)) > (/usr/local/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty > (/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1enc.def)) > (/usr/local/texlive/2019/texmf-dist/tex/latex/base/textcomp.sty > (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1enc.def > (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1enc.dfu))) > (/usr/local/texlive/texmf-local/tex/latex/lucidabr/lucidabr.sty) > No file lucida-test.aux. > (/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1cmr.fd) > (/usr/local/texlive/texmf-local/tex/latex/lucidabr/lmrhlcm.fd) > (/usr/local/texlive/texmf-local/tex/latex/lucida/t1hlh.fd) > (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omlhlcm.fd) > (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omshlcy.fd) > (/usr/local/texlive/texmf-local/tex/latex/lucidabr/omxhlcv.fd) > (/usr/local/texlive/texmf-local/tex/latex/lucida/ts1hlh.fd) [1{/usr/local/texli > ve/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./lucida-test.aux) ){/u > sr/local/texlive/2019/texmf-dist/fonts/enc/dvips/base/8r.enc} e/texmf-local/fonts/type1/bh/lucida/lbme.pfb> nts/type1/bh/lucida/lbmo.pfb> ida/lbms.pfb> > Output written on lucida-test.pdf (1 page, 19467 bytes). > SyncTeX written on lucida-test.synctex.gz. > Transcript written on lucida-test.log. > > and the attached PDF output. > > Comparing the two logs, the difference is that > > (/usr/local/texlive/texmf-local/tex/latex/lucida/t1hlh.fd) > (/usr/local/texlive/texmf-local/tex/latex/lucida/ts1hlh.fd) > > are not read in your case. > > It looks as if you installed the lucidabr LaTeX package > > http://ctan.org/pkg/psnfssx-luc > > but not the font support files > > http://ctan.org/pkg/lucida > > Up-to-date instructions (better that my outdated post from long ago) are at > > https://tug.org/store/lucida/type1.html > > You may also want to have a look at the OpenType version of the fonts, which -- unlike the Type 1 version -- is kept up-to-date. See > > https://tug.org/store/lucida/opentype.html > > and more generally > > https://tug.org/store/lucida/ > > Bruno Voisin > > -- Henry Chapman Center for Free-Electron Laser Science DESY / Universit?t Hamburg Notkestrasse 85 22607 Hamburg, Germany phone: +49 (0)40 8998 4155 secretary: +49 (0)40 8998 5798 henry.chapman at desy.de -------------- next part -------------- An HTML attachment was scrubbed... URL: