sage-shell-mode icon indicating copy to clipboard operation
sage-shell-mode copied to clipboard

Auctex integration in environments

Open Poetastrophe opened this issue 8 years ago • 2 comments

I use auctex with sagetex and I was wondering if there Is a way to use sage-shell-mode in latex environments such as "sageblock" "sagesilent" and others in one which to specify?

Poetastrophe avatar Nov 18 '17 16:11 Poetastrophe

sage-shell-sagetex:load-file evaluates the whole sagetex buffer using running Sage process, but you are asking about a command that evaluates a specified environment using sage-shell-mode. Currently, there is no such a command but I think it is not difficult to implement such a command. Thank you for suggestion.

stakemori avatar Nov 19 '17 09:11 stakemori

In the latest commit in master, I just added a command sage-shell-sagetex:send-environment. This supports sageblock and sagesilent but sagecommandline is not supported (yet).

stakemori avatar Nov 19 '17 10:11 stakemori