Is there any way in TeXlive to find the correct package which contains the missing file? I have installed a minimal scheme (without recommended/additional fonts) and now I get this error:

The command name is c:\texlive\2015\bin\win32\mktexmf
name = ptmr7t, rootname = ptmr7t, pointsize =
mktexmf: empty or non-existent rootfile!
Cannot find ptmr7t.mf.
kpathsea: Appending font creation commands to missfont.log.

! Font OT1/ptm/m/n/10=ptmr7t at 10.0pt not loadable: Metric (TFM) file not foun
<to be read again>
l.373 \normalfont

Installed packages are shown below.

enter image description here

  • The Adobe Times font is missing (or the URW clone thereof), says your .log file. As I don't heva TeX Live, I'm unsure, but they should be in Recommended fonts or Additioanl fonts – Bernard Oct 23 '15 at 10:05
  • Yeah I can try that. But was looking for a general solution. In linux, yum and apt provide some utilities for finding the correct package for a file – mahmood Oct 23 '15 at 10:28
  • Yes, and with MiKTeX, which I use, you can see the list of files in a given MiKTeX package. – Bernard Oct 23 '15 at 10:34
  • Finding what files are in what packages is less useful than the reverse. – Dan Oct 23 '15 at 18:57
  • How do you get that nifty window with all the packages listed? I have just installed TeXlive and have not figured out what CLI command opens this window. – Hedley Finger Sep 28 '20 at 12:21

Since you made a live install, you should have texlive tools working on your console (however I had troubles with them on windows). To search packages upon keyword, try

tlmgr search --global --all beamer

To find a file flagged as missing try

tlmgr search --global --file ptmr7t.mf.

Without --global, texlive will search only your local database, where the file is obviously missing. Once the package found, you can install it

tlmgr install thispackage

If you cannot do it with the console, there is also a GUI interface. I am not familiar with it, but it is described in texlive manager (tlmgr) doc.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.