Your output looks different than mine when this happens, but I think it's the same:
there is still a Python text parser operating on your strings before Latex can get to them. \nabla will give you \n "newline", \tau will give you \t, etc. if you type an r before the quotes surrounding the string, e.g. text(r' now you may $\backslash$ until you can $\backslash$ no more... uh... forever' ) the line is read without escape codes. I found this information buried at the bottom of a documentation page, but I think the real problem is that it is unnatural. SAGE should not read Python escape codes inside $'s. As you've noticed from the error message, SAGE doesn't even know it's still doing it. It thinks it's parsing LaTeX. Unless that's not what's happening to you! > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org