> I would like to do simple engineering calculations in SageTEX, similarly > to how I use MathCAD or SMath. > > But it does not seem possible, when I define variables like: > > Total Mass & $\sage{m_{tot}=120}$ & $kg$ > > I cannot use them again later? > > From reading about the problem, I should use sagesilent or sageblock, but > that defeats the purpose of nicely documenting your calculations as you do > them? > > Then I would have to repeat everything twice? Once for displaying it > correctly formatted in Latex and once again in sagesilent to actually store > the values of the variables? >
I'm forwarding this to sage-support where it is more likely you will get some answers. I'm a bit surprised that \sage{m_{tot}=120} works - is m_{tot} = 120 valid Sage/Python syntax? I don't think so, at least. -- You received this message because you are subscribed to the Google Groups "sage-edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-edu+unsubscr...@googlegroups.com. To post to this group, send email to sage-edu@googlegroups.com. Visit this group at http://groups.google.com/group/sage-edu. For more options, visit https://groups.google.com/d/optout.