[OS X TeX] Location of kvoptions?

Bruno Voisin bvoisin at mac.com
Thu Nov 30 13:09:36 EST 2006


Le 30 nov. 06 à 18:43, Jeffrey Weimer a écrit :

> I am having puzzling (to me) behavior with the kvoptions.sty file.
>
> I am using the i-Installer teTeX installation. I manually updated  
> the entire contents of hyperref and oberdiek folders in /usr/local/ 
> teTeX/share/texmf.tetex/tex/latex/ by downloading the folders from  
> CTAN, unpacking them, and copying over the folders.
>
> When I typeset a document starting with \usepackage{hyperref},  
> typesetting hangs with an error to the effect of not finding  
> kvoptions.sty. This file is however located in oberdiek (along with  
> refcount.sty for example, which is found and used). I copied  
> kvoptions.sty to ~/Library/texmf/tex/latex/, and typesetting  
> subsequently ran fine.
>
> I previously had a copy of the hyperref folder in my ~/Library/ 
> texmf/tex/latex/ folder that has since been deleted (after moving  
> it to the /usr .... location).

/usr/local/teTeX/share/texmf.tetex/ is no place to put your personal  
additions, as it is erased whenever the TeX i-Package is updated. You  
should use:

- /usr/local/teTeX/share/texmf.local/ for system-wide additions. But  
you will need to authenticate to write there (either by drag-and-drop  
in the Finder, or by using "sudo mkdir", "sudo mv" and "sudo cp" in  
Terminal), and you'll also need to run "sudo texhash" afterwards.

- ~/Library/texmf/ for user-specific additions. No need of "sudo  
texhash" then.

> What am I missing?

The problems you see might be caused by using texmf.tetex. I would  
advise:

- (Update and) Reinstall the TeX i-Package. Then put back your  
additions on top of it (in either of the above two places). Hopefully  
things should work afterwards.

- Or, probably better: switch to the TeXLive-based i-Package instead.  
It includes much more recent versions of all the LaTeX packages, and  
especially versions that are in sync with all the TeX binaries. There  
is still the odd bug report now and then, but overall this i-Package  
seems stable and efficient, and that makes less and less reason to  
stick back to the outdated teTeX. Gerben is still around for one more  
month to help, hopefully that should make enough time for most of the  
bugs (omissions, version mismatches, etc.) still present in the  
TeXLive-based i-Package to show up and be corrected. The more beta- 
testers, the better!

With TeXLive, for example:

$ kpsewhich kvoptions.sty
/usr/local/TeXLive/texmf.texlive/tex/latex/oberdiek/kvoptions.sty

and:

\ProvidesPackage{hyperref}
   [2006/09/06 v6.75e
   Hypertext links for LaTeX]

\ProvidesPackage{pdflscape}%
   [2006/04/24 v0.6 Landscape pages in PDF (HO)]

On the other hand with teTeX:

\ProvidesPackage{hyperref}
   [2003/11/30 v6.74m
   Hypertext links for LaTeX]

\ProvidesPackage{pdflscape}
   [2004/05/11 v0.3 Landscape pages in PDF (HO)]

Bruno Voisin

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list