16

I have the latest version of MacTeX installed, and want to add fonts from CTAN (or other packages) that are not part of the MacTeX distribution to my system. When I specify CTAN in TeX Live Utility as the repository to download a font from (e.g, http://www.ctan.org/tex-archive/fonts/) I get an error:

"Repository has a different TeX Live version ... You need to switch repositories in order to continue."

Clearly I'm doing something wrong. Can I use TeX Live Utility in this way to install and manage fonts that are not part of the MacTeX distribution? If not, what are my options?

2
  • 1
    If the packages are not part of TeXLive, then no, you can't use TeXLive Utility to install them. What fonts do you want to install?
    – Alan Munn
    Commented Mar 10, 2012 at 4:06
  • @AlanMunn: URW Garamond for mathdesign.
    – orome
    Commented Mar 10, 2012 at 5:12

1 Answer 1

25

You can't use tlmgr (or its front-end TeX Live Utility). There is a script called getnonfreefonts at http://www.tug.org/fonts/getnonfreefonts/ that you have to download with the Terminal command

curl -O http://tug.org/fonts/getnonfreefonts/install-getnonfreefonts

and then install with

sudo texlua install-getnonfreefonts

Then you can get direction on its use by

getnonfreefonts --help

For example, in order to install URW Garamond for all users you do

sudo getnonfreefonts-sys garamond

Installing fonts for one user only is not recommended.

7
  • “Installing fonts for one user only is not recommended.” Why?
    – morbusg
    Commented Mar 10, 2012 at 10:09
  • 6
    @morbusg Because one must remember to run manually updmap every time tlmgr updates some font related package. Using updmap instead of updmap-sys is a sure source of headaches.
    – egreg
    Commented Mar 10, 2012 at 10:13
  • @egreg: Does that mean that after running TeXLive Utility, I need to rerun any and all other config tools I might have used outside of TeXLive (e.g., texhash or udmap)?
    – orome
    Commented Mar 11, 2012 at 22:27
  • @raxacoricofallapatorius No, the installation is permanent.
    – egreg
    Commented Mar 11, 2012 at 22:29
  • 1
    @raxacoricofallapatorius The comment refers to using getnonfreefonts instead of getnonfreefonts-sys or installing other fonts for a single user.
    – egreg
    Commented Mar 11, 2012 at 22:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .