#7326: html.table should automatically typeset math inside of strings
---------------------------+------------------------------------------------
Reporter: jason | Owner: cwitty
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.2.1
Component: misc | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
---------------------------+------------------------------------------------
Comment(by jason):
Replying to [comment:2 whuss]:
> As a workaround this already works:
>
> {{{
> var('t')
> density=t^2
> html.table([
> ['Density <span class="math">\delta(x,y)</span>', density]
> ])
> }}}
so does html.table([[sage.misc.html.math_parse('hi $x^2$')]])
Maybe what is going on is jsmath seems to be not set up to try to find
dollar signs, but to only pay attention to class="math" spans and divs.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7326#comment:4>
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
-~----------~----~----~----~------~----~------~--~---