I need to add a fancy looking chapter start page to a book. We're using the memoir class and make use of tikz for fancy section and chapter headings. Now, I need to add a list of the sections that occur in the chapter, on the chapter's start page. I've tried using something like:
\documentclass[oneside]{memoir}
\usepackage{tikz}
\usepackage{titletoc}
\usepackage{lipsum}
\begin{document}
\tableofcontents
\chapter{A chapter}
\startcontents[chapters]
\begin{tikzpicture}[overlay]
\node[fill=blue] {\printcontents[chapters]{}{1}{}};
\end{tikzpicture}
\section{Section}
\lipsum[1]
\section{Section 2}
\lipsum
\chapter{Second chapter}
\startcontents[chapters]
\printcontents[chapters]{}{1}{}
\section{Section}
\lipsum[2]
\section{Another section}
\lipsum
\end{document}
but this doesn't seem to work well. My actual code redefines the \chapter command and inserts the tikzpicture as part of the chapter page. I'm aiming for something like this:

I'd appreciate a pointer as to how I can get a mini toc inside a TikZ node OR how to get access to a list of the sections that allows me to loop through them OR any other way to accomplish my goal.

