[sage-cell] MathJax3 support

2021-03-14 Thread ekwa...@gmail.com
Hi Andrey,

I uploaded a PR to support MathJax3 (as well as MathJax 2) sites. It works 
well with my site. But perhaps it would need more extensive tests before 
deploying to the main sagemath site. 

Please check it out. Thanks.

Kwankyu

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/89ca92df-7adb-4d7d-87fd-505cc761d67dn%40googlegroups.com.


[sage-cell] Re: MathJax3 support

2021-03-15 Thread ekwa...@gmail.com
It seems working fine. What is your example that is not working?

On Tuesday, March 16, 2021 at 8:19:55 AM UTC+9 novo...@gmail.com wrote:

> I have deployed it to http://cosmos.mat.uam.es:/ and it does not work 
> for me for a non-obvious yet reason. Can you please take a look? Otherwise 
> I'll try to get to it next weekend.
>
> On Sunday, 14 March 2021 at 22:11:31 UTC-6 ekwa...@gmail.com wrote:
>
>> Hi Andrey,
>>
>> I uploaded a PR to support MathJax3 (as well as MathJax 2) sites. It 
>> works well with my site. But perhaps it would need more extensive tests 
>> before deploying to the main sagemath site. 
>>
>> Please check it out. Thanks.
>>
>> Kwankyu
>>
>

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/98f1699f-58a5-49cd-97ca-98447ad79170n%40googlegroups.com.


[sage-cell] Re: MathJax3 support

2021-03-15 Thread ekwa...@gmail.com


On Tuesday, March 16, 2021 at 9:53:04 AM UTC+9 novo...@gmail.com wrote:

> On Monday, 15 March 2021 at 18:12:11 UTC-6 ekwa...@gmail.com wrote:
>
>> It seems working fine. What is your example that is not working?
>>
>
> show(x) shows nothing for me both in Firefox and Chrome on Debian!
>

The reason is that show(x) outputs the math in a format recognized only by 
MathJax2. 

There is a workaround to convert the old format to the normal format 
recognized by MathJax3. I will upload a PR for this soon.

But a proper way to deal with this issue is to fix sage itself to work with 
MathJax3. If all frontends (Jupyter and sagecell?) support MathJax3, then 
we could fix sage and drop the workaround. 

 

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/08a2afa8-2981-4256-839e-4f95f47ee363n%40googlegroups.com.


[sage-cell] Re: MathJax3 support

2021-03-15 Thread ekwa...@gmail.com

On Tuesday, March 16, 2021 at 11:45:19 AM UTC+9 novo...@gmail.com wrote:

>
> Then perhaps SageMath should start supporting MathJax3 and then we need to 
> adapt frontends to support it as well? I prefer to stay in sync with 
> SageMath as much as possible.
>

 With the second PR, sagecell will support both MathJax2 and MathJax3 and 
hence the current SageMath. So sagecell may go ahead and wait for SageMath 
to catch up.

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/11d6e37a-e687-4404-a983-62a6cb965727n%40googlegroups.com.


[sage-cell] Re: MathJax3 support

2021-03-16 Thread ekwa...@gmail.com


On Wednesday, March 17, 2021 at 1:14:14 AM UTC+9 novo...@gmail.com wrote:

> Deployed on the test server, works for me now, thank you! I'll let others 
> test as well in case someone want to do it, will roll it out to public 
> servers in a few days.
>

Thanks. I will start fixing sage for mathjax3 soon, hoping it is an easy 
work.
 

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/ab42f2e2-3906-465b-9a14-1a83ecea1976n%40googlegroups.com.


[sage-cell] Re: MathJax3 support

2021-03-18 Thread ekwa...@gmail.com


On Wednesday, March 17, 2021 at 8:49:11 AM UTC+9 ekwa...@gmail.com wrote:

> On Wednesday, March 17, 2021 at 1:14:14 AM UTC+9 novo...@gmail.com wrote:
>
>> Deployed on the test server, works for me now, thank you! I'll let others 
>> test as well in case someone want to do it, will roll it out to public 
>> servers in a few days.
>>
>
> Thanks. I will start fixing sage for mathjax3 soon, hoping it is an easy 
> work.
>

This is now ticket https://trac.sagemath.org/ticket/31517


 

>  
>

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/b8c4e0a8-9720-4fce-9460-ab232d18db53n%40googlegroups.com.


Re: [sage-cell] Re: Strange output with show()?

2021-03-23 Thread ekwa...@gmail.com
Hi Andrey,

On Wednesday, March 24, 2021 at 12:31:46 AM UTC+9 novo...@gmail.com wrote:

> Changes in MathJax behaviour are likely due to the recent upgrade by 
> Kwankyu, I've notified him of the issue and hopefully it can be resolved 
> soon!
>

Did you? I didn't know..

Anyway, the example code above is working fine with my own server with the 
same recent upgrade. 

I suspect that the problem is related with your recent action that stopped 
internet access from within cells. MathJax3 seems to fetch TeX extensions 
as needed while rendering math. So MathJax3 may have been prevented from 
behaving normally without the internet access.

Can you experiment it with internet access and without?

 

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/bf55f56a-70fd-4d20-aa94-d2b3841ba8f1n%40googlegroups.com.


Re: [sage-cell] Re: Strange output with show()?

2021-03-24 Thread ekwa...@gmail.com


On Wednesday, March 24, 2021 at 3:59:51 PM UTC+9 ekwa...@gmail.com wrote:

> I suspect that the problem is related with your recent action that stopped 
> internet access from within cells. MathJax3 seems to fetch TeX extensions 
> as needed while rendering math. So MathJax3 may have been prevented from 
> behaving normally without the internet access.
>

You didn't restrict internet access yet. Did you? If not, then it is 
strange..

 

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/219e10da-bbfb-433a-a9f9-2de4ab5807d4n%40googlegroups.com.


Re: [sage-cell] Re: Strange output with show()?

2021-03-24 Thread ekwa...@gmail.com

>
> Anyway, the example code above is working fine with my own server with the 
> same recent upgrade. 
>

Ok. I started to see the problem with my server as well. I don't know why 
It worked at first.. 

I will investigate. 


-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/c1b20cc9-479a-4de5-98bc-328731f49ce3n%40googlegroups.com.


Re: [sage-cell] Re: Strange output with show()?

2021-03-24 Thread ekwa...@gmail.com


On Wednesday, March 24, 2021 at 12:31:46 AM UTC+9 novo...@gmail.com wrote:

> Changes in MathJax behaviour are likely due to the recent upgrade by 
> Kwankyu, I've notified him of the issue and hopefully it can be resolved 
> soon!
>

I uploaded a hot fix PR reverting to MathJax2 initialization. 

Sorry for the inconveniences to all! 

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/b3e46907-4845-40b2-baca-c6f558b3bfc1n%40googlegroups.com.


Re: [sage-cell] Re: Strange output with show()?

2021-03-24 Thread ekwa...@gmail.com
I closed the previous PR and uploaded a new PR, that I hope will fix the 
problem. 

On Wednesday, March 24, 2021 at 12:31:46 AM UTC+9 novo...@gmail.com wrote:

> Changes in MathJax behaviour are likely due to the recent upgrade by 
> Kwankyu, I've notified him of the issue and hopefully it can be resolved 
> soon!
>

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/ddb499c2-3255-49ed-9a2e-2582db3fa137n%40googlegroups.com.


[sage-cell] Re: Mathjax 3

2021-06-14 Thread ekwa...@gmail.com

On Monday, June 14, 2021 at 4:03:31 AM UTC+9 novo...@gmail.com wrote:

> SageMathCell does use MJ3 already, maybe not the best idea to get out of 
> sync with SageMath itself, but I hope that with the next release all issues 
> will be ironed out and so far it has not caused many issues...


Currently Sage outputs MJ2-only html. So SMC homepage use MJ3 but contains 
tweaks to support MJ2. Next release of Sage will output html compatible 
both with MJ2 and MJ3. 

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/7772c15d-4786-4f03-9781-c175beac2ef7n%40googlegroups.com.


[sage-cell] Re: sagecell input size

2021-12-15 Thread ekwa...@gmail.com
For those visiting this thread for a solution of the problem of the 
original poster, this css rule works:

.sagecell_input .CodeMirror-scroll { /* show entire input lines */
max-height: none;
}  

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/e5ad8997-f1bc-4f01-8ab1-c2686ecbcccen%40googlegroups.com.


[sage-cell] Re: Sage 9.5

2022-02-20 Thread ekwa...@gmail.com
For me, interacts in sage cells seems to work well, though I don't know 
what was the issue with 9.5.

Thank you for the work!

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/7d768e10-2dea-40b7-9a61-636745476ce5n%40googlegroups.com.


[sage-cell] Re: Sage 9.6

2022-05-23 Thread ekwa...@gmail.com
Thank you!

On Tuesday, May 24, 2022 at 3:14:43 AM UTC+9 novo...@gmail.com wrote:

> Public servers have been updated to Sage 9.6!
>
> Sage optional package bliss is now installed.
>
> pip packages geoplot and giotto-tda are dropped as they do not install 
> reasonably automatically ;-)
>

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/d006cb52-bf79-4a01-98fc-c1aa0a231f75n%40googlegroups.com.


[sage-cell] Language Python does not work

2022-09-14 Thread ekwa...@gmail.com
With Python chosen as "Language", there is no output for any input.

Is it broken? Or am I missing something? 

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/1c5027ac-af59-4c12-ae42-38bf042a9f6bn%40googlegroups.com.


[sage-cell] Re: Language Python does not work

2022-09-16 Thread ekwa...@gmail.com
On Saturday, September 17, 2022 at 5:23:55 AM UTC+9 novo...@gmail.com wrote:

> Either nobody has used this language, or they were happy with how it 
> works, or they suffered silently. It does seem inconsistent with other 
> languages, but at this point I am not eager to change anything for 
> historical reasons. 
>

It is a bug. Why not fix it?
 

> It is also not immediately clear to me what the replacement code must be.
>

print(eval("code")) 

 

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/36d83768-8e8a-4f3e-a701-3da3ad0da969n%40googlegroups.com.


[sage-cell] Re: Language Python does not work

2022-09-16 Thread ekwa...@gmail.com


On Saturday, September 17, 2022 at 6:32:55 AM UTC+9 ekwa...@gmail.com wrote:

> It is also not immediately clear to me what the replacement code must be.
>>
>
> print(eval("code")) 
>

Not sure if this works...


 

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/26623ed2-0f0d-49de-9df5-de5c27343140n%40googlegroups.com.


[sage-cell] Re: Language Python does not work

2022-09-16 Thread ekwa...@gmail.com


On Saturday, September 17, 2022 at 6:41:32 AM UTC+9 ekwa...@gmail.com wrote:

> On Saturday, September 17, 2022 at 6:32:55 AM UTC+9 ekwa...@gmail.com 
> wrote:
>
>> It is also not immediately clear to me what the replacement code must be.
>>>
>>
>> print(eval("code")) 
>>
>
> Not sure if this works...
>

A proper fix would be to make print(python.eval("code")) work in sage.

There is no easy fix in sagecell right now. 

Okay. Thank you!


-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/3a2e2ef3-017b-42b1-a8c9-980133da1077n%40googlegroups.com.


[sage-cell] Re: Sage 9.7

2022-09-25 Thread ekwa...@gmail.com
Thank you!

On Monday, September 26, 2022 at 6:18:46 AM UTC+9 novo...@gmail.com wrote:

> Public servers have been updated to Sage 9.7!
>

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/7d573db0-aa8f-4494-9729-48074d2594f2n%40googlegroups.com.


[sage-cell] Re: Ubuntu 22.04

2022-10-13 Thread ekwa...@gmail.com
Thank you!

On Friday, October 14, 2022 at 2:37:10 AM UTC+9 novo...@gmail.com wrote:

> Public servers are now running under Ubuntu 22.04. 
>
> It should not affect the user experience much - some packages are now at 
> newer versions, some old optional packages that had compatibility issues 
> are brought back. However, if something got broken since a few minutes ago, 
> perhaps this is the reason - let me know!
>
> Andrey
>

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/4aa11f28-a631-4c3e-9b0e-3e9f62fb6874n%40googlegroups.com.


[sage-cell] Re: Sage 10.1

2023-08-24 Thread ekwa...@gmail.com
Thank you!

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/0e9b9a03-f4c3-483d-999f-f9ea85c0fbb7n%40googlegroups.com.


[sage-cell] Re: Sage 10.2

2023-12-18 Thread ekwa...@gmail.com
Thank you! 

Have a happy holiday!

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/8563d890-5e9a-4ab5-a589-e2fee718c721n%40googlegroups.com.


[sage-cell] Re: Displaying 1 as a coefficient in front of the x variable

2024-09-11 Thread ekwa...@gmail.com
I think it's a bug.

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/8620df61-4d92-4435-88cd-56aba5dd0e7an%40googlegroups.com.


[sage-cell] Language python does work work for some inputs

2025-06-01 Thread ekwa...@gmail.com
For example, "1+1" produces nothing. However, "print(1+1)" works. Strange..

Anyway, thank you for maintaining the sagecell server.

Kwankyu 

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-cell/5bdabfd9-11d4-4eef-acec-18bd27b75been%40googlegroups.com.


[sage-cell] Re: Language python does work work for some inputs

2025-06-03 Thread ekwa...@gmail.com
On Wednesday, June 4, 2025 at 12:42:04 PM UTC+9 novo...@gmail.com wrote:

Was it ever different?


I don't remember...
 

Other languages are wrapped into eval calls with potentially extra 
wrapping, so "the last object" is not necessarily getting printed.


That is a different behavior from most other languages, if not all, even 
from sage. I guess most users would find this surprising.

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-cell/26c88f30-1a2b-4139-b213-844220cc35e5n%40googlegroups.com.