[sage-support] Re: Linking Sage cells in a wiki

2017-07-17 Thread Emmanuel Charpentier
Wjat's wrong with

a = 10
Z8 = Integers(8)
print Z8
print "Some text I'd like to display."
Z8.list()

?

--
Emmanuel Charpentier

Le lundi 17 juillet 2017 14:04:38 UTC+2, Tom Judson a écrit :
>
> I am trying to link two Sage cells in a wikidot webpage.  The following 
> code successfully executes
>
> [[html]]
> https://sagecell.sagemath.org/static/embedded_sagecell.js
> ">
> sagecell.makeSagecell({"inputLocation": ".sage"});
> 
>   
> a = 10
> Z8 = Integers(8)
> Z8
> 
> [[/html]]
>
> I would like to add a second linked cell that executes the command
>
> Z8.list()
>
> If possible, I would like to include text between the cells.
>
> So far I haven’t had any luck.  Any ideas would be appreciated.
>
> Tom Judson
>
> =
> Thomas W. Judson, Associate Professor
> Department of Mathematics and Statistics
> Stephen F. Austin State University
> P.O. Box 13040-3040 SFA Station
> Nacogdoches, TX  75962
>
> OFFICE: 316 Math
> TEL: (936) 468-1704
> EMAIL: juds...@sfasu.edu 
>
>
>
>
>

-- 
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: Linking Sage cells in a wiki

2017-07-19 Thread Tom Judson
Actually, the problem is not this specific computation but being able to 
link Sage cells in a wiki in general.  However, the following works.


[[html]]
https://sagecell.sagemath.org/static/embedded_sagecell.js";>
sagecell.makeSagecell({"inputLocation": ".sage", linked: 
true});


Z8 = Integers(8)
Z8


this is some text



Z8.list()




a = Z8.an_element(); a




a.parent()


[[/html]]

On Monday, July 17, 2017 at 2:04:38 PM UTC+2, Tom Judson wrote:
>
> I am trying to link two Sage cells in a wikidot webpage.  The following 
> code successfully executes
>
> [[html]]
> https://sagecell.sagemath.org/static/embedded_sagecell.js
> ">
> sagecell.makeSagecell({"inputLocation": ".sage"});
> 
>   
> a = 10
> Z8 = Integers(8)
> Z8
> 
> [[/html]]
>
> I would like to add a second linked cell that executes the command
>
> Z8.list()
>
> If possible, I would like to include text between the cells.
>
> So far I haven’t had any luck.  Any ideas would be appreciated.
>
> Tom Judson
>
> =
> Thomas W. Judson, Associate Professor
> Department of Mathematics and Statistics
> Stephen F. Austin State University
> P.O. Box 13040-3040 SFA Station
> Nacogdoches, TX  75962
>
> OFFICE: 316 Math
> TEL: (936) 468-1704
> EMAIL: judso...@sfasu.edu
>
>
>
>
>

-- 
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.