Summary
A Markdown list nested beyond LaTeX's default limit (~4 levels) aborts the PDF build with LaTeX Error: Too deeply nested. Nothing in the Markdown signals to an author that they've exceeded a renderer limit, so the failure is surprising and the only recourse today is to restructure the prose.
Context
Hit while building the Geometry spec: a six-level bullet list in the Imageable section aborted the PDF build. It was worked around content-side (flattened to four levels), but the build itself should tolerate deeper nesting so authored content isn't silently constrained by the LaTeX renderer.
Suggested fix (direction, not yet validated)
Load enumitem in template/after-header-includes.latex and raise the list-nesting cap, e.g.:
\usepackage{enumitem}
\setlistdepth{9}
\renewlist{itemize}{itemize}{9}
\setlist[itemize]{label=\textbullet}
\renewlist{enumerate}{enumerate}{9}
(define per-level labels as desired). Validate that deep itemize/enumerate render, and check interaction with the existing titlesec setup.
Notes
Summary
A Markdown list nested beyond LaTeX's default limit (~4 levels) aborts the PDF build with
LaTeX Error: Too deeply nested.Nothing in the Markdown signals to an author that they've exceeded a renderer limit, so the failure is surprising and the only recourse today is to restructure the prose.Context
Hit while building the Geometry spec: a six-level bullet list in the
Imageablesection aborted the PDF build. It was worked around content-side (flattened to four levels), but the build itself should tolerate deeper nesting so authored content isn't silently constrained by the LaTeX renderer.Suggested fix (direction, not yet validated)
Load
enumitemintemplate/after-header-includes.latexand raise the list-nesting cap, e.g.:(define per-level labels as desired). Validate that deep
itemize/enumeraterender, and check interaction with the existingtitlesecsetup.Notes