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
- I've updated my TexLive packages from ftp://tug.org/historic/systems/texlive/2013/tlnet-final from TeX Live Manager
- I've downloaded newtxtt.zip from http://www.ctan.org/tex-archive/fonts/newtxtt and unpacked to C:\texlive\texmf-local\fonts
- I've copied C:\texlive\texmf-local\fonts\newtxtt\tex to C:\texlive\texmf-local\tex\latex\local
- I've C:\texlive\texmf-local\fonts\newtxtt\tfm to C:\texlive\texmf-local\fonts
- Used
mktexlsr
- Checked
kpsewhich newtxtt.sty
- 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:
Disable the map file:
updmap-sys --disable newtxtt.map
Remove all traces of the packages left over from earlier manual installation attempts.
Place the archive in the root of
TEXMFLOCAL
. If you are not sure where this is, get the value usingkpsewhich --var=TEXMFLOCAL
Unzip the archive.
Update the file name database:
mktexlsr $(kpsewhich --var=TEXMFLOCAL)
Enable the map file:
updmap-sys --enable Map=newtxtt.map