[sage-support] Re: What is the difference between two ways to instantiate a variable?

2017-05-04 Thread Nils Bruin
On Thursday, May 4, 2017 at 4:02:11 PM UTC-7, Jim Mooney wrote:
>
> Why do I sometimes see just var('y') and other times see y = var('y')? The 
> result seems to be the same since I can use y in either case.
>

See the doc of SR.var and var.

y=SR.var('y')

is the "fundamental" construct, and assignment is required. 

For interactive use, `var("y")` can be used. It needs some dark magic to 
inject the bindings. `y=var('y")` basically binds y twice. It's a matter of 
taste which you prefer.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Sage says pdflatex it not on my path when it definitely is

2017-05-04 Thread Dima Pasechnik
You can do the usual Linux administration things by logging into the Linux 
console on the VM.
See sections 5 and 6 in https://wiki.sagemath.org/SageAppliance/SageMath-7 
for details.

I think the new version for the VM should have all these things (pdflatex 
and pandoc) 
installed, as we really want the notebook converter to function.


On Thursday, May 4, 2017 at 10:54:21 PM UTC+1, Jim Mooney wrote:
>
>
>
> On Thursday, May 4, 2017 at 1:19:10 AM UTC-7, Dima Pasechnik wrote:
>>
>> You run Sage in the Linux VM, right?
>> Pdflatex needs to be installed on that Linux system. It does not, and 
>> cannot, use anything you have installed on the windows box itself.
>
>
> I finally realized it has to be on CentOS and its path but how do I access 
> CentOS in virtualbox and will it retain values once shut down?
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Sage says pdflatex it not on my path when it definitely is

2017-05-04 Thread Dima Pasechnik


On Thursday, May 4, 2017 at 11:59:06 PM UTC+1, Jim Mooney wrote:
>
>
>
> On Thursday, May 4, 2017 at 3:56:28 PM UTC-7, Jim Mooney wrote:
>>
>>
>>
>> On Thursday, May 4, 2017 at 2:54:21 PM UTC-7, Jim Mooney wrote:
>>>
>>>
>>>
>>> On Thursday, May 4, 2017 at 1:19:10 AM UTC-7, Dima Pasechnik wrote:

 You run Sage in the Linux VM, right?
 Pdflatex needs to be installed on that Linux system. It does not, and 
 cannot, use anything you have installed on the windows box itself.
>>>
>>>
>>> I finally realized it has to be on CentOS and its path but how do I 
>>> access CentOS in virtualbox and will it retain values once shut down?
>>>
>>
>> I appears the shared is on the path since pdflatex processed after I put 
>> it in shared, but then it wanted pandoc, which offered no option as to 
>> install location. I tried copying it to shared but that didn't work. I 
>> think I just need to dual boot linux and avoid all this mess ;)
>>
>
> Query: How do I edit my own posts to correct an error? I don't see 
> anything to do that in the dropdown.
>
 
One cannot edit posts. It's basically a mailing list.
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] What is the difference between two ways to instantiate a variable?

2017-05-04 Thread Jim Mooney
Why do I sometimes see just var('y') and other times see y = var('y')? The 
result seems to be the same since I can use y in either case.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Sage says pdflatex it not on my path when it definitely is

2017-05-04 Thread Jim Mooney


On Thursday, May 4, 2017 at 3:56:28 PM UTC-7, Jim Mooney wrote:
>
>
>
> On Thursday, May 4, 2017 at 2:54:21 PM UTC-7, Jim Mooney wrote:
>>
>>
>>
>> On Thursday, May 4, 2017 at 1:19:10 AM UTC-7, Dima Pasechnik wrote:
>>>
>>> You run Sage in the Linux VM, right?
>>> Pdflatex needs to be installed on that Linux system. It does not, and 
>>> cannot, use anything you have installed on the windows box itself.
>>
>>
>> I finally realized it has to be on CentOS and its path but how do I 
>> access CentOS in virtualbox and will it retain values once shut down?
>>
>
> I appears the shared is on the path since pdflatex processed after I put 
> it in shared, but then it wanted pandoc, which offered no option as to 
> install location. I tried copying it to shared but that didn't work. I 
> think I just need to dual boot linux and avoid all this mess ;)
>

Query: How do I edit my own posts to correct an error? I don't see anything 
to do that in the dropdown.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Sage says pdflatex it not on my path when it definitely is

2017-05-04 Thread Jim Mooney


On Thursday, May 4, 2017 at 2:54:21 PM UTC-7, Jim Mooney wrote:
>
>
>
> On Thursday, May 4, 2017 at 1:19:10 AM UTC-7, Dima Pasechnik wrote:
>>
>> You run Sage in the Linux VM, right?
>> Pdflatex needs to be installed on that Linux system. It does not, and 
>> cannot, use anything you have installed on the windows box itself.
>
>
> I finally realized it has to be on CentOS and its path but how do I access 
> CentOS in virtualbox and will it retain values once shut down?
>

I appears the shared is on the path since pdflatex processed after I put it 
in shared, but then it wanted pandoc, which offered no option as to install 
location. I tried copying it to shared but that didn't work. I think I just 
need to dual boot linux and avoid all this mess ;)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Sage says pdflatex it not on my path when it definitely is

2017-05-04 Thread Jim Mooney


On Thursday, May 4, 2017 at 1:19:10 AM UTC-7, Dima Pasechnik wrote:
>
> You run Sage in the Linux VM, right?
> Pdflatex needs to be installed on that Linux system. It does not, and 
> cannot, use anything you have installed on the windows box itself.


I finally realized it has to be on CentOS and its path but how do I access 
CentOS in virtualbox and will it retain values once shut down?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Sage says pdflatex it not on my path when it definitely is

2017-05-04 Thread Dima Pasechnik
You run Sage in the Linux VM, right?
Pdflatex needs to be installed on that Linux system. It does not, and cannot, 
use anything you have installed on the windows box itself.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: uploaded ipynb file not accessible

2017-05-04 Thread Eric Gourgoulhon
Hi,

Le jeudi 4 mai 2017 03:38:56 UTC+2, Jim Mooney a écrit :
>
> I uploaded an ipynb file to the localhost browser, assuming I could use it 
> as a normal notebook, but it's just in a box, highlighted and I can't open 
> or do anything with it. When I reloaded the browser it disappeared. What am 
> I missing?
>

After having selected the file from the file browser and clicked on "open", 
have you clicked on the "Upload" blue button on the right ?
(it might indeed be quite disturbing to have such a 2-stage procedure just 
for adding a new ipynb file).

Best wishes,

Eric.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.