I'm having a very weird problem. The following example should illustrate it quite right.
\documentclass[a4paper,12pt]{memoir}
\begin{document}
\frontmatter
\tableofcontents
\clearpage
\mainmatter
\chapter{Chapter 1}
\end{document}
I've compiled it with xelatex
but on the table of contents page, it is referencing the table of contents page as Contents, which is the header of that page as well. It does make sense to me to a certain extend. But I'd still like to know how to get rid of the self-reference.