[texhax] where to put .sty files?

Sebastian Luque sluque at mun.ca
Sat Sep 25 00:43:53 CEST 2004

On Fri, September 24, 2004 16:07 -0500, Pierre MacKay wrote:
> >
> > cd /usr/share/texmf	# or wherever your $TEXMFMAIN is
> > find . -type d | cpio -pdv /usr/local/share/texmf
> >
> > <*.sty> files can then go in /usr/local/share/texmf/tex/latex/<package>
> Copying the entire TEXMFMAIN to /usr/local seems extreme.  That is what
> TEXMFCNF is for, and most particularly what SELFAUTOLOC, etc. is for.

But the procedure I had suggested would only copy the directory tree without 
the leaves (i.e. the files themselves). That way, you can easily figure out 
where to put new files by referring to their equivalent place in $TEXMFMAIN.


More information about the texhax mailing list