#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-5.10
Component: categories | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Volker Braun, Florent Hivert
Authors: Simon King | Merged in:
Dependencies: #12808 | Stopgaps:
------------------------------+---------------------------------------------
Comment (by SimonKing):
Replying to [comment:35 jhpalmieri]:
> I think that the first line in the LaTeX error message is correct:
> {{{
> ! LaTeX Error: Too deeply nested.
> }}}
> I think that there are too many levels of nesting of lists (from the
`fulllineitems` environment). If I comment out the `Verbatim` environment
that it's complaining about, I don't get an error message any more.
Please, where is the nesting? I suppose by "comment out the `Verbatim`
environment that it's complaining about", you mean one of two `Verbatim`
environments that were cited in comment:28.
The first is
{{{
\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{sage: }\PYG{k+kn}{from}
\PYG{n+nn}{sage.categories.realizations} \PYG{k+kn}{import}
\PYG{n}{Category\PYGZus{}realization\PYGZus{}of\PYGZus{}parent}
\PYG{g+gp}{sage: }\PYG{n}{A} \PYG{o}{=}
\PYG{n}{Sets}\PYG{p}{(}\PYG{p}{)}\PYG{o}{.}\PYG{n}{WithRealizations}\PYG{p}{(}\PYG{p}{)}\PYG{o}{.}\PYG{n}{example}\PYG{p}{(}\PYG{p}{)}\PYG{p}{;}
\PYG{n}{A}
\PYG{g+go}{The subset algebra of \PYGZob{}1, 2, 3\PYGZcb{} over Rational
Field}
\PYG{g+gp}{sage: }\PYG{n}{C} \PYG{o}{=}
\PYG{n}{A}\PYG{o}{.}\PYG{n}{Realizations}\PYG{p}{(}\PYG{p}{)}\PYG{p}{;}
\PYG{n}{C}
\PYG{g+go}{Category of realizations of The subset algebra of \PYGZob{}1,
2, 3\PYGZcb{} over Rational Field}
\PYG{g+gp}{sage: }\PYG{n+nb}{isinstance}\PYG{p}{(}\PYG{n}{C}\PYG{p}{,}
\PYG{n}{Category\PYGZus{}realization\PYGZus{}of\PYGZus{}parent}\PYG{p}{)}
\PYG{g+go}{True}
\PYG{g+gp}{sage:
}\PYG{n}{C}\PYG{o}{.}\PYG{n}{parent\PYGZus{}with\PYGZus{}realization}
\PYG{g+go}{The subset algebra of \PYGZob{}1, 2, 3\PYGZcb{} over Rational
Field}
\PYG{g+gp}{sage:
}\PYG{n}{TestSuite}\PYG{p}{(}\PYG{n}{C}\PYG{p}{)}\PYG{o}{.}\PYG{n}{run}\PYG{p}{(}\PYG{p}{)}
\end{Verbatim}
}}}
the second is
{{{
\begin{Verbatim}[commandchars=\\\{\}] %% PROBLEM IS THIS LINE %%
\PYG{g+gp}{sage: }\PYG{n}{A} \PYG{o}{=}
\PYG{n}{Sets}\PYG{p}{(}\PYG{p}{)}\PYG{o}{.}\PYG{n}{WithRealizations}\PYG{p}{(}\PYG{p}{)}\PYG{o}{.}\PYG{n}{example}\PYG{p}{(}\PYG{p}{)}\PYG{p}{;}
\PYG{n}{A}
\PYG{g+go}{The subset algebra of \PYGZob{}1, 2, 3\PYGZcb{} over Rational
Field}
\PYG{g+gp}{sage:
}\PYG{n}{A}\PYG{o}{.}\PYG{n}{Realizations}\PYG{p}{(}\PYG{p}{)}\PYG{o}{.}\PYG{n}{super\PYGZus{}categories}\PYG{p}{(}\PYG{p}{)}
\PYG{g+go}{[Category of realizations of sets]}
\end{Verbatim}
}}}
I suppose `%% PROBLEM IS THIS LINE %%` in the second environment was
Jeroen's addition.
So, what is "too deeply nested"? I can't believe that such a short piece
of text has even enough characters to nest too deeply for latex!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9107#comment:36>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.