Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question

migrated from stackoverflow.com Dec 1 '13 at 20:09

This question came from our site for professional and enthusiast programmers.

3  
Issue the command texhash or mktexlsr to update TEX’s filename database and check kpsewhich malayalam.sty at terminal –  texenthusiast Dec 1 '13 at 20:15
3  
You should have installed the package in /usr/local/texlive/texmf-local/tex/latex/malayalam, not in the main tree. Then you have to issue sudo mktexlsr to update the file name database. –  egreg Dec 1 '13 at 20:28
    
@egreg Please make that an answer –  Joseph Wright Jan 11 at 10:12

1 Answer 1

The correct location for installing TeX related files not included in the TeX Live distribution is under

/usr/local/texlive/texmf-local

so, in your case, you should create

sudo mkdir -p /usr/local/texlive/texmf-local/tex/latex/malayalam

and copy malayalam.sty in the created directory. After that you have to refresh the file name database:

sudo mktexlsr

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 the texmf-local tree.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.