How do I Install MathTimePro 2 Fonts in Y&Y TeX?

Note: These are preliminary installation instructions for use by beta testers. Please leave comments and corrections on the PCTeX forum (http://forums.pctex.com/index.php).

Overview / Quick Start

by Murray Eisenberg (murray at math dot umass dot edu)

  1. Extract the zipped archive mtp2fonts.zip.tpm to a temporary location, keeping the folder names in the archive. From these extracted files...
  2. Move the Type 1 pfb files and the associated pfm files to the usual places you keep such files.
  3. If you're using Adobe Type Manager, then add the new fonts in ATM and activate them.
  4. Move the tfm files to a directory within the yandy tree where Y&Y TeX expects to find tmf's.
  5. Move the extracted files from texmf\tex\latex\mtpro2 to a directory in the yandy tree where Y&Y TeX searches for LaTeX style files and other LaTeX input.
  6. Move the file mtp2.tex from texmf\tex\plain\mtpro2 to a directory in the yandy tree where Y&Y searches for plain TeX input.
  7. Put the remaining documentation files and template files wherever you want.


Now test the installation on the LaTeX file Test_latex.tex. To test the installation with a plain TeX file, you'll need to put

 \input mtp2.tex

into that file.

You may want to use the templates "LaTeX Article MTPRo2.tex" for LaTeX and "Plain MTPro2.tex" for plain TeX, respectively.


Detailed Installation notes

by George Vokalek (george.vokalek at causalproductions dot com)

These notes were written based on the installation of the MathTimes Pro II fonts on a PC so that they can be used by Y&Y Tex.

The installation is mostly done using the command line. I assume that you already have a working Y&Y TeX installation.

The platform used for my installation is as follows:

       Y&Y TeX 2.2.3 2001 May 22       (yandytex.exe)
       DVIWindo (32) Previewer 2.2.6   (dviwindo.exe)
       DVIPSONE 2.2.6  2001 Jun 23     (dvipsone.exe)
       Adobe Type Manager Light 4.1
       Platform: Win2k SP4 on P4 with 512MB

STEP 1: unpack the MTP2FONTS.ZIP.TPM file to preserve the directory structure. You should unpack them in a temporary directory.

       eg:
               mkdir c:\temp
               pkzipc -ext -dir MTP2FONTS.ZIP.TPM c:\temp
       under c:\temp you will now see the following directories:
               templates
               texmf\doc\fonts\mtpro2
               texmf\dvips\mtpro2
               texmf\fonts\map\dvips\mtpro2
               texmf\fonts\pfm\pctex\mtpro2
               texmf\fonts\tfm\pctex\mtpro2
               texmf\fonts\type1\pctex\mtpro2
               texmf\source\latex\mtpro2
               texmf\tex\latex\mtpro2
               texmf\tex\plain\mtpro2
               texmf\tpm\package

STEP 2: run the Y&Y dvi previewer, called DVIWindo.

       Using DVIWindo, you will check the paths in your yytex
       environment variables, to work out where font files must be copied.

STEP 3: install TFM files.

       the TFM files are the tex font metric files which are used
       when you run the yandytex.exe program.
       select DVIWindo menu item PREFERENCES->ENVIRONMENT->TEXFONTS
       You will see a dialog which shows your current paths for TFM
       files.
       mine says "C:\BIN\YANDYTEX\FONTS\TFM\NONTEXT\;C:\BIN\YANDYTEX\FONTS\TFM\TEXNANSI\"
       The 2nd item in the string is path under which we want to install
       the TFM files.
       eg on my PC it is "C:\BIN\YANDYTEX\FONTS\TFM\TEXNANSI\".
       You need to use this path in the following commands.
       I typed:
               mkdir <texfonts>\MTPRO2
               copy c:\temp\texmf\fonts\tfm\pctex\mtpro2\*.tfm <texfonts>\MTPRO2\
       (replace <texfonts> with the path you identified above.)

STEP 4: install PFB files.

       (Note: I use ADOBE TYPE MANAGER to manage my type1 fonts)
       the PFB files are the type1 font binary data files.  These files
       are used by dvipsone.exe and dviwindo.exe.  Note that
       dvipsone.exe does NOT need the *.pfm files (see next step)
       but dviwindo.exe does need the *.pfm files.
       select DVIWindo menu item PREFERENCES->ENVIRONMENT->PSFONTS
       You will see a dialog which shows your current paths for TFM
       files.
       mine says "C:\PSFONTS"
       You need to use this path in the following command.
       I typed:
               copy c:\temp\texmf\fonts\type1\pctex\mtpro2\*.pfb <psfonts>\
       (replace <psfonts> with the path you identified above.)

STEP 5: install PFM files.

       These files are the adobe font metric files, and along with
       the *.pfb files are essential if you want to display the MTPRO2
       fonts in windows applications such as dviwindo.exe
       On systems using Adobe Type Manager, the .pfm files are kept
       in subdirectory C:\PSFONTS\PFM. 
       You need to use this path in the following commands.
       You may need to adjust the path name depending on your findings
       in STEP 4 above.
       I typed:
               copy c:\temp\texmf\fonts\pfm\pctex\mtpro2\* <psfonts>\pfm\
       (replace <psfonts> with the path you identified in STEP 4.)

STEP 6: make the fonts known to windows

       Installing the .pfb (and .pfm) files in c:\psfonts is sufficient
       if you only want to print your documents using dvipsone.exe, but
       if you want to preview them onscreen then you need to make the
       fonts known to windows.
       I use Adobe Type Manager Light which can be freely downloaded from the
       Adobe WWW Site at:
               http://www.adobe.com/support/downloads/product.jsp?product=15&platform=Windows
       Windows 2000 apparently can use Type1 fonts without Adobe Type Manager,
       but I have not tried it.
       Open the ATM application and point it at directory
               C:\PSFONTS\PFM
       or your equivalent path.  Highlight all MT2* files and hit the ADD
       button.  The MTPRO2 fonts should now be visible to Windows.
       The MTPRO2 fonts should also now be available in all applications,
       such as wordprocessors and DVIWindo.  Close DVIWindo.exe and run it again,
       to ensure it is aware of all fonts on the system.

STEP 7: install style files

       select DVIWindo menu item PREFERENCES->ENVIRONMENT->LATEX
       You will see a dialog which shows your current paths for tex style
       files.
       mine says
       "C:\BIN\YANDYTEX\TEXINPUT;C:\BIN\YANDYTEX\TEX\BASE\\;C:\BIN\YANDYTEX\TEX\LATEX\\"
       I chose to place the style files in a subdirectory of the last entry in
       the above path list.  Various latex styles are stored in subdirectories
       under the path:
               "C:\BIN\YANDYTEX\TEX\LATEX\CONTRIB\SUPPORTED"
       so I made a new subdirectory for MTPRO2 as follows:
               mkdir <latex>\contrib\supported\mtpro2
               copy c:\temp\texmf\tex\latex\mtpro2\* <latex>\contrib\supported\mtpro2\
       (replace <latex> with your path equivalent to my "c:\bin\yandytex\tex\latex",
       as displayed in the DVIWindo.exe dialog, explained above)

[See also additional notes below*.]


STEP 8: test

       I prepared a temporary test directory and copied the test document:
               mkdir c:\temp\test
               copy c:\temp\texmf\doc\fonts\mtpro2\test_latex.tex c:\temp\test\
       then I latex'd the file:
               latex2e test_latex
       (note that on my PC I have aliased the command latex2e to:
               latex2e=yandytex.exe +latex -v -L                       )
       If all goes well, you should see the usual latex status text and
       a dvi file will be created.  Check the status text for any warnings
       about missing fonts.  If there are such warnings, then you have not
       installed the .tfm files correctly.  Check your work in STEP 3.
       You should be able to preview the test_latex.dvi file as follows:
               dviwindo test_latex.dvi
       If the characters display correctly, good.
       If the characters display as garbage, then there is a problem with
       your .pfb/.pfm installation.  On my PC the characters in a .dvi file
       are corrupt when I forget to tell Adobe Type Manager about new fonts.
       Check your work in Step 4 and 5 and 6.
       You can hit CTRL-K in dviwindo to display a dialog which shows the
       names of the fonts in your document.  When you click on a font in
       the dialog, all characters of that font in the document will be
       highlighted.  Useful.
       Next you can generate a postscript file and test it either by
       printing on your postscript printer, or by distilling it to PDF.
               dvipsone -l=letter test_latex
       should generate a file test_latex.ps without warnings.
       If you see warnings about missing fonts, then check your work
       in Step 4.  Note that dvipsone.exe does not use the PFM files
       so Step 5 is not critical to dvipsone.exe.
       If you see warnings such as "** No /.notdef line*" then you
       need to get an updated version of MTPRO2 files.
       If you have successfully reached this point without errors
       then your MTPRO2 fonts have been correctly installed. 


* Additional notes by Murray Eisenberg:

  (a) Move the documentation files from
      c:\temp\texmf\doc\fonts\mtpro2
  wherever you wish.
  (b) Move the LaTeX source files from
      c:\temp\texmf\source\latex\mtpro2
  someplace, e.g.:
      d:\yandy\TEX\LATEX\mtpro2
  (c) Move the template files from
      c:\temp\templates
  to some place convenient. 

Note: Before using the template "LaTeX Article MTPro2.tex", you should check that you are using the current versions of the packages other than mtpro2 that are referenced there. (For example, the helvet package supplied with Y&Y TeX does not support the "scaled" option shown in "LaTeX Article MTPro2.tex", although later versions do.)


Keywords: mtpro2, install, Y&Y, nonpctex