On Mon, Jun 6, 2022 at 3:58 AM Kwankyu <ekwan...@gmail.com> wrote:
>
> It seems the bug is in jupyter. Try putting the following
>
> $\verb|-_-|$
>
> in a markdown cell.

I did some tests, and it also seems to me that this is a bug in
Jupyter classic and JupyterLab.

Incidentally, it's not a bug in my reimplementation of Jupyter in
CoCalc.   I've reported this upstream:

https://github.com/jupyterlab/jupyterlab/issues/12657

William

>
> On Monday, June 6, 2022 at 12:51:00 AM UTC+9 egourg...@gmail.com wrote:
>>
>> Indeed, in Jupyter or Jupyterlab, the underscore is rendered as a minus sign 
>> in %display latex mode.
>> For instance,
>>
>> %display latex
>> type(ZZ)
>>
>> returns
>>
>> <πšŒπš•πšŠπšœπšœ '𝚜𝚊𝚐𝚎.πš›πš’πš—πšπšœ.πš’πš—πšπšŽπšπšŽπš›βŽ―πš›πš’πš—πš.π™Έπš—πšπšŽπšπšŽπš›πšπš’πš—πšβŽ―πšŒπš•πšŠπšœπšœ'>
>>
>> while
>>
>> print(type(ZZ))
>>
>> gives
>>
>> <class 'sage.rings.integer_ring.IntegerRing_class'>
>>
>> I don't know where the replacement of underscores by minus signs comes 
>> from...
>> Le dimanche 5 juin 2022 Γ  15:50:41 UTC+2, raymond....@gmail.com a Γ©crit :
>>>
>>> show('1_1=',2)
>>> Works fine in console mode.
>>> In jupyter and jupyterlab:
>>>
>>> 1-1=2
>>>
>>> It seems to be auto-corrected; I see the correct output momentarily then
>>> it gets "corrected".
>>> Where should I report it?
>>>
>>> Sagemath 9.6
>>> Linux Mate
>>> Google chrome and Firefox
>>>
>>> rrogers
>>>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/e9f5d0d1-7097-46dd-83a0-64d0af35c699n%40googlegroups.com.



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

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CACLE5GBPeKURX2nxfiP5y2QcadMehs9KmLoWB95H99rozJj98A%40mail.gmail.com.

Reply via email to