I'm not sure if this BB will bugger-up the format, and I don't see a button for file attachments, so please download it from:
http://www.causalproductions.com/JOBS/M ... nstall.txt
I will now try to insert it here, so let's see what happens!
Please feel free to improve it.
Code: Select all
Installation notes for MTPRO2 fonts on Y&Y-tex systems DRAFT 1 date 20060315 by George Vokalek, email@example.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 file to preserve the directory structure. You should unpack them in a temporary directory. eg: mkdir c:\junk pkzipc -ext -dir MTP2FONTS.ZIP c:\junk under c:\junk 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:\junk\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:\junk\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:\junk\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:\junk\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) ----------------- STEP 8: test I prepared a temporary test directory and copied the test document: mkdir c:\junk\test copy c:\junk\texmf\doc\fonts\mtpro2\test_latex.tex c:\junk\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.