Thursday, October 9, 2008

how to install any package in latex

create a texhash directory in home folder. download the package say "latex-beamer.ter.gz" to a folder inside the texmf/ tree.say "texmf/latex/beamer/". now all the contents of the package should be put in this directory.
Then run "texhash" for latex to find these files.

if you have any dtx file in the package like for eg. "empheq.dtx" then you need to run "tex empheq.dtx" to create the runtime environment files.