I have an existing PDF (scanned notes from a class). I'd like to improve this basic scan as much as possible. I do not think that any OCR is good enough to recognize handwriting, so I cannot make it searchable. But I would like to manually modify it by adding a TOC in the beginning that links to parts of the document.

One way could be to split the PDF into separate documents, then have:

\section{Part One}
\include{part1.pdf}
\section{Part Two}
\include{part2.pdf}


But I am wondering if there is a way to do this without splitting it up.

-
@gull there is already an accepted answer so I think the posters problem was solved in 2011. –  dustin Aug 12 '13 at 10:12

use package pdfpages and then:

\documentclass{article}
\usepackage{pdfpages}
\usepackage{hyperref}
\begin{document}

\tableofcontents
\clearpage\phantomsection
\addcontentsline{toc}{section}{The first section name}% or chapter
\clearpage\phantomsection
\addcontentsline{toc}{section}{The second section name}% or chapter
\clearpage\phantomsection
\addcontentsline{toc}{section}{The third section name}% or chapter

@Will do you mean addtotoc? –  mankoff Feb 14 '11 at 21:58
@mankoff — yes, sorry. My brain confused linktodoc and addtotoc. –  Will Robertson Feb 14 '11 at 23:55