Hi all, I realize that this is not an R question, but in attempting to build a new version of a package, I have encountered the error: Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : pdflatex is not available As I could not find any way to install pdflatex (it didn't appear on a yum search), I tried a method that claimed to install pdflatex via a package named "texlive". Almost 300 packages later and minus over 300 Mb of disk space, I then got the error: ! LaTeX Error: File `zi4.sty' not found. This seems to be an updated version of the "inconsolata.sty" error that used to torment me (and after reading a lot of messages about this, many other people as well), so I found the file "zi4.sty" and copied it into what I thought was the appropriate directory. It seems to be, as I now get the error: ! LaTeX Error: File `upquote.sty' not found. At this point, I wonder if someone would be kind enough to inform me whether this is a potentially infinite task of finding ".sty" files, in which case I will live without them, or if there is an easier method of satisfying the apparently immense appetite of LaTeX? Thanks. R-3.1.0 Fedora 19 Jim
On 25/05/2014, 6:17 AM, Jim Lemon wrote:> Hi all, > I realize that this is not an R question, but in attempting to build a new > version of a package, I have encountered the error: > > Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : > pdflatex is not available > > As I could not find any way to install pdflatex (it didn't appear on a yum > search), I tried a method that claimed to install pdflatex via a package > named "texlive". Almost 300 packages later and minus over 300 Mb of > disk space, I then got the error: > > ! LaTeX Error: File `zi4.sty' not found. > > This seems to be an updated version of the "inconsolata.sty" error that > used to torment me (and after reading a lot of messages about this, > many other people as well), so I found the file "zi4.sty" and copied it into > what I thought was the appropriate directory. It seems to be, as I now get > the error: > > ! LaTeX Error: File `upquote.sty' not found. > > At this point, I wonder if someone would be kind enough to inform me > whether this is a potentially infinite task of finding ".sty" files, in which > case I will live without them, or if there is an easier method of satisfying > the apparently immense appetite of LaTeX? Thanks.I don't use TeXLive, but most LaTeX distributions offer a way to automatically install packages as needed. But if you can't find it, you can just install them one by one: it's not actually an infinite task. I believe there are only about 4700 packages on CTAN (the equivalent of CRAN for TeX, in fact I believe it was the first C*AN). At 5 minutes per attempt, you'll be done in a couple of weeks! Duncan Murdoch
It's not a TeX issue veven, it's a Fedore issue :-)-O pdflatex is standard in all (most) TeX distributions. TeXLive is probably the standard TeX distribution for Linux, it has a Windoze version and a MacTeX version (or rather two, a complete and a basic). I have used both on Linux and the Mac respectively for many years. It is upgraded every year completely and in the interval you can use the TeX Live Manager to update packages and to install missing ones. It is currently frozen and the new version is supposed to come out on 2014-07-01. That said, while some Linux package managers for some Linux distributions are very up-to-date, most are not. el On 2014-05-25, 11:17 , Jim Lemon wrote:> Hi all, I realize that this is not an R question, but in > attempting to build a new version of a package, I have encountered > the error: > > Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet > quiet, : pdflatex is not available > > As I could not find any way to install pdflatex (it didn't appear > on a yum search), I tried a method that claimed to install > pdflatex via a package named "texlive". Almost 300 packages later > and minus over 300 Mb of disk space, I then got the error: > > ! LaTeX Error: File `zi4.sty' not found. > > This seems to be an updated version of the "inconsolata.sty" error > that used to torment me (and after reading a lot of messages about > this, many other people as well), so I found the file "zi4.sty" > and copied it into what I thought was the appropriate directory. > It seems to be, as I now get the error: > > ! LaTeX Error: File `upquote.sty' not found. > > At this point, I wonder if someone would be kind enough to inform > me whether this is a potentially infinite task of finding ".sty" > files, in which case I will live without them, or if there is an > easier method of satisfying the apparently immense appetite of > LaTeX? Thanks. > > R-3.1.0 > Fedora 19 > > Jim >
Hi,> As I could not find any way to install pdflatex (it didn't appear on a yum > search), I tried a method that claimed to install pdflatex via a packageTrying yum provides */pdflatex will yield the package name: texlive-latex-bin-bin. Though, I have to say I don't quite see how you managed to install R without the above package (it is a required dependency on Fedora). Next time, unless you have already done os, install R from the distribution repositories installing: yum install R.> named "texlive". Almost 300 packages later and minus over 300 Mb of > disk space, I then got the error: > > ! LaTeX Error: File `zi4.sty' not found.yum provides */zi4.sty will yield the package name: texlive-inconsolata> > This seems to be an updated version of the "inconsolata.sty" error that > used to torment me (and after reading a lot of messages about this, > many other people as well), so I found the file "zi4.sty" and copied it into > what I thought was the appropriate directory. It seems to be, as I now get > the error: > > ! LaTeX Error: File `upquote.sty' not found.yum provides */upquote.sty will yield the package name: texlive-upquote So yum install each of the above will take care of your woes rather cleanly.> At this point, I wonder if someone would be kind enough to inform me > whether this is a potentially infinite task of finding ".sty" files, in which > case I will live without them, or if there is an easier method of satisfying > the apparently immense appetite of LaTeX? Thanks.Hope the above helps! Best wishes, Ranjan> > R-3.1.0 > Fedora 19 > > Jim > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses. ____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!