Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I installed a font locally under $HOME/texmf, and after running texhash everything seems to be in place:

> kpsewhich mtpro2.map
/home/mafp/texmf/fonts/map/dvips/mtpro2/mtpro2.map
> kpsewhich mt2exe.tfm
/home/mafp/texmf/fonts/tfm/pctex/mtpro2/mt2exe.tfm
> kpsewhich mt2exe.pfb
/home/mafp/texmf/fonts/type1/pctex/mtpro2/mt2exe.pfb

Then I ran

> updmap --enable Map=mtpro2.map
updmap is using the following updmap.cfg files (in precedence order):
  /etc/texmf/web2c/updmap.cfg
  /usr/share/texmf/web2c/updmap.cfg
updmap is using the following updmap.cfg file for writing changes:
  /etc/texmf/web2c/updmap.cfg
/etc/texmf/web2c/updmap.cfg unchanged.  Map files not recreated.
updmap: Updating ls-R files.

which sounds fishy, I guess it should use a updmap.cfg under TEXMFHOME. And indeed, translating a simple test file using the font gives

> pdflatex mtpro2test
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/TeX Live for SUSE Linux)
 restricted \write18 enabled.
entering extended mode
(./mtpro2bug.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 78 languages loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/home/mafp/texmf/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/home/mafp/texmf/tex/latex/amsmath/amstext.sty
(/home/mafp/texmf/tex/latex/amsmath/amsgen.sty))
(/home/mafp/texmf/tex/latex/amsmath/amsbsy.sty)
(/home/mafp/texmf/tex/latex/amsmath/amsopn.sty))
(/home/mafp/texmf/tex/latex/mtpro2/mtpro2.sty) (./mtpro2test.aux) [1{/usr/share/
texmf/fonts/map/pdftex/updmap/pdftex.map}] (./mtpro2test.aux)
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 2+0/600 --dpi 1200 mt2exe
mktexpk: don't know how to create bitmap font for mt2exe.
mktexpk: perhaps mt2exe is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
 )
!pdfTeX error: pdflatex (file mt2exe): Font mt2exe at 1200 not found
 ==> Fatal error occurred, no output PDF file produced!

What am I missing here?

share|improve this question
    
do you need to run updmap with superuser privileges and/or should you be running updmap-sys (again via sudo)? A separate comment: Lots of other files (e.g., amsmath.sty and its subordinated style files) also seem to live in /home/mafp/texmf/tex/latex/... rather than in the more common location /usr/local/texlive/2013/texmf-dist/tex/latex/... -- do you install most packages under $HOME/texmf? –  Mico Feb 16 at 16:29
2  
Never install fonts in TEXMFHOME unless you really don't have superuser privileges. Use TEXMFLOCAL and sudo updmap-sys. If you do this way, remember to remove the pdftex.map file created with updmap –  egreg Feb 16 at 16:57
    
@egreg OK, I will try that. Is this a technical limitation of updmap, or is there a good reason behind that? –  mafp Feb 16 at 17:50
    
@mafp When you run tlmgr or, in general, update the TeX distribution and some new font is installed (or an old one is modified), updmap-sys is called. It won't touch your pdftex.map file generated with updmap, so you have to run it periodically. –  egreg Feb 16 at 22:00
    
Just as reference: See also Problems installing MathTime Professional 2 font on TexLive –  Speravir Feb 17 at 0:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.