title: Multiple tables of contents in LaTeX
body: <p>I would like to make a LaTeX document with two tables of contents, like:</p>
  
  <blockquote>
    <p>Contents overview</p>
    
    <ul>
    <li>1 - Introduction</li>
    <li>2 - Solution</li>
    </ul>
    
    <p>Detailed contents</p>
    
    <ul>
    <li>1 - Introduction
    
    <ul>
    <li>1.1 - The problem</li>
    <li>1.2 - Why?</li>
    </ul></li>
    <li>2 - Solution
    
    <ul>
    <li>2.1 - Phase A</li>
    <li>2.2 - Phase B</li>
    </ul></li>
    </ul>
  </blockquote>
  
  <p>I tried with </p>
  
  <pre><code>\setcounter{tocdepth}{1}
  \tableofcontents
  
  \setcounter{tocdepth}{2}
  \tableofcontents
  </code></pre>
  
  <p>but this only displays the first table of contents as required. The second table of contents is empty...
  (The second table of contents is actually empty even without the two <code>\setcounter</code> lines.)</p>
  
  <p>(A related question: how to change the title of the table of contents (to something different than the default Contents)?)</p>