This is my first post on the forum. I found it via google and I hope you have patience for what I am about to ask you

I am basic user of Latex in the process of writing my thesis. I have a mac and I use the TexLive distribution.
I was looking for book layouts in latex when I found this by Allen B. Downey. The source for the book Computational Modeling and Complexity Science is available on the same page, but I cannot compile it. Can someone guide me through the process?
I get an error saying hevea.sty is not found:
Code: Select all
[...]
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/makeidx.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/setspace/setspace.sty
Package: `setspace' 6.7 <2000/12/01>
)
! LaTeX Error: File `hevea.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
Also, do you know where I can layouts for thesis that I can freely use?
Thank you.