I have installed the TeXLive 2012 version on /usr/local
. Then I have installed the malayalam package and the malayalam.sty
is in the correct place
(ie at /usr/local/texlive/2012/texmf-dist/tex/latex/malayalam
)
But I cant use the file the termiinal gives the error message the package is not found
also kpsewhich
command couldn't find the file.
Best Answer
The correct location for installing TeX related files not included in the TeX Live distribution is under
so, in your case, you should create
and copy
malayalam.sty
in the created directory. After that you have to refresh the file name database:Why not saving the file in
/usr/local/texlive/2012
? Because when a new release of TeX Live is issued, you would have to chase the old distribution for the files you have added in the meantime. This isn't necessary if one uses thetexmf-local
tree.