# [OS X TeX] MathTimes-Textures to Mac OS X?

Fri Aug 9 14:24:39 EDT 2002


Themis,

As I have just done exactly this set of tasks, I can add a few more
details to Bruno's excellent instructions:

>Le jeudi 8 août 2002, à 11:30 , Themis Matsoukas a écrit :
>
>>I have recently switched from Textures (I can't stand Classic) to
>>TeXShop. I have the MathTimes fonts for Textures. Is there a way to
>>convert these fonts for use in OS X?  If so, how do I do that? If
>>not, how do I get MathTimes for OS X?
>
>Step 1: Convert the fonts to PFB format
>
>- Get Tom Kiffe's CMacTeX_OSX from <http://www.kiffe.com/tex/carbon.html>.
>
>- Open the script "lwfn2pfb script txt" and save it as an application.

You will open the file in Script Editor (Applications/AppleScript/ in OS X).
You may have to "check syntax" before saving the script (you may be
asked to locate the application t1utils, which is in the binaries
folder of the CMacTeX folder hierarchy.

>- Drop your OS 9 font files MTEX, MTSY and RMTMI onto the application.
>
>- Move the generated files mtex.pfb, mtsy.pfb and rmtmi.pfb to
>/Library/teTeX/share/texmf.local/fonts/type1/yandy/mathtime.

You will need to make sure that you have renamed your pfb font files
with lower case names, as shown above. The AppleScript doesn't do
this.

>
>Step 2: Get support files for this MathTime Basic font set
>
>- teTeX/TeXShop is set up to use MathTime Complete fonts = MathTime
>Basic + MathTime Plus. Unfortunately, Blue Sky Research ships only
>the MathTime Basic fonts for Textures. Thus you have to recreate
>teTeX support files for MathTime Basic fonts only; otherwise you
>will get many error messages about missing font files.

If you have also purchased the MathTimes Plus set of fonts from Y&Y
(highly recommended), then skip the rest of this step.

>
><ftp://ftp.tex.ac.uk/tex-
>archive/macros/latex/contrib/supported/psnfssx/mathtime>.
>
>- Open mathtime.ins in TeXShop and uncomment the line:
>
>%\def\mtplus{}
>
>then LaTeX it.
>
>- Move the generated files to
>/Library/teTeX/share/texmf.local/tex/latex/mathtime:
>
>mathpi.sty
>mathtime.sty
>my1mtt.fd
>my2mtt.fd
>my3mtt.fd
>omslby.fd
>umh2.fd
>umh2scr.fd
>umh6.fd
>umtms.fd
>
>- You may want to keep documentation files in
>/Library/teTeX/share/texmf.local/doc/latex/mathtime:
>
>mathtime.dtx
>mathtime.txt
>
>(the doc file is mathtime.dtx, just LaTeX it).
>
>Step 3: Tell teTeX the files are there

The current (or all recent) teTeX distributions for the OS X require
a little tweaking to get Lucida and MathTime fonts to work. For some
people, the fonts work as is. As I just updated my TeXShop and teTeX
installation and then added complete sets of Lucida and MathTime
fonts, I needed to do the following steps (for MathTimes only ---
Lucida requires less work).

So, you will need to let dvips and pdftex know that you are using the
MathTime fonts. There may be a better way than editing configuration
files, such as using 'updmap' or 'texconfig' directly, but I couldn't
figure this out, even after I had read the teTeX manual (which is
dated 1999).

Following Bruno's suggestion, I found a solution that does work. You
will need to edit one of the updmap.cfg files. If you are using the
hierarchy suggested by Bruno, you will want to edit this file:

/Library/teTeX/share/texmf.local/web2c/updmap.cfg

It is likely that it may not exist yet, so you'll probably have to copy it from

/usr/local/teTeX/share/texmf.local/web2c/

(Note that the /Library/teTeX/share/texmf.local/ and
/usr/local/teTeX/share/texmf.local/ paths point to the same place.)

Once you've copied the updmap.cfg file into the
.../texmf.local/web2c/ directory, you'll need to add a few lines to
the end of the file. The map files releated to the MathTime fonts,
among others, are located in
/usr/local/teTeX/share/texmf/dvips/config/:

-rw-r--r--    1 1340  100      213 Feb  4  2002 mathpi.map
-rw-r--r--    1 1340  100      202 Jun 28  1999 mathpple-ext.map
-rw-r--r--    1 1340  100      299 Nov  3  2001 mt-belleek.map
-rw-r--r--    1 1340  100      535 Jan 30  2000 mt-plus.map
-rw-r--r--    1 1340  100      421 Jan 30  2000 mt-yy.map
-rw-r--r--    1 root  admin    640 Jun 28  1999 mtsupp-ext-urw-kb.map
-rw-r--r--    1 root  admin    647 Jun 28  1999 mtsupp-ext-urw-urw.map
-rw-r--r--    1 root  admin   2164 Jun 28  1999 mtsupp-std-urw-kb.map
-rw-r--r--    1 root  admin   2209 Jun 28  1999 mtsupp-std-urw-urw.map

For support of the basic set of MathTime fonts, you'll want to add
the following to the end of the updmap.cfg file (in the texmf.local
hierarchy):

Map mt-yy.map

If you have also purchased the MathTimes Plus set, as I have (being a
super-good hedonist ;-)  ), then add this line too:

Map mt-plus.map

You'll notice that there are other map files listed that define how
fonts are used. For example, by default, the URW versions of Times,
Helvetica, and Courier are used rather than the Adobe versions (which
are not free, though available to owners of ATM Deluxe, Acrobat,
etc.).

Now, you'll want to execute 'sudo updmap' in the Terminal (UNIX
shell). texhash is called as part of the execution of updmap, so the
next step is not needed.

>- Launch Terminal and enter "sudo texhash".
>
>Step 4: For the hedonist

Also, this will give you access to bold italic math fonts, which are
now prescribed for use as vector and matrix symbols for math
typesetting as dictated by the ISO specifications. See page 142 of

>- In case you're interested by more sophisticated features (like
>bold math italic, upright math, heavy math, upright Greek), you can
>purchase MathTime Plus fonts directly from Y&Y at
><http://www.yandy.com/mathtime.htm> (I haven't, someday I will). Ask
>them for the fonts in PFB format, not Mac format (unless you want to
>be able to use the fonts with Textures; then you'll have to convert
>them again to PFB, as before).
>
>- If you do that, then you can delete all the files and folders
>created in Step 2 above.

updmap.cfg file and run updmap, as described in Step 2.

>
>That's it, I think.
>
>Bruno Voisin

Almost.

Step 5: For the super picky hedonist

Even with the complete MathTimes and MathTime Plus set of fonts, you
are still missing the math script, the fraktur lettering, and
true/real small caps. To me, I can see differences in the letter
weights between the virtual font generated small caps and real ones.
The former's capitals and small caps don't match all that well (it's
pretty easy to see). To me, nothing is worse than poorly "faked"
small cap lettering.

So, to get true small caps and the other missing letters, you'll need
to buy the Times Small Caps and OsF (oldstyle figures) fonts, along
with the Mathematical Pi family of fonts from Adobe.

Changes will be needed to the updmap.cfg file, as well as to some
LaTeX font support files. You will want to also switch from URW to
Adobe versions of Times, Helvetica, and Courier, for the best visual
compatibility.

I am in the process of adding the Times small caps and Mathematical
Pi fonts to my teTeX installation. After I get things working, I will
report back to the list. I would appreciate any assistance, as well.

Well, this is everything I can think of, for now. Let us know how
things work out. Much thanks to Bruno!

Best regards,

Dave

-----------------------------------------------------------------
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------