#18116: ipython notebook: show compile LaTeX inplace
-------------------------------------+-------------------------------------
Reporter: dkrenn | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.6
Component: notebook | Resolution:
Keywords: ipython, latex, | Merged in:
tikz, sd66 | Reviewers:
Authors: Volker Braun | Work issues:
Report Upstream: N/A | Commit:
Branch: | a6f2fa0974271032d8f8861df8513767a17eb9da
u/vbraun/pdf_wrapper | Stopgaps:
Dependencies: #17821 |
-------------------------------------+-------------------------------------
Comment (by slabbe):
Replying to [comment:22 vbraun]:
> You say that because the objects that you are interested in have a
broken `plot()` method, so you prefer graphical output generated by
compiling latex. What if plot would actually work in the first place (i.e.
have a proper tikz backend for Graphics objects)
1. Through the years, I have been used in Sage for the `plot()` method to
return a `Graphics()` object (and not anything else). If it can be made
more general, why not?
2. I have used cases where I use both : `plot()` method for returning a
Graphics or a Graphics3D sage object *and* `_latex_()` method for
returning the tikz code. This is the case for instance for polyhedron in
Sage where you can first use jmol to choose a nice projection and then
create the tikz code using a chosen projection. Therefore, if `plot()` can
now return output generated by latex, I still want it to draw my other
Graphics sage object output maybe using some other arguments.
3. I think we don't have to hide the object `LatexExpr` to the user. I
mean `view` or `plot` or `show` could just return the compiled default
latex expression. But sometimes (graph for instance), there are many latex
output (depending on which graphviz program I use). So, to me it is not
the object that I draw, it is a latex expression. Therefore, there should
be still a way to obtain the latex expression of an object and then draw
it.
--
Ticket URL: <http://trac.sagemath.org/ticket/18116#comment:23>
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.