MacTeX 2020 won't rebuild font maps info

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

MacTeX 2020 won't rebuild font maps info

Murray Eisenberg
Just installed latest MacTeX 2020 pre-test April 5 (under macOS 10.15.4), used TeXLive Utility to select it as the default distribution.

When I LaTeX a file calling for MathTime Pro 2 fonts (which I have in m ~/Library/texmf tree, and which work just fine under MacTeX 2019), I get error:

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+330/600 --dpi 330 mt2mif
gsftopk: fatal: map file 'psfonts.map
1 not found.
mktexpk: don't know how to create bitmap font for mt2mif.
mktexpk: perhaps mt2mif is missing from the map file.

Evidently, since there have never yet been any packages to update in TeXLive 2020 (in fact, a valid server is not found), the usual automatic process of running the appropriate updmap has not been effected.

This is a “Catch-22” about which I complained last year, when TL 2019 was first released.

How can I continue to use TL 2020 and get those font maps updated?

(As usual, I’m totally confused by the updmap for user vs. sys, and afraid of totally messing things up by running them manually. There has been so much information about incorporating a user’s own font tree posted over the years, that it’s hard to locate the currently correct information.)
---
Murray Eisenberg [hidden email]
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334



----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
Reply | Threaded
Open this post in threaded view
|

Re: MacTeX 2020 won't rebuild font maps info

Herbert Schulz


> On Apr 6, 2020, at 9:46 AM, Murray Eisenberg <[hidden email]> wrote:
>
> Just installed latest MacTeX 2020 pre-test April 5 (under macOS 10.15.4), used TeXLive Utility to select it as the default distribution.
>
> When I LaTeX a file calling for MathTime Pro 2 fonts (which I have in m ~/Library/texmf tree, and which work just fine under MacTeX 2019), I get error:
>
> kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+330/600 --dpi 330 mt2mif
> gsftopk: fatal: map file 'psfonts.map
> 1 not found.
> mktexpk: don't know how to create bitmap font for mt2mif.
> mktexpk: perhaps mt2mif is missing from the map file.
>
> Evidently, since there have never yet been any packages to update in TeXLive 2020 (in fact, a valid server is not found), the usual automatic process of running the appropriate updmap has not been effected.
>
> This is a “Catch-22” about which I complained last year, when TL 2019 was first released.
>
> How can I continue to use TL 2020 and get those font maps updated?
>
> (As usual, I’m totally confused by the updmap for user vs. sys, and afraid of totally messing things up by running them manually. There has been so much information about incorporating a user’s own font tree posted over the years, that it’s hard to locate the currently correct information.)
> ---
> Murray Eisenberg [hidden email]
> 503 King Farm Blvd #101 Home (240)-246-7240
> Rockville, MD 20850-6667 Mobile (413)-427-5334

Howdy,

Since you have the fonts in your personal tree (starting at ~/Library/texmf) you must use the user version of updmap. Do you have an updmap.cfg in ~/Library/texmf/web2c? If so simply running `updmap-user` (NO `sudo`) will add your personal fonts to your personal map file which will be located in ~/Library/texlive/2020/texmf-var/web2c.

Right now MacTeX-2020/TeX Live 2020 have not been released so using TeX Live Utility (or tlmgr directly) to update will not work. NOTE: that personal map will NOT be updated automatically when there are updates to the TeX system fonts; once TLU/tlmgr is back up make sure you have `Automatically enable fonts in my home directory' checked in TeX Live Utility->Preferences.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
Reply | Threaded
Open this post in threaded view
|

Re: MacTeX 2020 won't rebuild font maps info

Murray Eisenberg

On 6 Apr2020, at 11:01 AM, Herbert Schulz <[hidden email]> wrote:

On Apr 6, 2020, at 9:46 AM, Murray Eisenberg <[hidden email]> wrote:

Just installed latest MacTeX 2020 pre-test April 5 (under macOS 10.15.4), used TeXLive Utility to select it as the default distribution.

When I LaTeX a file calling for MathTime Pro 2 fonts (which I have in m ~/Library/texmf tree, and which work just fine under MacTeX 2019), I get error:

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+330/600 --dpi 330 mt2mif
gsftopk: fatal: map file 'psfonts.map
1 not found.
mktexpk: don't know how to create bitmap font for mt2mif.
mktexpk: perhaps mt2mif is missing from the map file.

Evidently, since there have never yet been any packages to update in TeXLive 2020 (in fact, a valid server is not found), the usual automatic process of running the appropriate updmap has not been effected.

This is a “Catch-22” about which I complained last year, when TL 2019 was first released.

How can I continue to use TL 2020 and get those font maps updated?

(As usual, I’m totally confused by the updmap for user vs. sys, and afraid of totally messing things up by running them manually. There has been so much information about incorporating a user’s own font tree posted over the years, that it’s hard to locate the currently correct information.)

Since you have the fonts in your personal tree (starting at ~/Library/texmf) you must use the user version of updmap. Do you have an updmap.cfg in ~/Library/texmf/web2c? If so simply running `updmap-user` (NO `sudo`) will add your personal fonts to your personal map file which will be located in ~/Library/texlive/2020/texmf-var/web2c.

Right now MacTeX-2020/TeX Live 2020 have not been released so using TeX Live Utility (or tlmgr directly) to update will not work. NOTE: that personal map will NOT be updated automatically when there are updates to the TeX system fonts; once TLU/tlmgr is back up make sure you have `Automatically enable fonts in my home directory' checked in TeX Live Utility->Preferences.

Herb Schulz
(herbs at wideopenwest dot com)

Yes, I have ~/Library/texmf/web2c/updmap.cfg.

OK, first I checked:

    [~]$ updmap-user --version
updmap version r51338 (2019-06-07 18:36:59 +0200)

Next, I used TLU to change the default distro to TL 2020 and quit TLU.

That seems to have done the proper thing, because when I navigate in Finder to /Library/TeX/texbin, the link takes me to: 
/usr/local/texlive/2020/bin/x86_64-darwin

However, now _still_:

   [~]$ updmap-user --version
updmap version r51338 (2019-06-07 18:36:59 +0200)

But, when I get into (Cmd-I) on /usr/local/texlive/2020/bin/x86_64-darwin/updmap-user
However, it shows: 

# $Id: updmap-user.sh 51911 2019-08-19 20:59:22Z

So won't executing at the command line just update the 2019 font info rather than the 2020 font info?

Or at the command-line should I explicitly invoke the new script:

/usr/local/texlive/2020/texmf-dist/scripts/texlive/updmap-user.sh

---
Murray Eisenberg [hidden email]
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334



----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
Reply | Threaded
Open this post in threaded view
|

Re: MacTeX 2020 won't rebuild font maps info

Murray Eisenberg

> On 6 Apr2020, at 12:19 PM, Herbert Schulz <[hidden email]> wrote:
>
>
>> On Apr 6, 2020, at 10:23 AM, Murray Eisenberg <[hidden email]> wrote:
>>
>> Yes, I have ~/Library/texmf/web2c/updmap.cfg.
>>
>> OK, first I checked:
>>
>>    [~]$ updmap-user --version
>> updmap version r51338 (2019-06-07 18:36:59 +0200)
>>
>> Next, I used TLU to change the default distro to TL 2020 and quit TLU.
>>
>> That seems to have done the proper thing, because when I navigate in Finder to /Library/TeX/texbin, the link takes me to:
>> /usr/local/texlive/2020/bin/x86_64-darwin
>>
>> However, now _still_:
>>
>>   [~]$ updmap-user --version
>> updmap version r51338 (2019-06-07 18:36:59 +0200)
>>
>> But, when I get into (Cmd-I) on /usr/local/texlive/2020/bin/x86_64-darwin/updmap-user
>> However, it shows:
>>
>> # $Id: updmap-user.sh 51911 2019-08-19 20:59:22Z
>>
>> So won't executing at the command line just update the 2019 font info rather than the 2020 font info?
>>
>> Or at the command-line should I explicitly invoke the new script:
>>
>> /usr/local/texlive/2020/texmf-dist/scripts/texlive/updmap-user.sh
>>
>
> It appears that updmap, updmap-user and updmap-sys have not changed between 2019 and 2020 since I get the same thing as you and everything works. So simply running `updmap-user` should do the job.
>
> After running that is there a folder ~/Library/texlive/2020/texmf-var/fonts/map with sub-directories (Note: I had this path wrong before)? Those sub-directories should each have an updmap directory which contains map files.
>
> If the fonts don't work after running `updmap-user` please let me know the contents of your ~/Library/texmf/web2c/updmap.cfg file?
>
> Since TL-2020 hasn't been released yet you can't update it using TLU (or tlmgr directly). It will take about a week AFTER it's released before you will see updates.
>
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>


Running updmap-user fixed things with my local fonts for the TL2020 pre-test.

I _DO_ understand that TLU won’t update anything before official release!  And I do know about the TUL Preferences to Automatically enable fonts in my home director. But that only has effect when a package update is actually done. (I had hoped that the latter “gotcha” would be remedied in TLU, so that one does not need to do the updmap-user manually, even when no packages are updated. I’ve had the same issue before, when I would install some new fonts locally even after a new TL release but there were no package updates available yet.)
---
Murray Eisenberg [hidden email]
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex