2

I'd be glad if somebody can help me resolving the following issue. Basically, hyperref is confused by my code.

I want the following document structure.

Chapter 1
Chapter 2 
Solutions to Exercises 
   | 
   + - Chapter 1
   | 
   + - Chapter 2
Index
Bibliography  

Here is a minimal (non-)working example (I know why this will not work, but, I am unsure how to fix).

\documentclass{amsbook} 
\usepackage{hyperref}
\makeindex 
\begin{document}
    \frontmatter
    \title{A Book} 
    \author{Me} 
    \maketitle

    \tableofcontents

    \mainmatter 
    \chapter{Chapter 1} 
    \chapter{Chapter 2} 

    \part*{Solution to Exercises} 
    \setcounter{chapter}{0}
    \chapter{Chapter 1} 
    \chapter{Chapter 2} 

    \backmatter
    \printindex
    \bibliography 
\end{document}  

Edit. The question is not a duplicate of the previous question. It does answer a part of the question however. The remaining parts:

  1. The index is not being printed.
  2. The index and bibliography are now subbookmarks of the bookmark "Solutions to Exercises".

Any help, atleast through comments, will be very helpful.

kan
  • 4,545

0 Answers0