<html><head></head><body><div class="ydp64db9cdayahoo-style-wrap" style="font-family:verdana, helvetica, sans-serif;font-size:16px;"><div></div>
<div dir="ltr" data-setdir="false">Thanks for the answer. Yes I went through the dangerous path (as in the link you mentioned). I knew I had to be careful, but in the end I had only to delete a few files with very precise names. I did that and then I deactivated the root user. I had no problem, luckily. My mac is perfectly OK.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I do not understand what could have been an alternative path. Updmap was telling me I had to delete those files but I was not allowed by the system. What could I have done?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I also added support for mathtime pro fonts from PcTeX which I purchased years ago. That was easier, now, and they work.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks again</div><div dir="ltr" data-setdir="false">Maurizio</div>
</div><div id="yahoo_quoted_1601114539" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Il martedì 8 agosto 2023, 01:47:46 CEST, Bruno Voisin <bvoisin@icloud.com> ha scritto:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">> On 7 Aug 2023, at 19:20, Mau V <<a shape="rect" ymailto="mailto:mvs1952@yahoo.it" href="mailto:mvs1952@yahoo.it">mvs1952@yahoo.it</a>> wrote:<br clear="none">> <br clear="none">> I made it!!<br clear="none">> <br clear="none">> I deleted the files <br clear="none">> <br clear="none">> -------------<br clear="none">> <br clear="none">> builtin35.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/builtin35.map<br clear="none">> download35.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/download35.map<br clear="none">> kanjix.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvipdfmx/updmap/kanjix.map<br clear="none">> pdftex.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map<br clear="none">> pdftex_dl14.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex_dl14.map<br clear="none">> pdftex_ndl14.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex_ndl14.map<br clear="none">> ps2pk.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/ps2pk.map<br clear="none">> psfonts.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/psfonts.map<br clear="none">> psfonts_pk.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/psfonts_pk.map<br clear="none">> psfonts_t1.map: /var/root/Library/texlive/2023/texmf-var/fonts/map/dvips/updmap/psfonts_t1.map<br clear="none">> <br clear="none">> -----------------<br clear="none">> <br clear="none">> about which updmap complained.<br clear="none">> <br clear="none">> [...]<br clear="none">> <br clear="none">> BTW: do you have an explanation of this?<br clear="none"><br clear="none">I think /var/root is root's HOME. You must have run, directly or indirectly (ie through a script) "sudo updmap-user" or "sudo -H updmap-user". This created a user-specific /Library/texlive/2023/texmf-var/ folder, but for the root user, hence inside /var/root, not for you.<br clear="none"><br clear="none">The problem is, /var/root/Library/texlive/... is at the start of the search path when a sudo'ed script, like updmap-sys, searches for files. So this folder always had precedence, and what you put in texmf-local wasn't seen.<br clear="none"><br clear="none">A way to check this:<br clear="none"><br clear="none">% sudo -H kpsewhich -show-path map | tr ":" '\n' <br clear="none">.<br clear="none">/var/root/Library/texlive/2023/texmf-config/fonts/map/kpsewhich//<br clear="none">/var/root/Library/texlive/2023/texmf-var/fonts/map/kpsewhich//<br clear="none">/var/root/Library/texmf/fonts/map/kpsewhich//<br clear="none">!!/usr/local/texlive/texmf-local/fonts/map/kpsewhich//<br clear="none">!!/usr/local/texlive/2023/texmf-config/fonts/map/kpsewhich//<br clear="none">!!/usr/local/texlive/2023/texmf-var/fonts/map/kpsewhich//<br clear="none">!!/usr/local/texlive/2023/texmf-dist/fonts/map/kpsewhich//<br clear="none">/var/root/Library/texlive/2023/texmf-config/fonts/map/pdftex//<br clear="none">/var/root/Library/texlive/2023/texmf-var/fonts/map/pdftex//<br clear="none">/var/root/Library/texmf/fonts/map/pdftex//<br clear="none">!!/usr/local/texlive/texmf-local/fonts/map/pdftex//<br clear="none">!!/usr/local/texlive/2023/texmf-config/fonts/map/pdftex//<br clear="none">!!/usr/local/texlive/2023/texmf-var/fonts/map/pdftex//<br clear="none">!!/usr/local/texlive/2023/texmf-dist/fonts/map/pdftex//<br clear="none">/var/root/Library/texlive/2023/texmf-config/fonts/map/dvips//<br clear="none">/var/root/Library/texlive/2023/texmf-var/fonts/map/dvips//<br clear="none">/var/root/Library/texmf/fonts/map/dvips//<br clear="none">!!/usr/local/texlive/texmf-local/fonts/map/dvips//<br clear="none">!!/usr/local/texlive/2023/texmf-config/fonts/map/dvips//<br clear="none">!!/usr/local/texlive/2023/texmf-var/fonts/map/dvips//<br clear="none">!!/usr/local/texlive/2023/texmf-dist/fonts/map/dvips//<br clear="none">/var/root/Library/texlive/2023/texmf-config/fonts/map///<br clear="none">/var/root/Library/texlive/2023/texmf-var/fonts/map///<br clear="none">/var/root/Library/texmf/fonts/map///<br clear="none">!!/usr/local/texlive/texmf-local/fonts/map///<br clear="none">!!/usr/local/texlive/2023/texmf-config/fonts/map///<br clear="none">!!/usr/local/texlive/2023/texmf-var/fonts/map///<br clear="none">!!/usr/local/texlive/2023/texmf-dist/fonts/map///<br clear="none"><br clear="none">That's where map files are looked for when running "sudo updmap-sys" (updmap-sys adds -H to sudo, implying that HOME is set to /var/root when the script is run). /var/root comes before /usr/local/texlive, so when the searched file is found in /var/root, the search stops there.<br clear="none"><br clear="none">> 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.<br clear="none"><br clear="none">Here you got me really scared. I don't know what you mean exactly by "create a root user". If you mean by this "make the root user active", so that you can log in as "root" or "System Administrator", following the procedure described by Apple at<br clear="none"><br clear="none"><a shape="rect" href="https://support.apple.com/en-us/HT204012" target="_blank">https://support.apple.com/en-us/HT204012</a><br clear="none"><br clear="none">then I'd rather advise: DON'T. EVER.<br clear="none"><br clear="none">Never ever activate the root user. Apple warns of the risks. If you do something wrong when logged in as root, you can irrevocably damage you file system so you have to erase your disk and start over from scratch. I'm no specialist, but possibly you can even brick your Mac doing that.<br clear="none"><br clear="none">Above everything: it's really unnecessary. sudo is available in all administrator accounts, so you can run any given task as root in Terminal, you just have to prefix the command with sudo.<div class="yqt1992696848" id="yqtfd03765"><br clear="none"><br clear="none">Bruno<br clear="none"><br clear="none"></div></div></div>
</div>
</div></body></html>