Hi folks,<br><br>I learned most of my LaTeX from vol. 1 of the LaTeX Companion, so I'd wanted the Lucida Bright fonts for about three years. I finally decided to get them this year, and they are beautiful. I know they're nothing new, but hats off to the designers for this extended font family.
<br><br>I was able to install the fonts by following the instructions at source > fonts > lucidabr > README.TUG on my computer at work, which uses a version of MiKTeX (probably 2.4.x, can't check just now). I also easily installed them on my Debian machine, although I needed to fetch a new
textcomp.sty for full use.<br><br>Curiously, I ran into trouble on the MiKTeX installation at home. I searched and read and tried a couple of things, and now I've tried again. I mostly followed the thread from June/July by Ian Fitzgerald, who uses fptex. Even though the distributions are different, his main problem seems to be the same as mine. When using pdflatex on this file:
<br><br>\documentclass[a4paper]{memoir}<br>\usepackage[T1]{fontenc}<br>\usepackage{lucidabr}<br>\begin{document}<br>Hello world.<br>\emph{Hello world.}<br>\textsf{Hello world.}<br>\textbf{Hello world.}<br>\texttt{Hello world.}
<br>\end{document}<br><br>I get such warnings:<br><br>(G:\Program Files\Office\MiKTeX\localtexmf\tex\latex\lucida\t1hlst.fd) [1{psfonts.map}] (lucidatrial.aux) )Trying to make PK font "hlsrt8r" (at 570 DPI)...<br>
"makemf" --verbose "hlsrt8r"<br>"ttf2pk" -q -t "hlsrt8r"<br>makepk: "<a href="http://hlhb8r.pk">hlhb8r.pk</a>" could not be created.<br><br>Warning: pdflatex (file hlsrt8r): Font hlsrt8r at 570 not found
<br>Trying to make PK font "hlhb8r" (at 570 DPI)...<br>"makemf" --verbose "hlhb8r"<br>"ttf2pk" -q -t "hlhb8r"<br>makepk: "<a href="http://hlhb8r.pk">hlhb8r.pk</a>" could not be created.
<br><br>. . . and so on. This makes me think that the problem is the same as described by Karl Berry in Ian's thread:<br><pre> still unable to find certain files. Is this relevant?<br><br>Yes, very much so. That is the whole problem. Since it doesn't know
<br>that the lucida fonts are outlines, it's trying to look for bitmaps, and<br>not finding anyway.</pre>Since lucida.map was discussed in that thread and in another discussion I looked at, I checked and found it to be located at localtexmf/fonts/map/dvips/lucida.map, where it was put by the unzipping of the archive. Although the installation did work without a hitch on my work MiKTeX, I figured maybe this MiKTeX version is different (maybe I changed a setting somewhere in the past) and maybe it needs a hint. I added a line to localtexmf/miktex/config/updmap.cfg containing "Map
lucida.map" (no quotes of course).<br><br>Then I knew I had to run updmap, and Google told me that under MiKTeX it is "initexmf -v --mkmap" (again no quotes). The output is telling me that, for some great and mysterious reason,
lucidabr.map and lucida.map are being ignored. Among the many lines of output, I found these two lines:<br><br>not using map file 'lucida.map'<br>not using map file 'lucidabr.map'<br><br>Removing the "Map lucida.map" entry from
updmap.cfg and re-running "initex -v --mkmap" results in the only Lucida-related line being the second line:<br><br>no using map file 'lucidabr.map'<br><br>From this I conclude that MiKTeX is being told about lucidabr.map
, but is ignoring it. So no, MiKTeX doesn't know about the outline fonts. The funny thing is, I cannot find any file lucidabr.map. If it should have been automatically generated, it hasn't been, and lucida.map is being ignored even though it exists.
<br><br>I have fooled with fonts before, including one that was designed for my institution. Though that particular font was itself far more painful than the actual installation, I spent enough time on it to have learned that there is a lot to know about font installation -- I have the feeling that I am overlooking something trivial. Any hints?
<br>