Skip to content

Commit

Permalink
DOC: fix PDF build for recent LaTeX
Browse files Browse the repository at this point in the history
Was getting LaTeX error::

    ! LaTeX Error: Too deeply nested.

Fixed using answer at
http://stackoverflow.com/questions/28454217/how-to-avoid-the-too-deeply-nested-error-when-creating-pdfs-with-sphinx
  • Loading branch information
matthew-brett committed Feb 16, 2016
1 parent 15a7dd8 commit 413f69a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,11 @@
#latex_use_parts = False

# Additional stuff for the LaTeX preamble.
#latex_preamble = ''
# Add enumitem to allow deeply-nested lists
latex_preamble = """
\usepackage{enumitem}
\setlistdepth{99}
"""

# Documents to append as an appendix to all manuals.
#latex_appendices = []
Expand Down

0 comments on commit 413f69a

Please sign in to comment.