Hi Hebert,<div><br></div><div>Thanks for your help; indeed i was putting an extra &#39;s at the end of package name in my cls.</div><div><br></div><div>Ok, now it works :) (BTW, I copied the files to my home ~/Library/texmf/tex/latex/)<br>
<div><br clear="all">Cheers,<br>Omer</div><div><br></div><div>P.S Thanks a lot to Wagner to for his help and prompt replies...</div><div><br></div><div><br><br>
<br><br><div class="gmail_quote">On Fri, Nov 20, 2009 at 21:45, Herbert Schulz <span dir="ltr">&lt;<a href="mailto:herbs@wideopenwest.com">herbs@wideopenwest.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
On Nov 20, 2009, at 2:30 PM, Omer Khalid wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have texlive 2007 installed with MacTex.<br>
&gt;<br>
&gt; I need to use algorithmic and algorithms packages, so I got them from CTAN<br>
&gt; site and extracted the *.sty files.<br>
&gt;<br>
&gt; I tried to copy them to various places including ~/texmf/tex or<br>
&gt; ~/Library/texmf/tex/latex or in the directory where my thesis tex files are.<br>
&gt; Afterwards, I ran &quot;texhash&quot; command to refresh the database; but it seems<br>
&gt; that my tex system still can&#39;t located the files as I keep on getting the<br>
&gt; error about the missing algorithms.sty file.<br>
&gt;<br>
&gt; I also tried to find &quot;tlmgr&quot; command on my OS X Lepord machine no luck!<br>
&gt;<br>
&gt; Any help in how to install these .sty files would be very much appreciated.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Omer<br>
<br>
</div></div>Howdy,<br>
<br>
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&#39;t have to run texhash for files stored in your personal tree.<br>

<br>
Finally, the package itself is called algorithm, not algorithms (no final `s&#39;). So you should  use it<br>
<br>
\usepackage{algorithm}<br>
<br>
not<br>
<br>
\usepackage{algorithms}<br>
<br>
Hope that helps.<br>
<br>
By the way... is there some reason you can&#39;t/won&#39;t update your TeX system to MacTeX-2009? What version of the OS are you using? You can download MacTeX-2009 from &lt;<a href="http://www.tug.org/mactex/2009/" target="_blank">http://www.tug.org/mactex/2009/</a>&gt;.<br>

<br>
Good Luck,<br>
<br>
Herb Schulz<br>
(herbs at wideopenwest dot com)<br>
<br>
<br>
<br>
</blockquote></div><br></div></div>