Using SageCloud for the production of interactive materials

57 views
Skip to first unread message

Ingo Dahn

unread,
Jan 28, 2017, 9:01:38 AM1/28/17
to sage-support
I am exploring the potential of SageCloud for the production of interactive Math websites and there are some features I'd like to see but couldn't realize: I know that it is possible to publish worksheets and that looks like a promising start, but
  • Is it possible to leave some cells interactive such that the user can modify and evaluate their content without affecting other users (i.e. like embedding a SegeCell cell)?
  • Is it possible to embed into the published workspace
    • MathML
    • Javascript affecting the page rendering
    • CSS
    • iframes for third-party materials?
  • Is it possible to generate headings and a navigation tree following those headings?
Workarounds or recommendations of alternative tools would be welcome as well.

William Stein

unread,
Jan 28, 2017, 4:38:07 PM1/28/17
to sage-support
On Sat, Jan 28, 2017 at 6:01 AM, Ingo Dahn <ingo...@gmail.com> wrote:
> I am exploring the potential of SageCloud for the production of interactive
> Math websites and there are some features I'd like to see but couldn't
> realize: I know that it is possible to publish worksheets and that looks
> like a promising start, but
>
> Is it possible to leave some cells interactive such that the user can modify
> and evaluate their content without affecting other users (i.e. like
> embedding a SegeCell cell)?

No, a user would have to make an SMC account and use their own
worksheet (e.g., copy your worksheet over). Maybe we'll offer such a
feature someday, but probably not this year.

> Is it possible to embed into the published workspace
>
> MathML

?

> Javascript affecting the page rendering

Yes. use %javascript in a worksheet cell

> CSS

You can make a .css file and use %load, or just include it as an
external style file.

> iframes for third-party materials?

Yes, but it must be https.

> Is it possible to generate headings and a navigation tree following those
> headings?

Not at present.

> Workarounds or recommendations of alternative tools would be welcome as
> well.
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to sage-s...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.



--
William (http://wstein.org)

Ingo Dahn

unread,
Jan 28, 2017, 4:53:04 PM1/28/17
to sage-support
Thanks, this helps. I'll stay for now with my current tools including SageCell. The background for asking for MathML was that I have quite a number of HTML content pages with formulas in MathML to be rendered with MathJax and I tried to copy this content to %html cells. That didn't work for the formulas but maybe it will if the MathJax Javascript.can be included.

You received this message because you are subscribed to a topic in the Google Groups "sage-support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-support/RJ_vPj3uGx8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-support...@googlegroups.com.

William Stein

unread,
Jan 28, 2017, 5:35:18 PM1/28/17
to sage-support
On Sat, Jan 28, 2017 at 1:52 PM, Ingo Dahn <ingo...@gmail.com> wrote:
> Thanks, this helps. I'll stay for now with my current tools including
> SageCell. The background for asking for MathML was that I have quite a
> number of HTML content pages with formulas in MathML to be rendered with
> MathJax and I tried to copy this content to %html cells. That didn't work
> for the formulas but maybe it will if the MathJax Javascript.can be
> included.

Can you make a sage worksheet with the simplest possible example of
what you're talking about (involving MathML, MathJax) not working,
share it publicly, and put a link here? Thanks!!

William

Ingo Dahn

unread,
Jan 29, 2017, 4:30:44 AM1/29/17
to sage-support
Here it is: https://cloud.sagemath.com/projects/270eaa8a-2739-4998-a698-28435bf6382c/files/MathML-Test.sagews
Please, forgive me if I use the %-directives in the wrong way, I am just starting to explore SageCloud and searching in the tutorial didn't help here.

Ingo Dahn

unread,
Jun 4, 2017, 7:35:42 AM6/4/17
to sage-support

>> > To post to this group, send email to sage-s...@googlegroups.com.
>> > Visit this group at https://groups.google.com/group/sage-support.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> William (http://wstein.org)
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "sage-support" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/sage-support/RJ_vPj3uGx8/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to

>> To post to this group, send email to sage-s...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sage-support.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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

> To post to this group, send email to sage-s...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.



--
William (http://wstein.org)

--
You received this message because you are subscribed to a topic in the Google Groups "sage-support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-support/RJ_vPj3uGx8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-support+unsubscribe@googlegroups.com.

Harald Schilly

unread,
Jun 4, 2017, 12:02:06 PM6/4/17
to sage-support


On Sunday, June 4, 2017 at 1:35:42 PM UTC+2, Ingo Dahn wrote:
Is there support for using  ASCIIMATH?

Theoretically yes, the module is loaded, but there are overlaps with the syntax of other processors which makes this hard. So far, we do not have a compatible syntax and asciimath was never really on our radar. That's why I can only give you the unsatisfactory answer that in theory it should work in "%html" cells :-)

-- harald

Ingo Dahn

unread,
Jun 4, 2017, 4:18:36 PM6/4/17
to sage-support
Thanks for the quick reply. In practice it doesn't work as the link I gave shows. Unfortunately our students are less than fluent in LaTeX and writing \frac{1}{3} instead of 1/3 is a hurdle. Some celltype %html+asciimath or %md+asciimath would be helpful.
Reply all
Reply to author
Forward
0 new messages