title: How to avoid the "too deeply nested" error when creating PDFs with Sphinx?
body: <p>I have a fairly complex project with a fairly large documentation.
  Converting the normal <em>user guide</em> to PDF with Sphinx via <code>make latexpdf</code> works quite well. However, if I also want to include the library reference with all function, class, and module documentations, the command fails with:</p>
  
  <pre><code>! LaTeX Error: Too deeply nested.
  </code></pre>
  
  <p>Manually reducing the nesting is not an option. Sphinx internally nests parameter descriptions, function descriptions, module descriptions and whatnot. So figuring out in each case how to reduce the nesting is almost impossible.</p>