
I compiled a memoir document that has "0." prepended with Contents. How can I remove it?
\documentclass[12pt,oneside]{memoir}
\title{Document}
\author{prosseek}
% http://tex.stackexchange.com/questions/97465/modify-default-memoir-chapter-style
\makeatletter
\newcommand{\fonttitle}{\chaptitlefont}
\makechapterstyle{mystyle}{%
\def\chapterheadstart{\vspace*{\beforechapskip}}
\def\printchaptername{}
\def\printchapternum{}
\def\printchapternonum{}
\def\printchaptertitle##1{\fonttitle \space \fonttitle \thechapter.\space \fonttitle ##1}
\def\afterchaptertitle{\par\nobreak\vskip \afterchapskip}
}
\makeatother
\chapterstyle{mystyle}
\begin{document}
\maketitle
\tableofcontents
\chapter{The Domain Problem and Stakeholders}
\section{First}
abcdef.
\end{document}
\frontmatterand\mainmatterdeclarations in your document. Or, if not writing a full book, use thearticleoption to the class. – jon Sep 30 '13 at 22:33