#4945: LaTeX for gp elements shouldn't use verbatim environment
--------------------+-------------------------------------------------------
Reporter: malb | Owner: cwitty
Type: defect | Status: new
Priority: minor | Milestone: sage-3.4
Component: misc | Keywords: jsmath
--------------------+-------------------------------------------------------
Gary wrote:
When using the SAGE notebook with typeset on, the command
{{{
gp(2+2)
}}}
gives the error {{{'Unknown environment "verbatim"'}}}.
Typing
{{{
gp(2+2)
}}}
in the SAGE command line works fine. I think it is a latex output
error.
I can confirm this bug. It is caused by the generic latex method for
Expect elements:
{{{
sage: latex(gp(2+2))
\begin{verbatim}4\end{verbatim}
}}}
which apparently doesn't play well with jsMath.
{{{search_src("begin{verbatim}")}}} returns 43 hits.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4945>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---