\input{mmd-article-header}
\def\mytitle{Memoir Output Test}
\def\latexmode{memoir}
\input{mmd-article-begin-doc}

\part{This is first part}
\label{thisisfirstpart}

\chapter{First chapter in first part}
\label{firstchapterinfirstpart}

Hi.

\part{Second part}
\label{secondpart}

\chapter{First chapter in second part}
\label{firstchapterinsecondpart}

Bye.

\input{mmd-memoir-footer}

\end{document}
