Skip to content

kvoptions.sty

8 messages · Paul Gilbert, Sébastien Bihorel, Dirk Eddelbuettel

#
On an new install of Ubuntu 8.10 64bit, I am having trouble with make 
check-all  checking package 'survival' and elsewhere:

l.100 \fontencoding\encodingdefault\selectfont
! LaTeX Error: File `kvoptions.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

! Emergency stop.
<read *>
         l.2231 \RequirePackage{kvoptions}[2006/08/17]
                                             ^^M
!  ==> Fatal error occurred, no output PDF file produce

Does anyone know in what Ubuntu/Debian package I should find this sty 
file? Based on a google search I thought it might be in whizzytex, but 
no luck.

Paul Gilbert
====================================================================================

La version fran?aise suit le texte anglais.

------------------------------------------------------------------------------------

This email may contain privileged and/or confidential in...{{dropped:26}}
#
Hi Paul,
On 29 December 2008 at 11:12, Paul Gilbert wrote:
| On an new install of Ubuntu 8.10 64bit, I am having trouble with make 
| check-all  checking package 'survival' and elsewhere:
| 
| l.100 \fontencoding\encodingdefault\selectfont
| ! LaTeX Error: File `kvoptions.sty' not found.
| 
| Type X to quit or <RETURN> to proceed,
| or enter new name. (Default extension: sty)
| 
| ! Emergency stop.
| <read *>
|          l.2231 \RequirePackage{kvoptions}[2006/08/17]
|                                              ^^M
| !  ==> Fatal error occurred, no output PDF file produce
| 
| Does anyone know in what Ubuntu/Debian package I should find this sty 
| file? Based on a google search I thought it might be in whizzytex, but 
| no luck.

edd at ron:~/src/debian/CRAN/sn-0.4-10$ locate kvoptions.sty
/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
edd at ron:~/src/debian/CRAN/sn-0.4-10$ dpkg -S /usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
texlive-latex-recommended: /usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
edd at ron:~/src/debian/CRAN/sn-0.4-10$


So it looks like texlive-latex-recommended is what you need here.  I have
also been frustrated at times by the dispersed natur eof the texlive
packages.  'wajig search texlive | less' and manually looking helps on
occassions.   Fifteen years ago I always kept a local copy of the 'overall
file index' of all files in all Debian packages by I don't know if that file
still exists at the web or ftpsite.  You do have the ability to search for
files here:

      http://packages.debian.org   aka         http://www.debian.org/distrib/packages

where you can scroll down to 'search contents of packages' (and make sure you
select unstable or testing) leading to (for this query)

      http://packages.debian.org/search?searchon=contents&keywords=kvoptions.sty&mode=exactfilename&suite=unstable&arch=any


It also mentions the more general shortcut

      http://packages.debian.org/file:path for the search for paths ending in the keyword.

Lastly, you can always peek into the build-deps of packages.  r-base-core
currently has

       Build-Depends: gcc (>= 4:4.1.0), g++ (>= 4:4.1.0), gfortran (>=
       4:4.1.0), libblas-dev, liblapack-dev (>= 3.1.1), tcl8.5-dev,
       tk8.5-dev, bison, groff-base, libncurses5-dev, libreadline5-dev,
       debhelper (>= 5.0.0), texi2html, texinfo (>= 4.1-2), libbz2-dev,
       libpcre3-dev, xpdf-reader, zlib1g-dev, libpng12-dev, libjpeg62-dev,
       libx11-dev, libxt-dev, x11proto-core-dev, libpango1.0-dev,
       libcairo2-dev, libtiff4-dev, xvfb, xauth, xfonts-base, texlive-base,
       texlive-latex-base, texlive-generic-recommended,
       texlive-fonts-recommended, texlive-extra-utils,
       texlive-latex-recommended, texlive-latex-extra, texinfo, texi2html,
       openjdk-6-jdk [!arm !hppa]

which contains a healthy set of texlive packages.

Hth, Dirk
#
Dirk

Thanks, texlive-latex-recommended seems to have fixed the problem.

On your "lastly"  below, I had installed r-base-dev to help with other 
dependencies I had trouble with earlier, and it did install r-base-core 
(but surprisingly not r-base), but my r-base-core does not depend on 
texlive-latex-recommended.  I am using Synaptic on Ubuntu, and it shows 
the r-base-dev version as 2.7.1-2. I assume the problem is that this is 
  old.  Do you know how I get Synaptic to find a newer version? I don't 
really want the latest everything, just R.

Thanks,
Paul
Dirk Eddelbuettel wrote:
====================================================================================

La version fran?aise suit le texte anglais.

------------------------------------------------------------------------------------

This email may contain privileged and/or confidential in...{{dropped:26}}
#
Paul,
On 29 December 2008 at 14:33, Paul Gilbert wrote:
| Dirk
| 
| Thanks, texlive-latex-recommended seems to have fixed the problem.
| 
| On your "lastly"  below, I had installed r-base-dev to help with other 
| dependencies I had trouble with earlier, and it did install r-base-core 
| (but surprisingly not r-base), but my r-base-core does not depend on 
| texlive-latex-recommended.  I am using Synaptic on Ubuntu, and it shows 
| the r-base-dev version as 2.7.1-2. I assume the problem is that this is 
|   old.  

Not, it has nothing to do with 2.7.1 vs 2.8.1.  It is simply that r-base-dev
is meant to help with building packages -- in other words being able to run
install.packages() and not to fail immediately.  It does not claim to help
with any and all features (here: 'R CMD check') on all packages.  The tex
packages are simply not pulled in.  Use the hints from my previous email to
search for which package provides what.

| Do you know how I get Synaptic to find a newer version? I don't 
| really want the latest everything, just R.

Follow the README at http://cran.r-project.org/bin/linux/ubuntu which will
get you current R versions on Ubuntu i386 and amd64 thanks to Vincent and
Michael.  I use these myself at work on amd64.

[ That is an R-specific solution.  A more general solution would be
apt-pinning but we leave that for another time. ]

Hth, Dirk
#
On Mon, 29 Dec 2008 13:58:16 -0600,
Dirk Eddelbuettel <edd at debian.org> wrote:

            
A useful tool for these purposes is the apt-file package, that provides
the command line program of the same name:

$ apt-file search 'kvoptions.sty'
texlive-latex-recommended: /usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
#
On 29 December 2008 at 16:15, Sebastian P. Luque wrote:
| A useful tool for these purposes is the apt-file package, that provides
| the command line program of the same name:
| 
| $ apt-file search 'kvoptions.sty'
| texlive-latex-recommended: /usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty

Sweet. That seems to be a generalisation / implementation of the idea of
grep'ing in a large index file I mentioned earlier.  Odd that it doesn't
update its cache, though:

edd at ron:~$ ls -ltr /var/cache/apt/apt-file
total 27296
-rw-r--r-- 1 root root 14382660 2008-06-23 15:16 ron_ftp.us.debian.org_debian_dists_unstable_Contents-i386.gz
-rw-r--r-- 1 root root 13521294 2008-06-26 03:13 ron_ftp.us.debian.org_debian_dists_testing_Contents-i386.gz
edd at ron:~$ 

But maybe that's just what we get with Debian lenny aka 'testing' being frozen all that long.

Dirk
#
On Mon, 29 Dec 2008 16:38:19 -0600,
Dirk Eddelbuettel <edd at debian.org> wrote:

            
You need to do 'apt-file update' for that, but it's a drag though, so
it's hard to keep it up to date.  As you say, however, waiting for Lenny
means we don't need to do it that often...

$ ls -ltr /var/cache/apt/apt-file
total 41584
-rw-r--r-- 1 root root 10809175 2008-12-17 15:58 ftp.ca.debian.org_debian_dists_etch_Contents-amd64.gz
-rw-r--r-- 1 root root   153440 2008-12-24 12:36 www.debian-multimedia.org_dists_sid_Contents-amd64.gz
-rw-r--r-- 1 root root 13705936 2008-12-27 08:19 ftp.ca.debian.org_debian_dists_lenny_Contents-amd64.gz
-rw-r--r-- 1 root root 14990537 2008-12-27 20:25 ftp.ca.debian.org_debian_dists_sid_Contents-amd64.gz
-rw-r--r-- 1 root root  2850073 2008-12-29 14:09 ftp.ca.debian.org_debian_dists_experimental_Contents-amd64.gz
#
On 29 December 2008 at 17:06, Sebastian P. Luque wrote:
| On Mon, 29 Dec 2008 16:38:19 -0600,
| Dirk Eddelbuettel <edd at debian.org> wrote:
|
| > On 29 December 2008 at 16:15, Sebastian P. Luque wrote:
| >> A useful tool for these purposes is the apt-file package, that
| >> provides the command line program of the same name:
| >> 
| >> $ apt-file search 'kvoptions.sty' texlive-latex-recommended:
| >> /usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
| 
| > Sweet. That seems to be a generalisation / implementation of the idea
| > of grep'ing in a large index file I mentioned earlier.  Odd that it
| > doesn't update its cache, though:
| 
| > edd at ron:~$ ls -ltr /var/cache/apt/apt-file total 27296 -rw-r--r-- 1
| > root root 14382660 2008-06-23 15:16
| > ron_ftp.us.debian.org_debian_dists_unstable_Contents-i386.gz
| > -rw-r--r-- 1 root root 13521294 2008-06-26 03:13
| > ron_ftp.us.debian.org_debian_dists_testing_Contents-i386.gz edd at ron:~$
| 
| You need to do 'apt-file update' for that, but it's a drag though, so
| it's hard to keep it up to date.  

Yes -- what I meant to say more clearly is that I'm surprised the package
doesn't drop a file into /etc/cron.weekly/ or /etc/cron.montly/ to call
apt-file update regularly, possibly coupled with a config variable to turn
this off etc pp

Dirk