Monday, August 13, 2012

IEEE LaTex Class Issue - Tune Fonts

So, I ran into an issue trying to get the IEEE LaTex class to work with a conference paper. Apparently some issue with tune fonts:

! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input nullfont

Transcript written on mfput.log.
grep: nullfont.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input nullfont' failed to make nullfont.tfm.
! Font \OT1/ptm/b/it/7=nullfont not loadable: Metric (TFM) file not found. \@IEEEtunefonts


Well, it turns out I'm not the only person to see this problem. If you also see this issue, all you need to do is:


sudo apt-get install texlive-fonts-recommended


which will install the necessary font package. Awesome!


Source


UPDATE

So, apparently not having texlive-fonts-recommended can also cause this error:

! I can't find file `ptmr7t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t

Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t

Transcript written on mfput.log.
grep: ptmr7t.log: No such file or directory


I discovered this after upgrading to Precise, and having to reinstall a bunch of packages (this one included.) Hope it helps!