I've written a script that repeatedly runs lualatex file.tex
to install missing packages, but I'm having a hard time doing the same with missing fonts. When an error message like
! Font \OT1/ppl/m/n/9=pplr7t at 9pt not loadable: metric data not found or bad.
comes up, I would like to determine the package containing ppl
. Is there a way to do this algorithmically?
(For example, when there were missing x.sty
or x.cls
files, I was able to run tlmgr search --file x.sty
and parse out the package it was in. If there is a ppl.some_extension
file that every font has and that tlmgr could search for, that would be perfect.)
The script can be found here.
Best Answer
Well your message says that pplr7t.tfm is missing, so if tlmgr is able to find single files in packages
tlmgr search --file pplr7t.tfm
should work (I have miktex so I can't know).