I have been trying for a long time now to install the MathTime Professional II (mtpro2) fonts on my system. (I am running MikTeX 2.9 under Windows 7, but what likely matters is "recent MikTeX, under Windows", which is general enough to be of interest to many people.) I've tried various things:
- First step:
- Merging the "texmf" directory structure into my MikTeX root directory ("C:\Program Files\MiKTeX 2.9") or
- registering a new root directory ("C:\Local TeX Files") and
- putting
mtpro2
's "texmf" directory directly in there or - putting the subdirectories of
mtpro2
's "texmf" directory in there
- putting
- Second step: Running
initexmf --edit-config-file updmap
and adding the lines "# MathTimePro II" and "Map mtpro2.map" to the file. - Third step: Running any and all of the following commands in various orders and combinations:
- From the command prompt (always in Administrator mode (right-click -> "Run as administrator")):
updmap
,texhash
,mktexlsr
,initexmf --admin -u
- Accessing the MikTeX "Options" dialogue (via running MikTeX 2.9 -> Settings as Administrator) and then choosing both "Refresh FNDB" and "Update Formats"
- From the command prompt (always in Administrator mode (right-click -> "Run as administrator")):
None of this seems to work. Right now the error messages I get when trying to compile the enclosed sample file "MTPro2 LaTeX test.tex" is the following:
!pdfTeX error: pdflatex.exe (file mt2exf): Font mt2exf at 2400 not found
==> Fatal error occurred, no output PDF file produced!
I have no clue what's happening. Also I hope I haven't cluttered the hash/database files with incorrect information in this process.
How do I install the MathTime Professional II fonts under MikTeX?
Best Answer
Update: See now the more general tutorial Manual font installation.
I did the following and it worked for me. Some steps may not be necessary or have been done redundantly. I believe I did everything in "user" mode.
C:\Local TeX Files
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin
opened theremo.exe
. changed default format to letter and added to roots C:\Local TeX Files. needed to do show MiKTeX maintained root directories so it is in the right priority among directories. System said it needed to rebuild format files and did so.texmf
folder to your own root directory (C:\Local TeX Files
)From a command line run
Empty file opened in notepad
# MathTimePro II
Map mtpro2.map
Do not change cmd directory. From a command line run (this took a long time)
refresh FNDB (user). update formats
initexmf --mkmaps
updmap