Skip to content

[R-pkg-devel] While using R CMD check: LaTex error: File `inconsolata.sty' not found

3 messages · Kasper Daniel Hansen, Cathy Lee Gierke

#
I cannot find any recent solution to this problem, and older ones do not
seem to work.

I just installed the small version of MacTeX called BasicTeX, to allow my
package to build PDFs.   http://tug.org/mactex/morepackages.html

Everything worked, except I get the error  "LaTex error: File
`inconsolata.sty' not found".  I tried to install inconsolata.sty as
suggested here,
https://stat.ethz.ch/pipermail/r-help//2013-July/356743.html but
get an error saying zi4 is not there when following the Read.Me install
instructions:

Mac OS X: Method A (recommended): type
......

kpsewhich zi4.sty returns nothing

kpsewhich inconsolata.sty returns nothing

So they must not be installed.  Any idea how to fix this?

Thanks much,
Cathy Lee Gierke


*?Darkness cannot drive out darkness: only light can do that. Hate cannot
drive out hate: only love can do that.? *
*?The arc of the moral universe is long, but it bends towards justice.?*
*?Nothing in the world is more dangerous than sincere ignorance and
conscientious stupidity.? *
*?Never forget that everything Hitler did in Germany was legal.?   *
*?Forgiveness is not an occasional act, it is a constant attitude.? *
*?Injustice anywhere is a threat to justice everywhere.?  *

? Martin Luther King Jr.

<http://www.goodreads.com/author/show/23924.Martin_Luther_King_Jr_>
#
If you installed MacTex basic, you should have the command line utility
  tlmgr
available. On my system it is in
  /Library/TeX/texbin/tlmgr
and you may need to add this to your path. Using this, it is simple to
install additional packages, by
  tlmgr install inconsolata
You probably need to add a sudo to this, so the full command becomes
  sudo tlmgr install inconsolata

(depending on how old MacTex is compared to recent releases, you _may_ need
to update tlmgr itself first.  I think it will be something like
  tlmgr update --self
but the program will tell you about this when you run it)

Best,
Kasper
On Sun, Feb 5, 2017 at 8:20 AM, Cathy Lee Gierke <leegi001 at umn.edu> wrote:

            

  
  
#
Hey, it worked!!!!!!  Thanks!

I had tried sudo tlmgr install collection-fontsrecommended earlier, but it
didn't install what I needed....

? Martin Luther King Jr.

<http://www.goodreads.com/author/show/23924.Martin_Luther_King_Jr_>

On Sun, Feb 5, 2017 at 12:27 PM, Kasper Daniel Hansen <
kasperdanielhansen at gmail.com> wrote: