On May 22, 10:22 pm, John H Palmieri <jhpalmier...@gmail.com> wrote:
> On May 22, 9:57 pm, Rob Beezer <goo...@beezer.cotse.net> wrote:
>
> > So as Robert suggests, it might be easy to just modify
> > str_function()  to replace "\n" by "\newline" and get what I think
>
> That doesn't seem to work for me.

Based on some limited testing - just editing the text version of a
worksheet - would indicate that jsMath does not want to deal with
\newline or \\ to break lines.  With no better idea, I was able to use
HTML paragraph tags to get two chunks of text on different lines, of
course.  Maybe a string could be chunked up based on the presence of
\n, then each handled on its own, producing HTML (as currently),
though deciding just when to wrap these with <p></p> sounds
problematic (maybe just the presence of \n would be good enough?).

Rob

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to