I was to use the package pifont
to use \ding{52}
in my document.
However, when I use \usepackage{pifont}
, I get the below error:
/usr/local/texlive/2008basic/texmf-dist/tex/latex/psnfss/pifont.sty
(/usr/local/texlive/2008basic/texmf-dist/tex/latex/psnfss/upzd.fd)
kpathsea: Running mktextfm pzdr
/usr/local/texlive/2008basic/texmf/web2c/mktexnam: Could not map source abbreviation for pzdr.
/usr/local/texlive/2008basic/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input pzdr
This is METAFONT, Version 2.718281 (Web2C 7.5.7)
kpathsea: Running mktexmf pzdr
! I can't find file `pzdr'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input pzdr
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input pzdr
Transcript written on mfput.log.
grep: pzdr.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input pzdr' failed to make pzdr.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font U/pzd/m/n/10=pzdr at 10.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
extract@font ...ont font@name external@font relax
font@name relax csname f@e...
define@newfont ...ong@fontshape else extract@font
fi endgroup
pickup@font ...ifx font@name relax define@newfont
fi
selectfont ...ape /f@size endcsname }pickup@font
font@name size@update enc@...
l.62 {\Pifont{pzd}
}
I am not sure why I get this error. I can see the pifont.sty is present in the directory : /usr/local/texlive/2008basic/texmf-dist/tex/latex/
Best Answer
It's after the 'pzdr.tfm' font file. Can you try
locate pzdr.tfm
(if you're on a unix-like system) to locate it?For me, it appears in the following places:
Hence I think you have to install the
zapfding
package first (sudo tlmgr install zapfding
).