I got psnfss and zapfding installed in MiKTeX 2.7. However, \ding{xxx}
still complains missing font metric. How to use zapfding, which seems to
have the font for it. Example follows.
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{pifont}
\begin{document}
\ding{39}
\end{document}
--8<---------------cut here---------------end--------------->8---
Thank you,
--
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.
> Hi there,
>
> I got psnfss and zapfding installed in MiKTeX 2.7. However, \ding{xxx}
> still complains missing font metric. How to use zapfding, which seems to
> have the font for it. Example follows.
>
> --8<---------------cut here---------------start------------->8---
> \documentclass{article}
> \usepackage{pifont}
>
> \begin{document}
> \ding{39}
> \end{document}
> --8<---------------cut here---------------end--------------->8---
Should work out of the box in miktex 2.7. Show the log-file of the
pdflatex run.
--
Ulrike Fischer
I noted that despite the error, the symbol was displayed correctly on
the output pdf file. Thanks.
------------------------------------------------
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded format=pdflatex 2009.3.3) 4 MAR 2009 10:00
entering extended mode
**\input k.tex
(k.tex ("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\pifont.sty"
Package: pifont 2005/04/12 PSNFSS-v9.2a Pi font support (SPQR)
LaTeX Font Info: Try loading font information for U+pzd on input line 63.
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\upzd.fd"
File: upzd.fd 2001/06/04 font definitions for U/pzd.
)
LaTeX Font Info: Try loading font information for U+psy on input line 64.
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\upsy.fd"
File: upsy.fd 2001/06/04 font definitions for U/psy.
)
! Font U/psy/m/n/10=psyr at 10.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
l.64 {\Pifont{psy}
}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
)
No file k.aux.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
[1
{C:/Documents and Settings/All Users/Application Data/MiKTeX/2.7/pdftex/config/
pdftex.map}] (k.aux) )
Here is how much of TeX's memory you used:
241 strings out of 95290
2417 string characters out of 1182847
46529 words of memory out of 1500000
3531 multiletter control sequences out of 110000
4000 words of font info for 15 fonts, out of 3000000 for 5000
14 hyphenation exceptions out of 8191
23i,4n,17p,144b,107s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmr10
.pfb><C:/Program Files/MiKTeX 2.7/fonts/type1/urw/zapfding/uzdr.pfb>
Output written on k.pdf (1 page, 5572 bytes).
PDF statistics:
14 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 131072)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
It seems the problem has happened before with MiKTeX 2.5 as in this
thread:
http://groups.google.co.uk/group/fr.comp.text.tex/browse_thread/thread/d2c10b2531f08966?hl=en&ie=UTF-8&q=Couldn%27t+find+%60ps.cfg%27&pli=1
I read it with the help of google translate. After reinstalling psnfss,
zapfding and zapfchan, I am still seeing the same problem.
It'd be much appreciated if anyone can offer some help. Thank you in
advance. (The complete log file:
http://groups.google.com/group/comp.text.tex/msg/7334d157bb8baa1d)
,----[ copied from CMD.EXE output ]
| makemf: The psyr source file could not be found.
| Running hbf2gf...
|
| hbf2gf (CJK ver. 4.8.0)
|
| Couldn't find `ps.cfg'
| maketfm: No creation rule for font psyr.
|
| ! Font U/psy/m/n/10=psyr at 10.0pt not loadable: Metric (TFM) file not found.
| <to be read again>
| relax
| l.64 {\Pifont{psy}
| }
| ?
| ) (k.aux) [1{C:/Documents and Settings/All Users/Application Data/MiKTeX/2.7/pd
| ftex/config/pdftex.map}] (k.aux) )<C:/Program Files/MiKTeX 2.7/fonts/type1/blue
| sky/cm/cmr10.pfb><C:/Program Files/MiKTeX 2.7/fonts/type1/urw/zapfding/uzdr.pfb
| >
| Output written on k.pdf (1 page, 5572 bytes).
| Transcript written on k.log.
`----
It seems that MiKTeX does not provide psyr.tfm (Can other MiKTeX users
confirm that this is the case?). So I put a copy of psyr.tfm in
texmf-local. And the problem seems to go away.
texlive includes psyr.tfm in it and I can not think of a reason for
MiKTeX not to. Is this an oversight from MiKTeX's developers?
>> Should work out of the box in miktex 2.7. Show the log-file of the
>> pdflatex run.
>
> It seems the problem has happened before with MiKTeX 2.5 as in this
> thread:
> http://groups.google.co.uk/group/fr.comp.text.tex/browse_thread/thread/d2c10b2531f08966?hl=en&ie=UTF-8&q=Couldn%27t+find+%60ps.cfg%27&pli=1
>
> I read it with the help of google translate. After reinstalling psnfss,
> zapfding and zapfchan, I am still seeing the same problem.
>
> It'd be much appreciated if anyone can offer some help. Thank you in
> advance. (The complete log file:
> http://groups.google.com/group/comp.text.tex/msg/7334d157bb8baa1d)
Sorry, I seemed to have missed your first answer.
psyr.tfm is part of the miktex package symbol. So try to install it.
(Don't you have "install missing package" enabled in
miktex->settings tab general?).
--
Ulrike Fischer
Thank you. The problem is now perfectly resolved.
> (Don't you have "install missing package" enabled in miktex->settings
> tab general?).
It was disabled long ago because back then I didn't know how to install
packages in local texmf, and then forgot all about it. I have reabled it
so that in future such silly question won't come up again.
fwiw, my miktex 2.6 doesn't have any adobe metrics (apart from sabon,
which i put there). it does have metrics for the urw clones of the
adobe fonts: perhaps that's what you're expected to use.
>texlive includes psyr.tfm in it and I can not think of a reason for
>MiKTeX not to.
it may be that they want to avoid confusion; most people don't have
the fonts, so confusion is engendered if they create output that needs
them: it wil print (since the printer has the font built in) but it
won't work if sent to a printing shop.
>Is this an oversight from MiKTeX's developers?
i don't believe the miktex developer(s) read c.t.t; a question,
perhaps, for one of the miktex mailing lists or other forums...
--
Robin Fairbairns, Cambridge
It is placed in the 'symbol' package. So my hypothesis is false.