[texhax] where to put .sty files?

Sebastian Luque sluque at mun.ca
Fri Sep 24 17:43:22 CEST 2004

On Fri, September 24, 2004 09:11 -0500, SteveC wrote:
> Where should I put the .sty file?

Your personal additions should go in your local texmf tree, not the main one. 
You can create your local texmf tree anywhere you want, but a standard place 
for it (including Debian) is /usr/local/share/texmf. You can organize your 
local tree as the main one, so duplicate it with, say:

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>

> I checked the latex faq, but I might have missed something :-/

This is question 113 of the english FAQ. You can also have a look at the 
recommended readings in section C (Documentation and Help) of that FAQ.


More information about the texhax mailing list