I am writing a solutions manual companion to some lecture notes. I want the numbering of exercises, solutions, and chapter to align. Thus I want the structure of the document to be something like
\documentclass{report}
\usepackage{hyperref}
\usepackage[numbered]{bookmark}
\begin{document}
\tableofcontents
\chapter*{Exercises}
\addcontentsline{toc}{chapter}{Exercises}
\setcounter{section}{0}
\renewcommand*{\theHsection}{exercises.\the\value{section}}
\section{Laplace transform (chapter 1 in the lecture notes)}
\subsection{}
\subsection{}
\subsection{}
\section{Matrix algebra (chapter 2 in the lecture notes)}
\subsection{}
\subsection{}
\subsection{}
\chapter*{Solutions}
\addcontentsline{toc}{chapter}{Solutions}
\setcounter{section}{0}
\renewcommand*{\theHsection}{solutions.\the\value{section}}
\section{Laplace transform (chapter 1 in the lecture notes)}
\subsection{}
\subsection{}
\subsection{}
\section{Matrix algebra (chapter 2 in the lecture notes)}
\subsection{}
\subsection{}
\subsection{}
\end{document}
...using the hack on hyperref from here: Reset section numbering between unnumbered chapters
There is one issue with this. I get the chapter level numbering displayed! E.g. subsection 0.2.1 for exercise/solution 2.1
How do I get rid of that numbering?