[lucida] upgrading + installation
Bruno Voisin
bvoisin at me.com
Mon Feb 11 00:55:25 CET 2013
Le 10 févr. 2013 à 20:01, ivo welch <ivo.welch at anderson.ucla.edu> a écrit :
> I thought it would have been sufficient to add
> 'Map lucida.map' to updmap.cfg (and/or run 'updmap-sys --enable
> Map=lucida.map'), then run updmap-sys, updmap, mktexlsr, and texhash a
> few times as su ;-). I can't see obvious problems:
>
> [...]
>
> $ pdflatex lucida-test.tex
> ...
> (/usr/local/texlive/texmf-local/tex/latex/lucidabr/lucidabr.sty)
> (./lucida-test.aux)
> (/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{/home/ivo/.te
> xlive2012/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2] [3]
> [...]
The pdftex.map that is read is apparently a leftover in your home directory
/home/ivo/.texlive2012/texmf-var/fonts/map/pdftex/updmap/pdftex.map
not the one that you have updated by running updmap-sys and which lives at
/usr/local/texlive/2012/texmf-var/fonts/map/pdftex/updmap/pdftex.map
As I was about to propose an alternative solution, I'm seeing Norbert just wrote a detailed analysis and solution.
What I've been doing for some time is exactly what he proposes, namely listing all personal font additions in a file /usr/local/texlive/texmf-local/web2c/updmap.cfg, containing for Lucida
Map lucida.map
then run
sudo -H updmap-sys
(-H is probably not required on Linux which you seem to be using, but it is on the Mac).
Beware though, as Norbert points out, that the way updmap(-sys) operates in TeX Live 2012 has changed fundamentally. The effects of different updmap.cfg at different locations in your various texmf trees is cumulative and quite involved; it's no longer one updmap.cfg file containing everything and having precedence over all the other files with the same name. I'm still not sure, after several months of use, to have digested all the subtleties of this new operating mode. A detailed explanation is obtained by running "updmap --help".
As for Lucida OpenType, it sure is the future of Lucida (the Type 1 fonts are fixed and won't be updated, whereas the OT version is). But it requires LuaTeX or XeTeX instead of pdfTeX. And in LaTeX, using the fonts means using the fontspec package (for text) and the unicode-math package (for math). fontspec is full-proof and appropriate for production work, but unicode-math is still beta and not yet adequate for daily use (it includes bugs or features that I have experienced in several occasions, and has not reached yet a stable stage).
Bruno Voisin
More information about the lucida
mailing list