Possible Duplicate:
How do I install an individual package on a Linux system?
At university we have now been given a bunch of .sty files which fit the university's template.
I got it to work by just throwing all the files in with the document, however this is messy and I can't help thinking there must be a better way.
So far I've tried putting the files in /etc/texmf which I found some references to but I haven't been able to get it to work.
If there is an easier way not using Texmaker - I'm open to suggestions!
texhash ~/texmf: it's not necessary. Also, remove anyls-Rfile from~/texmf. – egreg Oct 28 '11 at 10:53~/texmf(or~/Library/texmfon Mac OS X) is configured so that TeX programs don't need anls-Rfile for it, but they will use one, if present. The idea is that one can put there files and packages for personal use or for experiments without worrying of doingtexhasheach time the tree is modified. The default setting ofTEXMFisTEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOC AL,!!$TEXMFDIST}; trees not preceded by!!are those that don't requiretexhash. – egreg Oct 28 '11 at 11:04