> I've installed the latest package for emacs, now with sage-view. Wow !
> very very cool, all the bugs are gone.
Thanks to Nick Alexander's great work!
> could i combine this behavior with the nice formulae of sage-view ?
> this would be the definite death of the notebook for me (not that i've
> ever used it much anyway).
Lets quote Nick Alexander announcement for sage-mode 0.5 (post called
`ANN: sage-mode 0.5' posted on sage-devel on Sat, 31 Jan 2009) :
> (...) Use sage-view in an inferior sage buffer to have all your output
> latexed and your plot commands appear inline in the inferior sage
> buffer -- after you apply the patch at
> http://trac.sagemath.org/sage_trac/ticket/5147.
>
I've not tried it. But it seems to be the thing your are looking for,
isn't it?
--
Matthias
He just woke up!
Let me make sure I know the situation: you have applied that small
patch, you have installed sage-mode-0.5.1 (from the wiki), and you are
running Aquamacs? (I haven't tried it with aquamacs.) Also, the
inline equations are being displayed correctly?
Nick
>
> hello all,
>
> i've posted this in sage-support with no luck. Strikes me it might be
> for sage-devel...
>
> I've installed the latest package for emacs, now with sage-view. Wow !
> very very cool, all the bugs are gone.
Would that were true! There are plenty of bugs left, maybe you will
help me fix them :)
> I was wondering, however, how the plots work within sage-view : if i
> try
>
> P= plot(lambda x : sin(x), (-2,2))
>
> Then none of "P" or "show(P)" or anything lets me see the plot... with
> sage-view disabled, i can just ask for "P" and the default image
> viewer on my system starts with the png image, which is great.
I don't use this myself, so an error has slipped in: there seems to be
some problem with synching temporary directories correctly. I will
investigate and try to get a patch to you before the weekend.
Nick
>
>> Let me make sure I know the situation: you have applied that small
>> patch, you have installed sage-mode-0.5.1 (from the wiki), and you
>> are
>> running Aquamacs?
>
> exactly, but in reverse order (applying the patch came last)
That's fine.
>> (I haven't tried it with aquamacs.) Also, the
>> inline equations are being displayed correctly?
>
> yes, it's beautiful latex work ! it's just the plots. And again, i'm
> not sure if the "correct" behaviour of sage-view is to insert the
> plots in emacs or to start an external viewer, but i'd prefer the
> latter (which is what happens with sage-view disabled).
Interesting. It's supposed to insert them inline... but that should
be a toggle, right? I'll work that up and post a patch.
Nick
>
>> Would that were true! There are plenty of bugs left, maybe you will
>> help me fix them :)
>
> I am currently working on `the multiple output bug'. More precisely,
> in case we run the following code, three overlays should be inserted
> in the sage buffer:
I never tried to make this work, but I see now that it should not be
difficult.
> m = Matrix(QQ, 5)
> m.randomize()
> for i in range(3): m^i
>
> Not so easy to fix...
With the original code, yes. With the newer code that accumulates
output and post-processes it, not so hard.
Nick
Now I agree. The difficult part is having three latex processes with
three sentinels.
Nick
sage-mode-0.5.2 is up at http://wiki.sagemath.org/sage-mode. It has
brief docs (very brief!) but you can now use sage-view-
{enable,disable}-inline-{plots,output} to toggle bits of behaviour.
In addition, multiple plots/output works better. Matthieu, you should
work with this one if you implement multiple sentinels for multiple
outputs.
As always, let me know what is borked.
Nick
That's it!
I shifted to the version shipped with sage-mode-0.5.2 this morning. I'll
be away for a couple of days, so you'll hopefully get the multiple
outputs stuff in the middle of next week.
Regards,
--
Matthias
On Thu, Feb 19, 2009 at 01:15:54PM -0800, Nick Alexander wrote:
> sage-mode-0.5.2 is up at http://wiki.sagemath.org/sage-mode. It has
> brief docs (very brief!) but you can now use sage-view-
> {enable,disable}-inline-{plots,output} to toggle bits of behaviour.
> In addition, multiple plots/output works better. Matthieu, you should
> work with this one if you implement multiple sentinels for multiple
> outputs.
Just wanted to take the occasion to finally thank you so much for
'rerun-sage', and the other improvements!
Cheers,
Nicolas
--
Nicolas M. Thiéry "Isil" <nth...@users.sf.net>
http://Nicolas.Thiery.name/
>
> Hi Nick!
>
> On Thu, Feb 19, 2009 at 01:15:54PM -0800, Nick Alexander wrote:
>> sage-mode-0.5.2 is up at http://wiki.sagemath.org/sage-mode. It has
>> brief docs (very brief!) but you can now use sage-view-
>> {enable,disable}-inline-{plots,output} to toggle bits of behaviour.
>> In addition, multiple plots/output works better. Matthieu, you
>> should
>> work with this one if you implement multiple sentinels for multiple
>> outputs.
>
> Just wanted to take the occasion to finally thank you so much for
> 'rerun-sage', and the other improvements!
You are very welcome. Matthias also sent a much improved version of
sage-view that I have yet to put on the wiki; sorry Matthias!
Nick