[lucida] Install lucida from Y&Y on MacTeX

Mau V mvs1952 at yahoo.it
Mon Aug 7 20:11:56 CEST 2023


 I have seen here below that option "expert" is still used....
Documentation for options to lucidabr package

And it works with MikTeX installation....
ThanksMaurizio    Il lunedì 7 agosto 2023, 19:20:38 CEST, Mau V <mvs1952 at yahoo.it> ha scritto:  
 
  I made it!!
I deleted the files 
-------------

builtin35.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/builtin35.map

 download35.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/download35.map

 kanjix.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvipdfmx/updmap/kanjix.map

 pdftex.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map

 pdftex_dl14.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex_dl14.map

 pdftex_ndl14.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex_ndl14.map

 ps2pk.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/ps2pk.map

 psfonts.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/psfonts.map

 psfonts_pk.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/psfonts_pk.map
 psfonts_t1.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/psfonts_t1.map
-----------------
about which updmap complained. For that since I had "you have no permission" messages I had to create a root user (you always learn something new...). After that I ran again sudo mktexlsr and sudo updmap-sys and now I can get my tex files with lucida fonts in them.
Frankly, I am not a geek but, as they say, "I am not afraid of the command line". I know tons of tex users who would not come out alive from this...
Well, thanks (I hope this is the end...)
BTW: do you have an explanation of this?
Maurizio


    Il lunedì 7 agosto 2023, 18:18:11 CEST, Mau V <mvs1952 at yahoo.it> ha scritto:  
 
  Hi all!Nope, it didn't work.
Now I get
------
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+70/600 --dpi 670 hlcrv

mktexpk: don't know how to create bitmap font for hlcrv. mktexpk: perhaps hlcrv is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.----------------
I tried to mimic the lucida installation folders and paths of Bruno, and after that I have run 
sudo mktexlsr
and then 
sudo updmap-sys

I noticed that in my localtexmf folder coming from my earlier (working...) MikTeX installs both on Win and on iMac I missed some files which were listed in Bruno's installation. I downloaded them from CTAN. Is this the same thing or there is some missmatch due to different releases of Lucida (I have very old files from Y&Y and BlueSky ....) over the years?
I could post the mktexlsr.log and updmap.log
updmap-sys  did complain like this:
-------------------

WARNING: updmap has found mismatched files!




The following files have been generated as listed above,

but will not be found because overriding files exist, listed below.




Perhaps you have run updmap-user in the past, but are running updmap-sys

now.  Once you run updmap-user the first time, you have to keep using it,

or else remove the personal configuration files it creates (the ones

listed below).

 builtin35.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/builtin35.map

 download35.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/download35.map

 kanjix.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvipdfmx/updmap/kanjix.map

 pdftex.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map

 pdftex_dl14.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex_dl14.map

 pdftex_ndl14.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex_ndl14.map

 ps2pk.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/ps2pk.map

 psfonts.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/psfonts.map

 psfonts_pk.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/psfonts_pk.map

 psfonts_t1.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/psfonts_t1.map

(Run updmap --help for full documentation of updmap.)

---------------------
Yes, I did run updmap-user in the past. But then I uninstalled texlive completey and started a new fresh install, which works. Does macos or texlive remember forever?
Thanks again!
Maurizio







    Il giovedì 3 agosto 2023, 10:15:03 CEST, Mau V <mvs1952 at yahoo.it> ha scritto:  
 
  Thanks! 
I'll try in the next couple of days and I'll report back.
Maurizio
    Il mercoledì 2 agosto 2023, 22:56:24 CEST, Bruno Voisin <bvoisin at icloud.com> ha scritto:  
 
 Hi Maurizio, hi Reinhard,

For some reason I didn't get Maurizio's original message but got Reinhard's answer (I checked the Junk mailboxes, Maurizio's message isn't there).

Anyway, a classical problem on the Mac is having a combination of

- per-user setup, located in ~/Library/texlive/<year>/texmf-var/fonts/map/updmap/ and managed via updmap, and

- system-wide setup, located in /usr/local/texlive/<year>/texmf-var/fonts/map/updmap/ and managed via "sudo updmap-sys".

In that event, once the per-user setup is created by running "updmap" (without the -sys) it is the only one that is taken into account, no matter what. Whatever you put in texmf-local and whatever you do with updmap-sys afterwards, it won't matter.

In case that's the cause of your problem, just trash ~/Library/texlive/<year>/texmf-var/fonts/map/updmap/ and redo the magic with updmap-sys.

Personally I haven't run "sudo updmap-sys --enable [...]" or similar in years. What I do is create a file /usr/local/texlive/texmf-local/web2c/updmap.cfg containing lines like

Map lucida.map

then run "sudo updmap-sys" (it is run automatically at the end of the MacTeX install process). You're done! See "texdoc updmap".

Attached is a listing of my Lucida Type 1 install, which is working on an M1 MacBook Pro with MacTeX 2023 (over the years I have used various Lucida setups, originally one for the Mac purchased from Blue Sky Research in the 1990s -- fonts in LWFN format and metrics in suitcase format -- which I converted to teTeX, gwTex then MacTeX -- fonts in PFB format and metrics in TFM and VF formats -- by the turn of the century, then new setups purchased from TUG and PCTeX).

Hope this works,

Bruno





> On 2 Aug 2023, at 19:57, Reinhard Kotucha <reinhard.kotucha at gmx.de> wrote:
> 
> On 2023-08-02 at 14:32:54 +0000, Mau V wrote:
> 
>> I purchased years ago the complete set of Lucida fonts (Type 1)
>> from Y&Y, now defunct (not from TUG). I was able to make it work
>> over the years putting them in one "localtexmf" folder which I have
>> been using for years with many installations of MiKTeX on WIN
>> machines. Thus, I assume I have all is needed, somewhere. I still
>> have a copy of that "localtexmf" folder, and I also have a copy of
>> some "Y&Y" folder where (I think) I put what I received or
>> downloaded from Y&Y. I am an old TeX/LaTeX user.  Now, my problem
>> is that I cannot make it work on my new MacBook Air (M1) where I
>> installed MacTeX (TeXlive, basically). MacTeX works perfectly well
>> but when, weeks ago, I tried to copy locatexmf into "texmf-local"
>> and then went through the steps suggested in the many docs I found
>> about installing fonts on texlive it didn't work. I got error
>> messages like 
>> ----------
>> kpathsea: Running mktextfm hlcrimamktextfm: Running mf-nowin
>> -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input
>> hlcrimaThis is METAFONT, Version 2.71828182 (TeX Live 2023)
>> (preloaded base=mf)kpathsea: Running mktexmf hlcrima! I can't find
>> file `hlcrima'. <*> ...jfour; mag:=1; ; nonstopmode; input hlcrima
>> Please type another input file name !  Emergency stop. <*>
>> ...jfour; mag:=1; ; nonstopmode; input hlcrima Transcript written
>> on mfput.log.grep: hlcrima.log: No such file or directory
>> -------------
> 
> Hi Maurizio,
> first of all you have to run mktexlsr.  This creates/updates the file
> database, which probably doesn't exist for texmf-local when you
> formerly used MiKTeX.
> 
> According to the error message the tfm file is not found and kpathsea
> tries to create ond ftom the Metafont sources.  But this should be
> fixed after running mktexlsr.
> 
> Then you have to run updmap-sys.  You get help with
> 
>  updmap --help
> 
> Regards,
>  Reinhard
> 
> -- 
> ------------------------------------------------------------------
> Reinhard Kotucha                            Phone: +49-511-3373112
> Marschnerstr. 25
> D-30167 Hannover                    mailto:reinhard.kotucha at gmx.de
> ------------------------------------------------------------------
> 
> --
> https://tug.org/lucida/

        
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/lucida/attachments/20230807/79249f02/attachment-0001.htm>


More information about the lucida mailing list.