Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.2k
gh-139588: Docs: PDF/LaTeX: bump max list depth#140709
gh-139588: Docs: PDF/LaTeX: bump max list depth#140709AA-Turner merged 3 commits intopython:mainfrom
Conversation
Prevents LaTeX PDF build error `Too deeply nested`. (Regression frompython#139509.)
Prevents LaTeX PDF build error `Too deeply nested`. (Regression frompython#139509.)
Uh oh!
There was an error while loading.Please reload this page.
AA-Turner commentedOct 28, 2025
Thanks, I've also increased it to 8 per Jean-François' suggestion. A |
ce4b0ed intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@m-aciek for the PR, and@AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
(cherry picked from commitce4b0ed)Co-authored-by: Maciej Olko <maciej.olko@affirm.com>Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
(cherry picked from commitce4b0ed)Co-authored-by: Maciej Olko <maciej.olko@affirm.com>Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
GH-140724 is a backport of this pull request to the3.14 branch. |
GH-140725 is a backport of this pull request to the3.13 branch. |
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
m-aciek commentedMar 4, 2026
FYI I discovered yesterday that this PR didn't fully fixed the PDF build issue. Now The error from Index: Doc/conf.pyIDEA additional info:Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8===================================================================diff --git a/Doc/conf.py b/Doc/conf.py--- a/Doc/conf.py(revision 8255901127193a0b5e82034e730f7749b68c460f)+++ b/Doc/conf.py(revision a93073936f4ea1cd3fa62e0a478b1b3aa1f40a98)@@ -355,6 +355,7 @@ \let\Verbatim=\OriginalVerbatim \let\endVerbatim=\endOriginalVerbatim \setcounter{tocdepth}{2}+\makeatletter\let\@toodeep\relax\makeatother ''', # The paper size ('letterpaper' or 'a4paper'). 'papersize': 'a4paper', I plan to prepare a follow-up PR soon. |
jfbu commentedMar 4, 2026 via email
Hi, I guess setting `'maxlistdepth'` to a higher value `'10'` or `'12'` did not help? It would be nice to fetch the actual reported LaTeX error for analysis, if at all possible. |
m-aciek commentedMar 4, 2026
I will try it later.
The logs are available here:https://github.com/m-aciek/python-docs-offline/actions/runs/22630330823. There ispdf-logs.zip artifact with |
jfbu commentedMar 4, 2026
In Try increasing the setting of |
m-aciek commentedMar 4, 2026
I am sorry for confusion, I was wrong! I was working on an old checkout from repository 🤦 and didn't have above changes locally. Sorry for the noise, and thank you for the help@jfbu! |
jfbu commentedMar 4, 2026 via email
no problem, glad you could figure it out! |
Uh oh!
There was an error while loading.Please reload this page.
Prevents LaTeX PDF build error
Too deeply nested. (Regression from#135945.)Thanks@jfbu for thefix suggestion.
Better alternative to#140445.
Could it be labeled for backport on 3.13-3.15 please?
📚 Documentation preview 📚:https://cpython-previews--140709.org.readthedocs.build/