0
  • I want to use the emerald package under Windows and TeXLive. It is only available in MiKTeX according to its CTAN entry.
  • According to an old post (Installing Emerald fonts: TeXlive won't find font files) the instructions in the readme are outdated.
  • Q: What is the proper way to install emerald package under Windows and TeXLive in 2021?
  • 1
    It might be faster (5 mins?) to download and install the actual .ttf files themselves, and use them as system fonts under xelatex/lualatex, rather than trying a manual install of a pdftex support package. (e.g., just at random, 25 Emerald City Fontwerks fonts in 16 families are listed at dafonts: https://www.dafont.com/emerald-city-fontwerks.d105). – Cicada Apr 25 '21 at 13:37
  • 1
    @Cicada Thanks for the proposal. I didn't think of that. – Dr. Manuel Kuehner Apr 25 '21 at 16:07

1 Answers1

2

The instructions here will work, but run the commands from an Administrator prompt, rather than sudo.

Find your local TeX tree with kpsewhich --var-value=TEXMFLOCAL in TeX Live, or the MikTeX console. Unpack the emerald archive to there. It will likely be C:\texlive\texmf-local\.

Run texhash to update the file index, then updmap-sys --enable Map=emerald.map to update the system font map. (Never updmap --user. It’s a trap.) You can now \usepackage{emerald}.

Alternatively, download the the TrueType version of the Emerald fonts. You will want to install them for all users, or save them to a subdirectory of your local TeX tree, such as texmf-local/fonts/opentype/emerald/.

Davislor
  • 44,045
  • 1
    Thanks! And I laughed about "it's a trap" – Dr. Manuel Kuehner Jun 20 '21 at 04:45
  • Hello, when I run the command texhash, I have this error: Cannot open C:/texlive/texmf-local/ls-R to write. How to do? – AndréC Nov 28 '22 at 06:26
  • @AndréC Necromancy: Make sure 1: that you don’t have your TEXMFLOCAL directory set somewhere else, 2: that the directory exists and 3: that you have write permission to it. – Davislor Jul 02 '23 at 20:51