Hi there, I'm currently preparing a few of demo for sage days 28. I'm using .rst file for the demo. Indeed, compared to notebook it can be edited by hand, and it allows easier distribution and versioning. However I'm having trouble with sage -t. Suppose I'm writing the following .rst file
""" Examples of code:: sage: el = 1 sage: el 1 Some explanations:: sage: el 1 """ Then launching sage -t give the following error on the second example: sage: el NameError: name 'el' is not defined It seems that it forget the variables at each new block of code. Is this behavior normal ? Intended ? Or a bug ? Isn't a .rst file considered as a big docstring by the tester ? Cheers, Florent -- 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