When we harvest the contents of the wiki, we will need to strip
out those extra tags.  (Not difficult, but we need to remember to do it.)


On Tue, 18 Jul 2017, Rob Beezer wrote:

I'd have thought that second "script" tag would be unnecessary. But maybe there is something about the wiki software getting in the way?

On 07/18/2017 08:56 AM, Thomas Judson wrote:
 Solved the problem.

 The following works.

 [[html]]
 <script
 src="https://sagecell.sagemath.org/static/embedded_sagecell.js";></script>
 <script>sagecell.makeSagecell({"inputLocation": ".sage", linked:
 true});</script>
 <div class="sage">
 <script type="text/x-sage">
 Z8 = Integers(8)
 Z8</script>
 </div>
 <div>
 this is some text
 </div>
 <script>sagecell.makeSagecell({"inputLocation": ".sage", linked:
 true});</script>
 <div class="sage">
 <script type="text/x-sage">
 Z8.list()
 </script>
 </div>
 [[/html]]

 On Monday, July 17, 2017 at 8:09:14 PM UTC+2, Robert Beezer wrote:

     Dear Tom,

     Have you tried putting

     , linked: true

     into your  sagecell.makeSagecell()  right after the inputLocation
     specification?

     See:
     
https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst#linked-cells
     
<https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst#linked-cells>


     Rob

     On 07/17/2017 05:04 AM, Thomas Judson wrote:
> I am trying to link two Sage cells in a wikidot webpage. The following > code
>  successfully executes
> > [[html]]
>  <script src="https://sagecell.sagemath.org/static/embedded_sagecell.js
     <https://sagecell.sagemath.org/static/embedded_sagecell.js>"></script>
>  <script>sagecell.makeSagecell({"inputLocation": ".sage"});</script>
>  <div class="sage">
>    <script type="text/x-sage">
>  a = 10
>  Z8 = Integers(8)
>  Z8</script>
>  </div>
>  [[/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: [email protected] <javascript:> <mailto:[email protected]
     <javascript:>>
> > > > > -- > You received this message because you are subscribed to the Google > Groups
>  "sage-cell" group.
> To unsubscribe from this group and stop receiving emails from it, send > an
     email
>  to [email protected] <javascript:>
>  <mailto:[email protected] <javascript:>>.
>  To view this discussion on the web visit
>
     
https://groups.google.com/d/msgid/sage-cell/0F2D67B8-3A31-4CC2-B705-A82CE03D13F8%40gmail.com
     
<https://groups.google.com/d/msgid/sage-cell/0F2D67B8-3A31-4CC2-B705-A82CE03D13F8%40gmail.com>

>
     
<https://groups.google.com/d/msgid/sage-cell/0F2D67B8-3A31-4CC2-B705-A82CE03D13F8%40gmail.com?utm_medium=email&utm_source=footer
     
<https://groups.google.com/d/msgid/sage-cell/0F2D67B8-3A31-4CC2-B705-A82CE03D13F8%40gmail.com?utm_medium=email&utm_source=footer>>.

>  For more options, visit https://groups.google.com/d/optout
     <https://groups.google.com/d/optout>.

 --
 You received this message because you are subscribed to the Google Groups
 "sage-cell" group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email
 to [email protected]
 <mailto:[email protected]>.
 To view this discussion on the web visit
 
https://groups.google.com/d/msgid/sage-cell/3cd55e98-f752-4281-96ab-dc3a374f8cd4%40googlegroups.com
 
<https://groups.google.com/d/msgid/sage-cell/3cd55e98-f752-4281-96ab-dc3a374f8cd4%40googlegroups.com?utm_medium=email&utm_source=footer>.
 For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/MTAwMDAzMS5iZWV6ZXI.1500399750%40quikprotect.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/alpine.LRH.2.20.1707181347050.5811%40li375-150.members.linode.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to