#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:19 vbraun]:
 > The only real alternative is make latex objects display graphically by
 default, i.e.
 > {{{
 > sage: latex(1/2)
 > }}}
 > would use the displayhook to show mathjax or pdf.

 +1, there should be a method of `LatexExpr` that shows it pretty like
 `LatexExpr.__pprint__` that is used by the displayhook thing.

 > Thats possible, but I think many people use latex to generate latex code
 to paste into their articles and not to get cute pictures in the notebook.

 Well, they could still do:

 {{{
 sage: latex(1/2) # shows graphically
 sage: print latex(1/2) # prints the source
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18116#comment:21>
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.

Reply via email to