Friday, July 8, 2011

Location of LaTeX packages

Directories where latex looks for packages:

Command to update tex about where to look for packages : texhash <new locn>

To add a .sty file where latex can find it, do
$ kpsewhich -var-value=TEXMFHOME
$ cp mystyle.sty /home/gtholpadi/texmf/tex/latex/local
"tex/latex/local is usually reserved for stuff installed on individual machines" (from here).

No comments:

Post a Comment