#9107: Nested class name mangling can be wrong in case of double nesting
-------------------------------------+-------------------------------------
Reporter: hivert | Owner: nthiery
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.3
Component: categories | Resolution:
Keywords: | Merged in:
Authors: Simon King | Reviewers: Volker Braun, Florent
Report Upstream: N/A | Hivert
Branch: | Work issues:
u/nthiery/nested_class_name_mangling_can_be_wrong_in_case_of_double_nesting|
Commit:
Dependencies: #12808 | 891c3fad654e89e6b96bcf8f79114f631c8b7bba
| Stopgaps:
-------------------------------------+-------------------------------------
Changes (by nthiery):
* commit: => 891c3fad654e89e6b96bcf8f79114f631c8b7bba
Comment:
Gosh, it turned out that using `\setlistdepth{275}` was not sufficient
anymore: I had to use `\setlistdepth{2000}`! This meant the problem
would just keep going to be worst and worst with time.
So I investigated a further and got lucky this time: if we replace
list by trivlist in the customized Verbatim defined by `sphinx.sty`,
then our documenation compiles smoothly, without even using enumitem.
I proposed this fix upstream:
https://bitbucket.org/birkenfeld/sphinx/issue/777/latex-output-too-deeply-
nested
For the time being, I tweaked our conf.py to redefine and fix sphinx's
Verbatim.
Ok, now there just remains to check that all tests pass, and this will
be a needs review.
Cheers,
Nicolas
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=727bd6a3ce1c577295a5fd421c257ae89618e989
727bd6a]||{{{#9107: Enable nesting of a nested class into a nested
class}}}||
||[http://git.sagemath.org/sage.git/commit/?id=213e3b1a612b7e34933432fdd01d0d3f61fe7016
213e3b1]||{{{#9107: Fix one cross reference in the documentation of a
functorial construction}}}||
||[http://git.sagemath.org/sage.git/commit/?id=66b7e72505a6683f246535083f071a3963b11104
66b7e72]||{{{#9107: fix a docstring (missing example and raw)}}}||
||[http://git.sagemath.org/sage.git/commit/?id=891c3fad654e89e6b96bcf8f79114f631c8b7bba
891c3fa]||{{{#9107: monkey patch a fix for deeply nested pdflatex
compilation error until it's merged upstream (Sphinx #777)}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/9107#comment:75>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.