I try to install the LaTeX package garamondx
and compile the doc which comes with the package. For this, I downloaded garamondx.tds.zip
from http://www.ctan.org/tex-archive/install/fonts, extracted the archive to $HOME/texmf
and run texhash
. updmap
doesn't work for my local user, because
Directory "/var/lib/texmf/fonts/map/dvips/updmap" isn't writable
Unfortunately it doesn't work. When I try to run the provided minimal example, I get the return error code 70:
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 zgmr8r
mktexpk: don't know how to create bitmap font for zgmr8r.
mktexpk: perhaps zgmr8r is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
)
!pdfTeX error: /usr/bin/pdflatex (file zgmr8r): Font zgmr8r at 600 not found
==> Fatal error occurred, no output PDF file produced!
Minimal example:
\documentclass{article}
\usepackage{garamondx}
\begin{document}
Hello world!
\end{document}
I'm using texlive2012.
Best Answer
If you already have a working TeX Live environment installed (with one of the methods listed here) you should install nonfree fonts (like garamondx) according to this guide.
In short, first you download the script and execute it (needs root privileges) with
texlua install-getnonfreefonts
. You'll see something like thisThen run
getnonfreefonts -l
for a list of available fonts:and finally
getnonfreefonts garamondx
(getnonfreefonts -a
to install all nonfree fonts).