% Start document if it's a stand alone, otherwise,
% increase the documentdepth counter by one
\ifnum\value{page}=1
  \documentclass[11pt,twoside]{article}
  \newcounter{documentdepth}
  \usepackage{latex-macros/book}
  \handouttrue
  \begin{document}
\else
  \setcounter{documentdepth}{\value{documentdepth}+1}
\fi
