By the way, you need "dummyindex" because you have
\input{${PROJECT}.ind} below. \printindex is enough.
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
<<dummyindex>>=
\begin{theindex}
\item none
\end{theindex}
\printindex
\input{${PROJECT}.ind}
\end{document}
on my system latex blows up on the \input if project.ind does not exist.
the first time you build a pamphlet project.ind does not exist.
so you have to make sure it exists (hence dummyindex).
i suppose if i were thinking ahead i could have just done 'touch foo.ind'.
sigh. hindsight is good stuff.
t