Friday, July 2, 2010

latex error .sty not found in Cadabra

"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:

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
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.

No comments:

Removing audio noise from a video

The basic steps are to extract the audio, remove noise, and then re-insert the noise-free audio back into the video wrapper. Step I: Ext...