[texhax] problem with MathTime Pro 2 fonts and MikTeX

Stan texforeverything at att.net
Sat Jan 21 20:33:23 CET 2012


On Fri, 20 Jan 2012 03:02:52 -0600, Vladimir Lomov <lomov.vl at gmail.com>
wrote:

[...]
>>> In any case try the following:
>>> 1. Remove 'C:/TeX...' directory from 'Roots' (if it doesn't contain
>>> other essential TeX/LaTeX files), remove only from the LIST!, not from
>>> DISK!
>>> 2.
>>> a) Extract distribution archive to C:\Temp\mtp2 as you do eariler.
>>> b) Add directory 'C:\Temp\mtp2\texmf' to the list of 'Roots'.
>>> c) Refresh file name database (FNDB),
>>> d) add 'map' file to 'updmap.cfg': run
>>>  initexmf --edit-config-file updmap
>>>  and add line 'Map mtpro2.map' to it,
>>> e) run
>>>  initexmf --mkmaps
>>> 3. Run latex on example file. Now it should find TFM files (font  
>>> files).

[...]

> Now you have to install them correctly but afraid it could be painful.
>
> If you wish to continue you have to be careful.
>
> 1. As you have installed MT Pro 2 manually you have to manually remove  
> it.
> Accoring to print.txt (archive listing) there are two directories in  
> distribution:
>   templates/
> and
>   texmf/
> and file 'EULA*.txt'.
>
> AFAIU, you extract content of the archive into
>   C:/TeX/tex
> so there are
>   C:/TeX/tex/templates
> and
>   C:/TeX/tex/texmf
> directories.
>
> If before installation there were no such directories under 'C:/TeX/tex'  
> simply
> remove them.
>
> 2. Extract context of the archive into some temporary place, for example
> in
>   C:/Temp/mtp2
> Then copy all directories under
>   C:/Temp/mtp2/texmf
> directly into[1]
>   C:/TeX
> For example, file 'mtpro2.sty' (package 'mtpro2') must have the  
> following path:
>   C:/TeX/tex/latex/mtpro2/mtpro2.sty
> and TFM fonts must be in directory
>   C:/TeX/fonts/tfm/pctex/mtpro2/
>
> [1] May be you already notice that 'C:/TeX' has special structure, there
> are directories 'doc', 'fonts', 'tex' and etc. If not, take a look into
> directory in which MiKTeX was installed (usually 'C:/Program  
> Files/MiKTeX')
> to get idea.
>
> Now do steps c), d) and e).
>
> The only left directory is 'templates'. You can copy it to
>   C:/TeX/doc/latex/mtpro2
> (you have to create this directory of course).

This worked perfectly as far as I can see.


>> but not entirely as I thought it would.  I attached the
>> TeX file, and the log and pdf.  The \exp, \cos, and \sin are all in
>> Computer Modern, but the x and dotless i are in mtp2.  I haven't set
>> up mtp2 in a while - obviously - but I don't remember any special
>> commands needed for making stuff like \sin typeset in mtp2.  Does
>> the log file indicate why that's happening?
>
> Do you see 'testMTP2LaTeX.pdf' file from distribution? It is in
> 'texmf/doc/fonts/mtpro2'. I think you find answer on your issue.

This was just a careless mistake of mine.  (Why did I think that \rm would
redefine itself?)


Thanks greatly for all the help,



Stan


More information about the texhax mailing list