在 ubuntu 上安装 emerald 字体包

在 ubuntu 上安装 emerald 字体包

我尝试在我的 ubuntu natty box 上安装 emerald 字体包。但是如果我编译一个最小示例,如 ( emerald.tex)

\documentclass{article}

\usepackage{emerald}
\usepackage[T1]{fontenc}


\begin{document}
\ECFTeenSpirit
Hello World!
\end{document}

我收到以下错误

Running `LaTeX' on `emerald' with ``pdflatex --synctex=1 -interaction=nonstopmode "\input" emerald.tex''
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, nohyphenation, ngerman, german, german-x-2009-06-19, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, loaded.
(./emerald.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/home/myuser/texmf/tex/latex/emerald/emerald.sty)
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def)) (./emerald.aux)
(/home/myuser/texmf/tex/latex/emerald/t1fts.fd) [1{/home/myuser/.texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./emerald.aux) ) </home/myuser/.texmf-var/
fonts/pk/ljfour/jknappen/ec/ecrm1000.600pk>
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ftsmdw8r
mktexpk: don't know how to create bitmap font for ftsmdw8r.
kpathsea: Appending font creation commands to missfont.log.

Alocate ftsmdw8r给我/home/myuser/texmf/fonts/tfm/emerald/ftsmdw8r.tfm

知道如何修复这个问题吗?

以下是我安装的步骤:

cd ~/texmf
wget http://mirror.ctan.org/fonts/emerald.zip
unzip emerald.zip
cd emerald 
cp -r tex/* ../tex/
cp -r fonts/* ../fonts/    
texhash $HOME/texmf
sudo updmap-sys --enable Map=emerald.map

答案1

我已经尝试使用 TeXlive 2012,并按照以下步骤使其正常工作:

mkdir -p `kpsewhich --var-value=TEXMFHOME`
cd `kpsewhich --var-value=TEXMFHOME`
wget http://mirror.ctan.org/fonts/emerald.zip
unzip emerald.zip
cp -r emerald/. . && rm -rf emerald/
rm emerald.zip
updmap --enable Map emerald.map
texhash

如果这不起作用,则创建 updmap 配置时可能存在问题,请尝试:

mkdir -p ~/.texmf-config/web2c
echo Map emerald.map >> ~/.texmf-config/web2c/updmap.cfg
updmap

还要检查该emerald.map文件是否确实可以找到:

kpsewhich emerald.map

相关内容