[Tex/LaTex] Problem with installing mathtime pro 2 font

fontsinstallingmtprotexlive

Okay I know there have been posted very similar questions like these. However their solutions do not seem to work in my case.

I tried to install Mathtime Pro 2. I have texlive 2013 and Ubuntu 14.04. I first did found this topic: Help using MathTime Pro 2 fonts in Ubuntu Linux with tex-live after which it refers to Problems installing MathTime Professional 2 font on TexLive.

I tried their solutions but I still keep getting the error

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 4+0/600 --dpi 2400 mt2exf
mktexpk: don't know how to create bitmap font for mt2exf.
kpathsea: Appending font creation commands to missfont.log.
 )
!pdfTeX error: pdflatex (file mt2exf): Font mt2exf at 2400 not found
 ==> Fatal error occurred, no output PDF file produced! 

The log file from the installer provided by Problems installing MathTime Professional 2 font on TexLive can be found here: http://pastebin.com/Gk9AHuFP

I also tried with the lite version but that does not seem to work either.

I have to note that I recently also installed MinionPro font. During the install of that font I also stumbled onto problems.

I hope someone can help me with this problem.

–edit–

So I removed all my texlive installations and all files and folders. I downloaded the new texlive version, 2014, and installed it using the installer. I installed it with the following settings:

enter image description here

Now where do I need to put (merge) the texmf folder of mtpro2? /usr/local/texlive/texmf-local or /usr/local/share/texmf or ~/.texmf?

Afterwhich I need to run

sudo texhash
sudo updmap-sys --disable mt-belleek.map --nomkmap
sudo updmap-sys --disable belleek.map --nomkmap
sudo updmap-sys --disable mt-yy.map --nomkmap
sudo updmap-sys --disable mt-plus.map --nomkmap
sudo updmap-sys --enable Map mtpro2.map

and maybe vim $(kpsewhich updmap.cfg), add Map mtpro2.map and run sudo updmap-sys. Correct?

Best Answer

In this answer I assume a standard TeX Live is used, not one packaged by Debian, Fedora or similar distributions.

Extra material should be installed either in TEXMFLOCAL or TEXMFHOME. The first location is

/usr/local/texlive/texmf-local

while TEXMFHOME refers to ~/texmf (~/Library/texmf with MacTeX).

Fonts should always be installed in TEXMFLOCAL for several reasons (see the related question URW Garamond installation on OS X).

This of course requires administrator privileges.

  • Install the material by expanding the archive at the top level of /usr/local/texlive/texmf-local or by moving manually the files.

  • Run mktexlsr.

  • Open the file

    /usr/local/texlive/texmf-local/web2c/updmap.cfg
    

    (creating it if necessary) and append the line

    Map mtpro2.map
    
  • Run updmap-sys

This should make the fonts available to all users of the system.


Note. Although

updmap-sys --enable-map mtpro2.map

(with administrator privileges) instead of the last two steps above appears to work in the same way, there is a big advantage in doing as explained above: when TeX Live 2015 will be issued and installed, the file /usr/local/texlive/texmf-local/web2c/updmap.cfg will remain exactly the same and the run of updmap-sys made by the installation procedure will make the MathTime Pro fonts available in the new release without having to remember activating them manually.

Related Question