If I have a Sage expression, I can do latex(foo)
to get LaTeX code. Is there an inverse to that function? Frequently, I do a calculation in Sage and get something complicated. I find it easier to look at when typeset by TeX, so I call latex(), paste the result into a document, then typeset. Conversely, sometimes I write something in LaTeX and would like to do some calculations with it. So I'd like to call...something, paste the result into Sage, and compute. I'm generally working with reasonably simple symbolic expressions. Is this possible? I know that a full parser is practically impossible, but it seems like a relatively simple parser could work pretty well. I think I'm asking for a complement to Rob Beezer's tex2sws. Thoughts? Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature