docs: Instruct LaTeX to cope with deeper nesting
Jonathan Corbet
maintainerPATCH 1/1 docs: Instruct LaTeX to cope with deeper nesting
The addition of the XFS online fsck documentation starting with commit a8f6c2e54ddc ("xfs: document the motivation for online fsck design") added a deeper level of nesting than LaTeX is prepared to deal with. That caused a pdfdocs build failure with the helpful "Too deeply nested" error message buried deeply in Documentation/output/filesystems.log.
Increase the "maxlistdepth" parameter to instruct LaTeX that it needs to deal with the deeper nesting whether it wants to or not.
--- Documentation/conf.py | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/conf.py +6 -0
@@ -388,6 +388,12 @@ latex_elements = { verbatimhintsturnover=false, ''', + # + # Some of our authors are fond of deep nesting; tell latex to + # cope. + # + 'maxlistdepth': '10', + # For CJK One-half spacing, need to be in front of hyperref 'extrapackages': r'\usepackage{setspace}',
Signature · 1 line
2.43.0
Quoted 6 lines · Jonathan Corbet
The addition of the XFS online fsck documentation starting with commit
a8f6c2e54ddc("xfs: document the motivation for online fsck design") added a deeper level of nesting than LaTeX is prepared to deal with. That caused a pdfdocs build failure with the helpful "Too deeply nested" error message buried deeply inDocumentation/output/filesystems.log.
Quoted 6 lines
Increase the "maxlistdepth" parameter to instruct LaTeX that it needs to deal with the deeper nesting whether it wants to or not.
Suggested-by Akira Yokosawa <[email protected]>Signed-off-by Jonathan Corbet <[email protected]>
And it seems this one might deserve
too, in case someone tries "make pdfdocs" against 6.6.x LTS and 6.7.x stable branches.
Commit a8f6c2e54ddc did nothing wrong on its own, so a Fixes: tag is inappropriate here.
Quoted 9 lines
--- Documentation/conf.py | 6 ++++++ 1 file changed, 6 insertions(+)Documentation/conf.py +0
-0
Documentation/conf.py latex_elements = { · line 393
Quoted 6 lines
Documentation/conf.py +3
-0@@ -388,6 +388,12 @@ latex_elements = { verbatimhintsturnover=false, ''', + # + # Some of our authors are fond of deep nesting; tell latex to + # cope.
I like this wording! :-)
Thanks, Akira
Quoted 6 lines
Documentation/conf.py +3
-0+ # + 'maxlistdepth': '10', + # For CJK One-half spacing, need to be in front of hyperref 'extrapackages': r'\usepackage{setspace}',
Jonathan Corbet
maintainerQuoted 7 lines · Akira Yokosawa
Quoted 6 lines · Jonathan Corbet
The addition of the XFS online fsck documentation starting with commit
a8f6c2e54ddc("xfs: document the motivation for online fsck design") added a deeper level of nesting than LaTeX is prepared to deal with. That caused a pdfdocs build failure with the helpful "Too deeply nested" error message buried deeply inDocumentation/output/filesystems.log.
Quoted 8 lines
Quoted 6 lines
Increase the "maxlistdepth" parameter to instruct LaTeX that it needs to deal with the deeper nesting whether it wants to or not.
Suggested-by Akira Yokosawa <[email protected]>Signed-off-by Jonathan Corbet <[email protected]>Tested-by Akira Yokosawa <[email protected]>
Thanks
Quoted 6 lines
And it seems this one might deserve
Cc [email protected] # v6.4too, in case someone tries "make pdfdocs" against 6.6.x LTS and 6.7.x stable branches.
Agreed, that was in my plans.
Quoted 2 lines
Commit
a8f6c2e54ddcdid nothing wrong on its own, so a Fixes: tag is inappropriate here.
And a Fixes tag was definitely *not* in the plan.
Thanks,
jon
Quoted 27 lines · Jonathan Corbet
Quoted 7 lines · Akira Yokosawa
Quoted 6 lines · Jonathan Corbet
The addition of the XFS online fsck documentation starting with commit
a8f6c2e54ddc("xfs: document the motivation for online fsck design") added a deeper level of nesting than LaTeX is prepared to deal with. That caused a pdfdocs build failure with the helpful "Too deeply nested" error message buried deeply inDocumentation/output/filesystems.log.Quoted 8 lines
Quoted 6 lines
Increase the "maxlistdepth" parameter to instruct LaTeX that it needs to deal with the deeper nesting whether it wants to or not.
Suggested-by Akira Yokosawa <[email protected]>Signed-off-by Jonathan Corbet <[email protected]>Tested-by Akira Yokosawa <[email protected]>Thanks
Quoted 6 lines
And it seems this one might deserve
Cc [email protected] # v6.4too, in case someone tries "make pdfdocs" against 6.6.x LTS and 6.7.x stable branches.
Quoted 6 lines
Agreed, that was in my plans.
Quoted 2 lines
Commit
a8f6c2e54ddcdid nothing wrong on its own, so a Fixes: tag is inappropriate here.And a Fixes tag was definitely *not* in the plan.
Now I see this in docs-fixes.
BTW, I expected Vergard's fix to the translations extension would also be in the -fixes branch, but it is now in the -mw branch as commit 2bd6f4d99e12.
Can you please have a look at it?
Thanks, Akira
Quoted 4 lines
Thanks,
jon
Jonathan Corbet
maintainerQuoted 3 lines · Akira Yokosawa
BTW, I expected Vergard's fix to the translations extension would also be in the -fixes branch, but it is now in the -mw branch as commit
2bd6f4d99e12.
Yeah, I'd meant to do that, got caught up in the PDF nightmare. I'll put it there; that will force a rebase onto docs-next, but so it goes.
Thanks,
jon