Re: [sage-support] Re: Error: LaTeX does not seem to be installed.

2011-08-16 Thread Ivan Andrus
On Aug 17, 2011, at 2:19 AM, G B wrote:

> I'm noticing that the problem only happens when launching Sage.app.  If I 
> install the command line version, it detects Latex just fine.  Also, if I 
> launch the sage binary from within the Sage.app package (the one in 
> Contents/Resources/sage, not the one closer to the app root), it also seems 
> to work fine, which is odd.  Something is getting disconnected when the GUI 
> launches.

Probably the biggest difference between GUI apps (like Sage.app) and starting 
things from the command line is environment variables.  You can add environment 
variables for GUI apps in ~/.MacOSX/environment.plist though it will require 
logging out to take effect.  See e.g. 
http://developer.apple.com/library/mac/#qa/qa1067/_index.html

You can test to see if this is the problem by running
import os
os.environ["PATH"]
and looking for /usr/texbin.

I thought there was some discussion of this before, but I can't seem to find it 
now.  Anyway, you might be able to get it to work by adding to the PATH 
environment variable in ~/.sage/init.sage.  Whether that works or not let us 
know--this should probably be in a FAQ somewhere.

-Ivan

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


[sage-support] Re: Notebook Problems

2011-08-16 Thread Owen Densmore
More info, just in case:  Using latest Chrome browser, running Snow Leopard 
latest. Intel.  Sorry about three questions in one post, just noticed.

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


[sage-support] Notebook Problems

2011-08-16 Thread Owen Densmore
I'm using Sage Version 4.7, Release Date: 2011-05-23, the Mac Sage.app 
version.  I'm running on a Mac ecology: Air, Mini, MacBook.  The Mini is 
acting as a local notebook server.

I'm noticing flaky behavior in a few areas:
1 - My worksheets (both local and on sagenb server) will every now and again 
have blank entries in the first one or two cells.  If I discard and quit, 
then return .. the problem goes away.
2 - Uploading to the sagenb server on one of my worksheets seemed to fail .. 
it showed the text for cells in the initial text area of the worksheet.  By 
that I mean the {{...text .. it showed {{{id=1|
3 - On the sagenb server, after uploading successfully (.sws seemed to be 
the most stable), publishing the worksheet left out the jmol 3D plotting.

I'm not sure how easy it is to reproduce these, but I can try if need be. 
 The third problem can be seen here:
http://www.sagenb.org/home/backspaces/7/
http://www.sagenb.org/home/pub/3042/

Is it possible that I need to upgrade to the latest 4.7 release?

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


[sage-support] Re: Error: LaTeX does not seem to be installed.

2011-08-16 Thread G B
I'm noticing that the problem only happens when launching Sage.app.  If I 
install the command line version, it detects Latex just fine.  Also, if I 
launch the sage binary from within the Sage.app package (the one in 
Contents/Resources/sage, not the one closer to the app root), it also seems 
to work fine, which is odd.  Something is getting disconnected when the GUI 
launches.

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


[sage-support] Re: Error: LaTeX does not seem to be installed.

2011-08-16 Thread G B
I've installed MacTex and I'm still having the same problem.  You won't see 
this problem for most typeset results because Sage attempts to use jsMath, 
but it turns up when typesetting a result that jsMath can't handle (or if 
you force it to use go straight to latex by using the jsmath_avoid_list).

Unfortunately running make in the root directory didn't fix my problem-- it 
still can't find Latex.


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


[sage-support] Re: 2D translate , rotate

2011-08-16 Thread Maarten Derickx
Currently (as the reference you gave already said) it is only implemented 
for 3d objects. Try the following for example:

sage: c=circle((1,1,1),1) 
sage: c.translate((1,3,4))
sage: c.rotateX(2)

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


Re: [sage-support] Re: Invariant Polynomes under group action

2011-08-16 Thread Maarten Derickx


On Tuesday, August 16, 2011 10:46:50 AM UTC+2, Johhannes wrote:
>
> Am 16.08.2011 03:06, schrieb Nils Bruin:
> > On Aug 15, 2:54 pm, Johannes  wrote:
> >> I'm sorry for unclear description of the problem.
> >> So once again, let R = C[x_1,\dots,x_n]$ be my basering.
> >> I'm looking for the group G, wich leaves a finite set S of polynomes
> >> invariant under its action. So the ideal I =  is invariant under the
> >> G-action too. And because every constant polynome is invariant under the
> >> action, I can look at the subring C[I] = C[S] \subset R instead of
> >> looking at I.
> > 
> > These are not the same rings, though. If S={1} then I=R, so C[I]=R and
> > C[S]=C.
> In my case S only contains monomes like \prod x_{i}^{a_i}


Pleas ask someone in your neighborhood to explain you the difference between 
the C[S] and the C[I] you defined. I think you will learn a lot from it.

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


Re: [sage-support] Invariant Polynomes under group action

2011-08-16 Thread Maarten Derickx
On Tuesday, August 16, 2011 10:49:07 AM UTC+2, Johhannes wrote:
>
> The given example was not right at all. this one works:
> R = C[x1,x2,x3]
> I = C[x1x2x3,x1^3,x2^3,x3^3]
> this leads to G given as above:
> > let G \subset SL_3(CC) act by a e_i -> a x_i. If xi is a third primitive
> > root of unity, then G must be generated by
> > diagonalmatrix(xi,xi,xi).
>
>
> greatz Johannes
>
Still not correct since x1*x2^2 is also invariant under G but not in I. 

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


Re: [sage-support] Invariant Polynomes under group action

2011-08-16 Thread Johannes
The given example was not right at all. this one works:
R = C[x1,x2,x3]
I = C[x1x2x3,x1^3,x2^3,x3^3]
this leads to G given as above:
> let G \subset SL_3(CC) act by a e_i -> a x_i. If xi is a third primitive
> root of unity, then G must be generated by
> diagonalmatrix(xi,xi,xi).


greatz Johannes

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


Re: [sage-support] Re: Invariant Polynomes under group action

2011-08-16 Thread Johannes
Am 16.08.2011 03:06, schrieb Nils Bruin:
> On Aug 15, 2:54 pm, Johannes  wrote:
>> I'm sorry for unclear description of the problem.
>> So once again, let R = C[x_1,\dots,x_n]$ be my basering.
>> I'm looking for the group G, wich leaves a finite set S of polynomes
>> invariant under its action. So the ideal I =  is invariant under the
>> G-action too. And because every constant polynome is invariant under the
>> action, I can look at the subring C[I] = C[S] \subset R instead of
>> looking at I.
> 
> These are not the same rings, though. If S={1} then I=R, so C[I]=R and
> C[S]=C.
In my case S only contains monomes like \prod x_{i}^{a_i}
> For your original question, do you mean: Let G subset GL(n,C) be a
> matrix group, consider the polynomial ring R=C[x1,...,xn] and let
> I=R^G be the G-invariant subring of R. What is the minimal subgroup H
> subset G such that
> R^H=R^G?
Yes, maybe this is the best way to say  it.
> I don't think that question would be well-posed in general, since
> there could be several non-conjugate subgroups H1,H2 of G with
> R^H1=R^H2=R^G, such that for no proper subgroup H3 of H1 or H2 we have
> R^H3=R^G. Perhaps your setting has some properties that guarantee a
> unique minimal one? Perhaps those extra properties help in determining
> it?
> 
The only extra condition I see from my data (but I'm not sure if it
holds every time), is that the degree of all polynomes is not relatively
primely and the polynomes wich degree is the gcd of all degrees arise in S.

greatz Johannes

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