2

I try to install Inconsolata according to http://www.ctan.org/tex-archive/fonts/inconsolata/

I did the following steps:

Mac OS X: To install, open a Terminal window and cd to inside the downloaded TDS folder.

Method A (recommended): type

sudo mkdir -p /usr/local/texlive/texmf-local/web2c
sudo cp -Rfp * /usr/local/texlive/texmf-local
sudo echo Map zi4.map >> /usr/local/texlive/texmf-local/web2c/updmap.cfg
sudo mktexlsr
sudo -H updmap-sys

But when running pdftex testfont and I enter Inconsolata I get the following output error:

This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdftex)
 restricted \write18 enabled.
entering extended mode
(/usr/local/texlive/2014/texmf-dist/tex/plain/base/testfont.tex

Name of the font to test = 
kpathsea: Running mktextfm Inconsolata
/usr/local/texlive/2014/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for Inconsolata.
/usr/local/texlive/2014/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2014/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Inconsolata
This is METAFONT, Version 2.7182818 (TeX Live 2014) (preloaded base=mf)

kpathsea: Running mktexmf Inconsolata

! I can't find file `Inconsolata'.
<*> ...our; mag:=1; nonstopmode; input Inconsolata

Please type another input file name
! Emergency stop.
<*> ...our; mag:=1; nonstopmode; input Inconsolata

Transcript written on mfput.log.
grep: Inconsolata.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Inconsolata' failed to make Inconsolata.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \testfont=Inconsolata not loadable: Metric (TFM) file not found.
<to be read again> 
                   \spaceskip 
\startfont ...ont \testfont =\fontname \spaceskip 
                                                  =0pt \leftline {\sevenrm T...

\init ...test = } \read -1 to\fontname \startfont 
                                                  \message {Now type a test ...
l.208 \ifx\noinit!\else\init
                            \fi
? 

So what do I have to do now?

closed as unclear what you're asking by egreg, Paul Gaborit, user13907, Zarko, Mike Renfro Nov 23 '15 at 3:04

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Have you tried inconsolatazi4 instead of just inconsolata. It got renamed at some point – ArTourter Jul 12 '15 at 16:16
  • I want to compile this book: github.com/hadley/ggplot2-book and need to install Inconsolata as mentioned there. So I followed the steps on ctan.org/tex-archive/fonts/inconsolata Is this inconsolata or inconsolatazi4? – JerryWho Jul 12 '15 at 16:22
  • You don't need to install it. It is part of MacTeX. Installing it will only create problems later. I recommend removing the files you installed manually, rerunning sudo mktexlsr /usr/local/texlive/texmf-local and then running sudo updmap-sys again. – cfr Jul 12 '15 at 16:59
  • To use it: \usepackage{zi4}. Or \usepackage{inconsolata}. – cfr Jul 12 '15 at 17:00
  • Unfortunately the original code uses \setmonofont[Mapping=tex-ansi]{Inconsolata}. With this code I get errors. When replacing it with one of the above commands I get lots of other errors (not sure if the new ones are related to the inconsolata commands...) – JerryWho Jul 12 '15 at 18:30
0

I'm also trying to compile ggplot2-book, and the following code replacement solves this particular error for me:

\setmonofont[Mapping=tex-ansi]{Inconsolatazi4}

Now it's back to the other one thousand errors involved in compiling this package...

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