On Mon, Jan 12, 2009 at 8:57 PM, William Stein <wst...@gmail.com> wrote:
> Do you have any idea how this would work?  I mean, what would Sage
> actually do?   I don't mean "how would it be implemented in Sage", but
> if you could program sage in natural language, how would you describe
> what you're asking for right now?  Just curious.

I can envision two

1. Implement a chdir() method for the Maple interface which changes
Maple's working directory and tell Maple's plot command always to
write to a gif in the working directory.  I don't know if either of
these are doable from the Maple side.

2. Add some sort of hook in so that a user can specify code to execute
before each cell is executed.  This is a bit trickier since you need
to add a mechanism for the notebook to send information to the
ExpectInterface object that is performing the .eval()'s.

I think the first option would definitely be the cleanest / least
amount of work.

--Mike

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to