[Tex/LaTex] How to install MathTime Pro 2 fonts on MikTeX

fontsinstallingmiktexmtprotexmf

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:

  1. 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
  2. Second step: Running initexmf --edit-config-file updmap and adding the lines "# MathTimePro II" and "Map mtpro2.map" to the file.
  3. 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"

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.

  1. Created C:\Local TeX Files
  2. Put zipped fonts distribution in temporary directory and unzipped there
  3. C:\Program Files (x86)\MiKTeX 2.9\miktex\bin opened there mo.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.
  4. Move the contents of the texmf folder to your own root directory (C:\Local TeX Files)
  5. From a command line run

    initexmf --edit-config-file updmap
    
  6. Empty file opened in notepad

  7. Add the following two lines to the file
    • # MathTimePro II
    • Map mtpro2.map
  8. Save and exit
  9. Do not change cmd directory. From a command line run (this took a long time)

    updmap
    
  10. refresh FNDB (user). update formats

  11. do the following two commands on two different lines from command line
    • initexmf --mkmaps
    • updmap
  12. refresh FNDB (user). update formats