Ticket #4945 (closed defect: fixed)
[with patch, positive review] LaTeX for gp elements shouldn't use verbatim environment
| Reported by: | malb | Owned by: | cwitty |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-3.3 |
| Component: | misc | Keywords: | jsmath |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

