\documentclass[12pt]{book}

\input{../../header}

\lstset{inputpath=../code}
\graphicspath{{figures/}}

\setcounter{page}{133}
\setcounter{chapter}{8}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document} 

\input{designpattern}

\end{document}
