% section numbers 5 levels deep
\setcounter{secnumdepth}{5}

\begin{document}
\pagestyle{fancy}

% start text
\setcounter{page}{1}

%%% define header and footer
\cmisheaderfooter

%%% define header an footer for chapter title pages
\fancypagestyle{plain}{\fancyhf{}\cmisheaderfooter}

% title page
\input{title.tex} 

% ToC
\setcounter{page}{4}
\setcounter{tocdepth}{3}
\renewcommand{\contentsname}{Table of Contents}
\addtocontents{toc}{\protect\cmisheaderfooter}
\tableofcontents
\newpage

%%% line numbers?
%\linenumbers

% introduction
\input{introduction.tex} 

% CMIS Domain Model
\input{domain-model.tex} 

% AtomPub Binding
\input{atompub.tex} 

% Web Services Binding
\input{webservices.tex} 

% Browser Binding
\input{browser.tex} 

% Conformance
\input{conformance.tex}

% appendix
\appendix
\def\@chapapp{\appendixname}

% IANA Considerations (AtomPub binding)
\input{iana.tex} 

% Orderly (Browser Binding)
\input{Orderly.tex} 

% acknowledgements
\input{acknowledgements.tex} 

% draft change log
\input{changelog.tex} 

\end{document} 