I tried to install the emerald font package on my ubuntu natty box. However if I compile a minimal example like (emerald.tex)



Hello World!

I get the following error

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/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/
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.

A locate ftsmdw8r gives me /home/myuser/texmf/fonts/tfm/emerald/ftsmdw8r.tfm.

Any idea how to fix this?

Here are the steps I did for the installation:

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

I've tried it with TeXlive 2012, and got it working with the following steps:

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

If this doesn't work, there might be issues in creating the updmap config, try:

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

Also check the emerald.map file can actually be found:

kpsewhich emerald.map
  • I could not install this unit in my Ubuntu. – Regis da Silva Feb 9 '13 at 3:29
  • It works on my Mac OSX with MacTex installed as well. First, download the emerald zip file from ctan and unzip it. Second, copy the two dirs: fonts and tex to ~/Library/texmf/. Third, run the two command updmap and texhash as mentioned by @Silex. – Causality Feb 17 '14 at 19:24
  • Worked fine (on Ubuntu 13.04 and manually installed TeXLive); did have to sudo texhash, though. (In fact, sudo `which texhash` because TeXLive is not in root's PATH on my machine.) – Raphael Jun 6 '14 at 11:21
  • Still working like a charm (August 2014). – c.p. Aug 9 '14 at 20:00
  • 1
    @ErikPillon The steps are covered here: tug.org/fonts/fontinstall-personal.html That page also links to the system-wide installation instructions, which contain more detail. – Silke Jan 30 '18 at 13:10

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.