benetech / MathShare

MIT License
9 stars 3 forks source link

Equations don't paste correctly from Aleks #1207

Open benetechMatt opened 3 years ago

benetechMatt commented 3 years ago

Reported by Taylor (oit-stl@wmich.edu) Copying an equation from Aleks in accessibility mode will give you the following. ( 2 x begin exponent 2 end exponent − 7 x − 1 ) + ( 4 x begin exponent 2 end exponent − 6 x + 5 )

When that is pasted into mathshare it gives (2xbegginexponent2endexponent -7x - 1)+ 4xbegineexponent2endexponent - 6x +5 screenshot of the equation in mathshare (2xbegginexponent2endexponent -7x - 1)+ 4xbegineexponent2endexponent - 6x +5

Taylor created a python script that would turn the initial copied equation into latex that mathshare would recognize properly. script here https://drive.google.com/drive/u/0/folders/1HWWvuDIEi-zuTAMdTpplq0Yi5r01SwnZ

jscholes commented 3 years ago

Is this an Aleks bug or a MathShare one? What I'm reading is that Aleks is not copying appropriately formatted math to the clipboard, which isn't really MathShare's problem to solve.

CC @sinabahram Do you have any experience with Aleks and its accessibility?

benetechMatt commented 3 years ago

I don't even thing it's a "bug" Aleks has, just an issue of neither program speaking math the same way. On our end we want the experience of bringing in math from other sources easy for the end user. This issue is part of a bigger product discussion @alexrcabral.

@jscholes @sinabahram we'll hold off on any development for this until we get further on the product and partnership side of the issue

alexrcabral commented 3 years ago

@jscholes We talked about this during the standup today, and your point is correct in that it's not a bug, but rather a nonstandard format that it's copying to the clipboard. Their formatting isn't something we can change on our end, though it does bring up a larger conversation of which formats we can handle with Mathshare.

And Sina please do chime in if you know about the accessibility of Aleks, it's not a program I'm familiar with.

ghost commented 3 years ago

Hi all, This is Taylor who reported the bug. My github email is different . I want to answer questions brought up by @alexrcabral about the accessibility of Aleks. Aleks is accessible for blind students, and they have a dedicated accessibility mode. I have some idea they are using possibly a java script library of some sort but unsure how they do this. However, with that being said, i don't see this formatting on any other website. I made the python script as a temporary workaround so that my students and I could use mathshare with Aleks. Let me know if you have any more questions and i will be sure to try to answer them. Here are some resources that may help you to understand the accessibility. https://www.aleks.com/highered/math/MHHE_Accessibility_HE_Math_Fall_2016.pdf https://www.mheducation.com/highered/aleks.html

benetechMatt commented 3 years ago

python script that Taylor wrote for that converts math copied from Aleks to a format that can be pasted into Mathshare https://drive.google.com/drive/folders/1HWWvuDIEi-zuTAMdTpplq0Yi5r01SwnZ