CountriesOfEurope 包的问题

CountriesOfEurope 包的问题

编译下面的MWE:

\documentclass{article}
\usepackage{CountriesOfEurope}
\pagestyle{empty}

\begin{document}
\EUCountry{139}
\end{document}

结果是空白的 .dvi 文件,同时使用dvipsps2pdf(或使用pdftex),我收到错误消息,提示我未找到字体 CountriesofEurope。我在 Windows XP 上运行了完整且更新的 MikTeX 2.9 安装,并且我已检查 .afm、enc.、.map、.pfb 和 .tfm 文件是否安装在相应的文件夹中。我已更新 FNDB 并运行了 shell 命令updmap

欢迎对问题所在提出任何想法。

接下来附加了来自 pdflatex 编译的 .log 文件:

This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded format=pdflatex 2012.7.25)  25 JUL 2012 00:52
entering extended mode
**Europe

("C:\Documents and Settings\_\Mis documentos\LaTeX WinEdt Styles and Files\Euro
pe.tex"
LaTeX2e 
Babel  and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
 lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.
("C:\Archivos de programa\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Archivos de programa\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2007/10/19 v1.4h 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:\Archivos de programa\MiKTeX 2.9\tex\latex\CountriesOfEurope\CountriesOfEur
ope.sty"
Package: CountriesOfEurope 2012/04/18 v0.21 CountriesOfEurope Font(RN,hv)
 ("C:\Archivos de programa\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
))
No file Europe.aux.
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Font shape `U/CountriesOfEurope/m/n' will be
(Font)              scaled to size 10.0pt on input line 6.
[1

{C:/Documents and Settings/_/Configuración local/Datos de programa/MiKTeX/2.9/
pdftex/config/pdftex.map}]
("C:\Documents and Settings\_\Mis documentos\LaTeX WinEdt Styles and Files\Euro
pe.aux") ) 
Here is how much of TeX's memory you used:
 325 strings out of 493921
 4053 string characters out of 3144430
 49070 words of memory out of 100000000
 3697 multiletter control sequences out of 15000+200000
 3900 words of font info for 15 fonts, out of 3000000 for 9000
 841 hyphenation exceptions out of 8191
 23i,4n,19p,164b,100s stack positions out of 5000i,500n,10000p,200000b,50000s

!pdfTeX error: pdflatex (file CountriesOfEurope): Font CountriesOfEurope at 600
 not found
 ==> Fatal error occurred, no output PDF file produced!

答案1

CTAN 目录显示 MikTeX 确实包含软件包CountriesofEurope。我实际安装的 MiKTeX 2.9 不包含该软件包。MikTeX 的软件包管理器告诉我,Package CountriesofEurope 确实未安装。

请使用管理器安装该软件包,您的 MWE 将会运行。使用Windows-start- all Programs- MiKTeX 2.9- Maintanance (Admin)-安装该软件包Package Manager (Admin)。然后选择CountriesofEurope并单击绿色 + 号。

相关内容