#12156: Pretty print LatexExpr directly
----------------------------------+-----------------------------------------
   Reporter:  jdemeyer            |          Owner:  jason         
       Type:  defect              |         Status:  needs_review  
   Priority:  major               |      Milestone:  sage-4.8      
  Component:  misc                |       Keywords:                
Work_issues:                      |       Upstream:  N/A           
   Reviewer:  Andrey Novoseltsev  |         Author:  Jeroen Demeyer
     Merged:                      |   Dependencies:                
----------------------------------+-----------------------------------------

Comment(by ppurka):

 There is just one point. It is not possible to combine normal strings with
 latex strings or LatexExpr with itself. Something like this fails to
 produce the right output: `LatexExpr(r'\Delta') +
 LatexExpr(r'\frac{x}2')`. This gives the wrong output even though the
 addition goes through as strings. Proposed patch is attached, though I
 leave it up to you to decide whether to include it.

 Other than this minor point, the patches provided earlier work as
 advertised. So, positive review from my side.

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

Reply via email to