[tex-live] Where to copy .sty files

Omer Khalid Omer.Khalid at cern.ch
Fri Nov 20 21:49:51 CET 2009


Hi Hebert,

Thanks for your help; indeed i was putting an extra 's at the end of package
name in my cls.

Ok, now it works :) (BTW, I copied the files to my
home ~/Library/texmf/tex/latex/)

Cheers,
Omer

P.S Thanks a lot to Wagner to for his help and prompt replies...





On Fri, Nov 20, 2009 at 21:45, Herbert Schulz <herbs at wideopenwest.com>wrote:

>
> On Nov 20, 2009, at 2:30 PM, Omer Khalid wrote:
>
> > Hi,
> >
> > I have texlive 2007 installed with MacTex.
> >
> > I need to use algorithmic and algorithms packages, so I got them from
> CTAN
> > site and extracted the *.sty files.
> >
> > I tried to copy them to various places including ~/texmf/tex or
> > ~/Library/texmf/tex/latex or in the directory where my thesis tex files
> are.
> > Afterwards, I ran "texhash" command to refresh the database; but it seems
> > that my tex system still can't located the files as I keep on getting the
> > error about the missing algorithms.sty file.
> >
> > I also tried to find "tlmgr" command on my OS X Lepord machine no luck!
> >
> > Any help in how to install these .sty files would be very much
> appreciated.
> >
> > Thanks,
> > Omer
>
> Howdy,
>
> Your personal tree in ~/Library/texmf/tex/latex/ (~ is your HOME directory
> --- NOT in the Library folder at the root of your hard drive) is the correct
> place to put the files. You also don't have to run texhash for files stored
> in your personal tree.
>
> Finally, the package itself is called algorithm, not algorithms (no final
> `s'). So you should  use it
>
> \usepackage{algorithm}
>
> not
>
> \usepackage{algorithms}
>
> Hope that helps.
>
> By the way... is there some reason you can't/won't update your TeX system
> to MacTeX-2009? What version of the OS are you using? You can download
> MacTeX-2009 from <http://www.tug.org/mactex/2009/>.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20091120/01f7604f/attachment.html>


More information about the tex-live mailing list