Building the LaTeXΒΆ
Prosecode attempts to build relatively minimal LaTeX. If you want to then build the produced LaTeX into a pdf, you would input the generated file into some other LaTeX source. For example, the following wraps file1 and file2 as chapters in a book.
\documentclass{book}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{fancyvrb}
\usepackage{color}
\usepackage{graphicx}
\usepackage{etoolbox} % Only used for block quotes.
\input{pygments_macros}
\begin{document}
\input{titlepage}
\tableofcontents
\input{file1}
\input{file2}
\end{document}