TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:


Hello world!

I'm using texlive2012.

share|improve this question
up vote 11 down vote accepted

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 this

Detected System: x86_64-linux
Detected Installation: /usr/local/texlive/2012
mkdir /usr/local/texlive/2012/texmf/scripts/getnonfreefonts ...          [done]
Installing texmf/scripts/getnonfreefonts/getnonfreefonts.pl ...          [done]
Installing texmf/doc/man/man1/getnonfreefonts.1 ...                      [done]
Installing texmf/doc/man/man1/getnonfreefonts-sys.1 ...                  [done]
Installing texmf/doc/man/man1/getnonfreefonts.man1.pdf ...               [done]
Installing texmf/doc/man/man1/getnonfreefonts-sys.man1.pdf ...           [done]
md5sum: cf8aeec0477a28c0c32ba1166f8bd8f3 getnonfreefonts.pl ...            [ok]
md5sum: f850d910dd96ee27cecdb3772047d247 getnonfreefonts.1 ...             [ok]
md5sum: fb2b0f7699db8e627d4e26b730e94928 getnonfreefonts-sys.1 ...         [ok]
md5sum: 415b51f7c80a4abe8d0a667a04c9d525 getnonfreefonts.man1.pdf ...      [ok]
Fixing File Permissions ...                                              [done]
Creating symlinks in 'bin/x86_64-linux' ...                              [done]
texhash: Updating /usr/local/texlive/2012/texmf/ls-R... 
texhash: Done.

Then run getnonfreefonts -l for a list of available fonts:

arial-urw      Arial (URW)                                  [not installed]
classico       Classico (URW)                               [not installed]
dayroman       DayRoman (Apostrophiclabs)                   [not installed]
eurofont       Euro symbols (Adobe)                         [not installed]
garamond       GaramondNo8 (URW)                            [not installed]
garamondx      GaramondNo8 Expert (Michael Sharpe)          [not installed]
lettergothic   LetterGothic (URW)                           [not installed]
luximono       LuxiMono (Bigelow & Holmes)                  [not installed]
vntex-nonfree  VnTeX nonfree (Han The Thanh)                [not installed]
webomints      Webomints (Galapagos Design Group)           [not installed]

and finally getnonfreefonts garamondx (getnonfreefonts -a to install all nonfree fonts). enter image description here

share|improve this answer
Thank you a lot. The updmap-sys call failed, but after a manual texhash and updmap-sys everything seems to work. Now I try to find out how this font can be activated temporarily (probably using \fontfamily). – rriemann Apr 22 '13 at 15:58
if map files cannot be updated when you have root privileges you may have something weird going on in your TeXLive installation, probably related to previous manual intervertions into the texmf-tree. – domenico Apr 22 '13 at 16:08
Probably. I think I got everything working. \fontfamily{zgmx} seems to do the trick. – rriemann Apr 22 '13 at 16:10
@dcmst Does this install method only work in TexLive and not MiKTeX? – Andy Apr 29 '13 at 17:24
@Andy AFAIK only works for TeX Live, for MikTeX you should be able to install the garamondx font via the package manager (but I don't use MikTeX, so I'm not sure) see tex.stackexchange.com/questions/88038/… for more info. – domenico Apr 29 '13 at 18:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.