13

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/

migrated from stackoverflow.com Apr 3 '12 at 14:17

This question came from our site for professional and enthusiast programmers.

  • Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. – Werner Apr 3 '12 at 16:11
13

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:

/usr/local/texlive/2011/texmf-dist/fonts/tfm/adobe/zapfding/pzdr.tfm
/usr/local/texlive/2011/texmf-dist/fonts/tfm/cspsfonts-adobe/zapfding/rpzdr.tfm

Hence I think you have to install the zapfding package first (sudo tlmgr install zapfding).

22

In Ubuntu precise 12.04, you should install texlive-fonts-recommended.

sudo apt-get install texlive-fonts-recommended
  • 2
    In fedora, I used: yum install texlive-texmf-fonts, which solved the issue for me. – zdav Jan 6 '13 at 19:37
  • 1
    This also worked in ubuntu 14.04 – Martins Balodis Apr 20 '15 at 10:11
  • On CentOS, I solved it with: yum install texlive-collection-latexrecommended (the missing file for me was ecrm1095) – sffc Jan 5 '16 at 6:49
1

under linux mint I used

sudo apt-get install texlive-fonts-recommended

and it is now ok!

0

Tested on: Ubuntu 18.04, TeXlive 2019 (tlmgr)

Run

tlmgr info pzdr

You will find the package where pzdr.tfm is located. In this case, it is zapfding. Then what you have to do is run

tlmgr install zapfding
0

For me, on TeXLive 2017 it was:

sudo tlmgr install palatino

The following might work as well:

sudo tlmgr install collection-fontsrecommended
  • The correct spelling is TeXLive or simply texlive . – evaristegd Jul 29 at 19:45
  • @evaristegd corrected :) – mb21 Jul 30 at 7:44

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.