

The content of chapter 1 is given in \mylref{1}{A nice link} and the content of chapter 2 is given in \mylref{3}{another link}
\chapter{Chapter 1}

\myminitoc
\label{0}





\label{1}
chapter 1 content
\chapter{Chapter 2}

\myminitoc
\label{2}





\label{3}
chapter 2 content



