"latex error your-new-file.sty not found"
while building your .tex files, and you are sure you've just put them in some sort of directory like:
/usr/share/texmf/tex/latex/your-new-directory
After that run the command
$ texhash
and then, latex should be ready to find your style files
Foe example, xcadabra showed the error breqn.sty not found. I downloaded it from
http://www.ctan.org/tex-archive/help/Catalogue/entries/breqn.html?ref=darwinports.com
and copied it to /usr/share/texmf/tex/latex/cadabra
Still it was not working. Then I used texhash and it worked.
Sometimes then it might miss some other .sty file and even after adding that file manually from CTAN it keeps on adding up. More and more sty files are not found.
A fix would be to delete the directory /usr/share/texmf/tex/latex/cadabra
then reinstall cadabra
sudo apt-get install --reinstall cadabra
It should work now.
If that does not work and there is error that flexisym.sty not found andeven after adding that style file errors keep coming, it means the mh bundle is not installed.
Install it by
sudo apt-get install texlive-latex3
Now, copy the breqn.sty again and do a texhash.
while building your .tex files, and you are sure you've just put them in some sort of directory like:
/usr/share/texmf/tex/latex/your-new-directory
After that run the command
$ texhash
and then, latex should be ready to find your style files
Foe example, xcadabra showed the error breqn.sty not found. I downloaded it from
http://www.ctan.org/tex-archive/help/Catalogue/entries/breqn.html?ref=darwinports.com
and copied it to /usr/share/texmf/tex/latex/cadabra
Still it was not working. Then I used texhash and it worked.
Sometimes then it might miss some other .sty file and even after adding that file manually from CTAN it keeps on adding up. More and more sty files are not found.
A fix would be to delete the directory /usr/share/texmf/tex/latex/cadabra
then reinstall cadabra
sudo apt-get install --reinstall cadabra
It should work now.
If that does not work and there is error that flexisym.sty not found andeven after adding that style file errors keep coming, it means the mh bundle is not installed.
Install it by
sudo apt-get install texlive-latex3
Now, copy the breqn.sty again and do a texhash.
Comments