[sage-support] Re: show typesetted output

2008-07-20 Thread Alejandro Jakubi
Hello Could someone reproduce this output producing TeX code? Is it well known issue of the command 'show'? Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PRO

[sage-support] Re: sage: in the notebook input

2008-07-20 Thread Alejandro Jakubi
> in the notebook one has the rule: "If any line starts with a prompt, > then *only* the lines that start with prompts are evaluated, and all > others are ignored." Thank you for this explanation. Apparently I have missed where this rule is stated in the documentation. Alejandro --~--~-~

[sage-support] Re: sage: in the notebook input

2008-07-20 Thread Alejandro Jakubi
Hello Could someone tell me whether this is the expected behavior or a bug? Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit t

[sage-support] Re: Sage and Maple

2008-07-16 Thread Alejandro Jakubi
> If you know a good way to get a list of all available commands > in a running Maple session, I would love to change the trait_names > method mentioned above to use this. I have looked at: sage: maple.trait_names?? sage: maple._commands?? sage: maple.completions?? I do not know Python, so I ca

[sage-support] show typesetted output

2008-07-15 Thread Alejandro Jakubi
I have met some strange behavior using the command 'show' to typeset the output ( I have the jsmath fonts installed and they work fine). Testing integration with Maple within the notebook interface I have tried: show(maple.int(x,x)) and I get 1/2*x^2 typesetted using in TeX fonts, fine. But t

[sage-support] Re: Sage and Maple

2008-07-15 Thread Alejandro Jakubi
Hello Mike > If you run maple.trait_names(), you'll get a Python list where each > entry is a string of the name. Fine, thank you. I can select the output in the notebook interface and paste it on an editor. > Note that the list of completions is cached the very first time it is > created so yo

[sage-support] Sage and Maple

2008-07-15 Thread Alejandro Jakubi
Following the instructions in the section "Interface to Maple" of the Sage Reference Manual: http://www.sagemath.org/doc/html/ref/module-sage.interfaces.maple.html I have executed maple.[tab] both in the console and notebook interface. At present the command maple in my path is a link to the Ma

[sage-support] sage: in the notebook input

2008-07-15 Thread Alejandro Jakubi
May be a bug or expected behavior, I do not know. I have pasted the example of "Tachyon 3D plotting" here: http://www.sagemath.org/doc/html/const/node19.html to a notebook input region in this way: === sage: f = lambda t: (t,t^2,t^3) sage: t = Tachyon(camera_center=(5,0,4)) sage: t.texture('t')

[sage-support] Re: Sage does not start from desktop icon

2008-07-15 Thread Alejandro Jakubi
Thank you, that was. I have removed notebook.py that was generated wrong (see above) and clicking on the icon makes the notebook session open. However, it still opens a console window that remains after I close the notebook session. I can close it with Ctrl-C. Is this the expected behavior? If un

[sage-support] Re: Sage does not start from desktop icon

2008-07-15 Thread Alejandro Jakubi
Lars, > Also try: properties of the Icon, Application tab, Advanced options, > "Do not close when command exits". Watch for error messages. Now in KDE I have done this and got this error message in the konsole: === File "/home/jakubi/notebook.py", line 3 notebook(open viewer=True)

[sage-support] Re: Sage does not start from desktop icon

2008-07-15 Thread Alejandro Jakubi
Confirmed, with Exec=/usr/local/bin/sage -notebook in the SAGE-notebook.desktop file, it opens a Gnome terminal window with the messages copied in to the previous post and it opens Iceweasel with the worksheet list. Alejandro --~--~-~--~~~---~--~~ To post to t

[sage-support] Re: Sage does not start from desktop icon

2008-07-15 Thread Alejandro Jakubi
Hello Lars > what happens, if you enter the command > notebook(open_viewer=True) > at the sage console? The notebook opens the same, apparently, as with the command 'notebook()'. > Also try: properties of the Icon, Application tab, Advanced options, > "Do not close when command exits". Watch fo

[sage-support] Re: Sage does not start from desktop icon

2008-07-14 Thread Alejandro Jakubi
I do not know why two posts were generated as I have sent once. May be worth adding that Sage starts OK from the console, and the notebook interface opens fine using the command notebook() at the sage prompt. By the way, the link http://www.sagemath.org/art/ after this sentence "For a picture fo

[sage-support] Sage does not start from desktop icon

2008-07-14 Thread Alejandro Jakubi
I have reproduced the steps explained in: http://www.sagemath.org/doc/html/inst/node11.html to create a Sage icon on the desktop and open the notebook by clicking on it. So, I have created a a file named "notebook.sage" containing the line: === notebook(open_viewer=True) === in my home dire

[sage-support] Sage does not start from desktop icon

2008-07-14 Thread Alejandro Jakubi
I have reproduced the steps explained in: http://www.sagemath.org/doc/html/inst/node11.html to create a Sage icon on the desktop and open the notebook by clicking on it. So, I have created a a file named "notebook.sage" containing the line: === notebook(open_viewer=True) === in my home dire

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-10 Thread Alejandro Jakubi
It was not from a package. These afm fonts were loaded by hand. Not sure yet whether it was following some instructions for a specific program, or just for "completeness". I see now that adding these fonts is not so innocent... So, I have removed from this directory (/usr/local/share/fonts/afm)

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-10 Thread Alejandro Jakubi
Carl, Found the culprit. Thank you. > sage: import matplotlib > sage: matplotlib.verbose.set_level('debug') > sage: import matplotlib.font_manager I did this. > Look at the file specified in the last createFontDict line (for > instance, open it with a text editor; it's a simple text file) and

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-09 Thread Alejandro Jakubi
So, which is the problem? Do you need some more information? Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at ht

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
> Hmm... could you paste the whole traceback? Here it is: --- ValueErrorTraceback (most recent call last) /home/jakubi/.sage/ in () /usr/local/sage-3.0.2-debian32-intelx86-i686-Linux/local/l

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
Also works this Maxima 2D plot (including zoom): maxima.plot2d('cos(2*x) + 2*cos(x)','[x,0,1]',\ '[plot_format,openmath]') from http://localhost:8000/doc/live/tut/node26.html --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.c

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
On the other hand, 3D plots as here: u, v = var('u,v') fx = u*v fy = u fz = v^2 show(parametric_plot3d([fx, fy, fz], (u, -1, 1), (v, -1, 1), frame=False, color="yellow")) work fine. I understand that this is through a different mechanism (a Java viewer), but it suggest to me that most of the ins

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
Hello, On Jul 7, 6:06 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote: > In order to figure things out, I think we need to know a bit more > about your install. How did you install Sage? As said in my first post, I have unpacked the binary distribution of Sage 3.0.2 for Debian, ie sage-3.0.2-debia

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
I have posted my reply over an hour ago, but it does not appear in the web interface to this group. So, it goes again: > In order to figure things out, I think we need to know a bit more > about your install. How did you install Sage? Did you use one of the As said in my first post, I have unp

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
On Jul 7, 4:25 pm, Simon King <[EMAIL PROTECTED]> wrote: > Is there any problem up to this point? Probably not. Yes, all these examples, and much more give the same error message. > > p = polygon(L, rgbcolor=(1,1,0)) > > L is not defined yet, and by consequence one gets "NameError: name 'L' > is

[sage-support] Re: Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
> Could you give us the specific command you're trying to execute? This error message apparently occurs independently of the plot command that I have tried to execute or interface (console or notebook). So, it seems to me a more basic problem. Anyway, examples (taken from the documentation): sh

[sage-support] Debian Etch: Error trying to plot

2008-07-07 Thread Alejandro Jakubi
First experience with Sage. I have unpacked the binary distribution of Sage 3.0.2 for Debian. Console and notebook mode apparently work fine, but when trying to plot I get a long list of error messages: === ValueErrorTraceback (most recent call last) ... (lines omi