#13632: Fix latex display of arguments of symbolic functions
-----------------------------+----------------------------------------------
Reporter: gouezel | Owner: burcin
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-5.5
Component: symbolics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------+----------------------------------------------
Comment (by gouezel):
It is certainly possible to avoid the conversion from string to LatexExpr
and then back to string. However, simply trying x._latex_() and catching
an exception will not suffice, since _latex_() is broken in some cases
where it exists (see has_latex_attr in latex.py). So, one would need to
duplicate part of the code of latex() (more precisely, the first few lines
of Latex.__call__).
Since latex output should never be speed-critical (it is supposed to be
read by humans, right?), I would rather stay with the current version of
the patch to avoid code duplication and keep it as simple as possible.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13632#comment:3>
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 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.