I recently installed TeX Live on OpenSuse 13.1 and all seems OK except that it installs stuff in /usr/share/texmf rather than /usr/local/share/texmf. However I now want to install the Mathtime Pro 2 (Lite) fonts and have downloaded the Lite package from PCTEX. I am using an install shell script written by James Fennell of NYU. James's script defaults to using /usr/local/share/texmf which is what kpathsea delivers for TEXMF on my SuSe system. The script then screws up because the TEX Live installation on my SuSe has set itself up in /usr/share/texmf. So I hard-coded TEXMF to be /usr/source/texmf and the re-install seems to be OK. In particular the mtpro2 directory gets created at /usr/share/texmf/tex/latex/mtpro2 , root owned and with mode 755. This directory contains mtpro2.sty and a few .fd files all root owned and with permissions set at 755 However, a final LATEX test example in the script falls over spectacularly when executing
\usepackage[lite,subscriptcorrection,slantedGreek,nofontinfo]{mtpro2}
followed a little later by:
! LaTeX Error: File `mtpro2.sty' not found.
Elsewhere in the install log we see:
-----------------------[ OUTPUT OF: updmap-sys --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.
--------------------------------------------------------------------------------------$
Map mtpro2 present in updcfg file.
So what seems to be happening is that a Map command for mtpro2 is indeed present in the updcfg file but for some reason it's not getting executed properly and hence LATEX can't find mtpro2.sty when the test is run.
All help gratefully received.
texlivepackage provided by OpenSuSE? They are outdated by far most times. – Apr 01 '16 at 09:50TEXMFLOCALfrom e.g.kpsewhich -var TEXMFLOCALand install the files there. Then runmktexlsrfollowed by (probably)updmap-sys --enable <map file name>. It is better to do it another way on recent installations but OpenSuSE's is probably rather out-dated and this method should work. – cfr Apr 01 '16 at 10:54