[Tex/LaTex] Font installation – mktexmf cannot find newtxbttsla.mf file

fontsinstalling

OS: Windows 7.

TexLive: pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/W32TeX), kpathsea version 6.1.1

I was following rules https://www.tug.org/fonts/fontinstall.html

  1. I've updated my TexLive packages from ftp://tug.org/historic/systems/texlive/2013/tlnet-final from TeX Live Manager
  2. I've downloaded newtxtt.zip from http://www.ctan.org/tex-archive/fonts/newtxtt and unpacked to C:\texlive\texmf-local\fonts
  3. I've copied C:\texlive\texmf-local\fonts\newtxtt\tex to C:\texlive\texmf-local\tex\latex\local
  4. I've C:\texlive\texmf-local\fonts\newtxtt\tfm to C:\texlive\texmf-local\fonts
  5. Used mktexlsr
  6. Checked kpsewhich newtxtt.sty
  7. Used updmap-sys --enable Map=newtxtt.map

Running pdflatex for LaTeX file I get

(\end occurred when \ifx on line 1 was incomplete){c:/texlive/2013/texmf-dist/f
onts/enc/dvips/cm-super/cm-super-t1.enc}{c:/texlive/2013/texmf-dist/fonts/enc/d
vips/tex-gyre/q-ec.enc}
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 newtxbtta

The command name is C:\texlive\2013\bin\win32\mktexpk

kpathsea: Running mktexmf newtxbtta.mf

The command name is C:\texlive\2013\bin\win32\mktexmf
name = newtxbtta, rootname = newtxbtta, pointsize =
mktexmf: empty or non-existent rootfile!
Cannot find newtxbtta.mf .
I try ps2pk --> gsftopk --> ttf2pk --> hbf2gf.
Font resources should be under a directory with the name "fonts".
Furthermore, there must be at least two directories under the directory "fonts".

Invalid path name.
Cannot get destination directory name.
kpathsea: Appending font creation commands to missfont.log.

!pdfTeX error: pdflatex.exe (file newtxbtta): Font newtxbtta at 657 not found
 ==> Fatal error occurred, no output PDF file produced!

I tried copying newtxtt subdirectories directly to fonts directory (in texmf-local). Same error.

Best Answer

It would probably be best to think about updating to the latest version of TeX Live. However, if you are not currently able to upgrade, you can follow these steps to install the fonts:

  1. Disable the map file:

    updmap-sys --disable newtxtt.map

  2. Remove all traces of the packages left over from earlier manual installation attempts.

  3. Download the TDS archive as suggested by Bernard.
  4. Place the archive in the root of TEXMFLOCAL. If you are not sure where this is, get the value using

    kpsewhich --var=TEXMFLOCAL

  5. Unzip the archive.

  6. Update the file name database:

    mktexlsr $(kpsewhich --var=TEXMFLOCAL)

  7. Enable the map file:

    updmap-sys --enable Map=newtxtt.map