It's not really a hack. The syntax and functions in Sage are a superset of
what is there in python. So, it makes sense to set it to python. Of course,
it would be nice to have Sage functions properly highlighted, but as a
first step the commands below work. You don't get syntax highlighting for
If you want a completely new set of accounts and don't want to retain any
of the old accounts, you can simply move the old sagenb directory (usually
it is DOT_SAGE/sage_notebook.sagenb) to a different backup folder in your
filesystem. Next time you run the sage notebook, it should create a new
Hello Cogito,
>Errors occur. Then I realized I needed to do a "sudo apt-get install
sagemath" in >the directory, but now it cant find the sagemath package. Im
at a loss for how to >get anything to work here.
As you have not mentioned you have successfully run sage I am just adding
some advice.
Hello,
I'm a mathematics instructor at a two-year college in the San Francisco Bay
Area. Not long ago I had the system administrator of the school set up a sage
server on the schools servers and I was made admin. About a year ago I had my
students make accounts for themselves to do some mathema
On 2012-08-23, Urs Hackstein wrote:
> (8*I*e^(I*t) - 24*I)*((e^(I*t) - 3)^7 + (1.52075e+14)*(e^(I*t) - 3)^6 +
> (1.128e+27)*(e^(I*t) - 3)^5 + (1.35375e+38)*(e^(I*t) - 3)^4 -
> (3.127e+50)*(e^(I*t) - 3)^3 - (2.929125e+60)*(e^(I*t) - 3)^2 +
> (9.4875e+72)*e^(I*t) + 3.1375e+73)*e^(I*t)/((e^(I*t) - 3
Dear all,
while trying to integrate the complex function
(8*I*e^(I*t) - 24*I)*((e^(I*t) - 3)^7 + (1.52075e+14)*(e^(I*t) - 3)^6 +
(1.128e+27)*(e^(I*t) - 3)^5 + (1.35375e+38)*(e^(I*t) - 3)^4 -
(3.127e+50)*(e^(I*t) - 3)^3 - (2.929125e+60)*(e^(I*t) - 3)^2 +
(9.4875e+72)*e^(I*t) + 3.1375e+73)*e^(I*t)/
>
> Vim filetypes To get Vim to use Python syntax highlighting,
>> indentation, and so on for .sage files, put the following in
>> $VIM/filetype.vim:
>>
>> augroup filetypedetect
>>au! BufRead,BufNewFile *.sage,*.spyx,*.pyx setfiletype python
>> augroup END
>>
>>
> What I use is:
>
> autocmd Bu