On Fri, Jun 5, 2009 at 2:56 PM, Golam Mortuza Hossain<gmhoss...@gmail.com> wrote: > I guess, it shouldn't be difficult to typeset the expression as earlier > even with the new format. We just need to parse it differently. > > Could you please give some clue on how exactly the typesetting with new > symbolics are supposed to work? Is there a _latex_ class method for > symbolic expression somewhere in the new symbolics? > (Earlier there was a "_latex_" method for the class > SymbolicFunctionEvaluation. > From there I could call a function such as > "misc.latex.latex_symbolic_function(self)" ) > If yes, then I should be able to salvage most of the code from an old > patch.
The _latex_ from Expressions calls GiNaC which as code for assembling latex code from the expression tree. The thing that corresponds to SymbolicFunctionEvaluation is roughly sage.symbolic.function.SFunction and PrimitiveFunction. The things of interest are print_latex_func and _print_latex_. Sorry for the rushed explanation. I can take a look at this too later this evening when I have some more time. --Mike --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---