Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is using a text editor a workflow for creating linear math for Word? #19

Open
GeorgeKerscher opened this issue Aug 26, 2024 · 2 comments

Comments

@GeorgeKerscher
Copy link
Collaborator

It is very easy to create linear expressions in a text editor. It currently seems that a screen reader user gets tripped up in the Microsoft Word math editor. If you make a mistake and backspace or if you add a space accidendetly, it becomes difficult to make changes.

Testing with Notepad, Notepad++, and VS Code, the three editors behaved the same.

Taking the expression, \sqrt ((4^3 +2)/2a) =7 and pasting it into the Word math editor, i.e., alt+= and then ctrl+v and then pressing enter produced the correct results. Moving back into the expression in Word and pressing ctrl+= built up the expression.

Then going from Word to the texteditors also worked identically. Copying the linear expression or the built-up expressionn to the clipboard and pasting it into the editors gave us:

√((4^3+2)/2a)=7

Notice that \sqrt was converted to the unicode character.

Now going back into Word and pasting the expression using √ instead of \sqrt yielded the same results. The only difference is that with \sqrt, you need to have a space character after the shortcut whereas with √, you should not put in a space.

It seems that students and professionals could benefit from using this workflow to create documents with math. If a textbook in HTML or EPUB with MathML were provided to the students, the mathML can be copied into the Word document and converted to the Office Math from Word.

The math that originated as MathML can then be copied and pasted as text and then edited and pasted back into Word.

If we think this is a good option, we should create documentation describing the workflow.

@MurrayIII
Copy link

If you enter UnicodeMath in https://murrayiii.github.io/UnicodeMathML/playground/ , click on the displayed output, and type Ctrl+c, then typing Ctrl+v in Word will paste the built-up result into Word. The web app does this by copying the MathML for the equation to the clipboard and Word recognizes this as MathML and converts it to its internal (OMML) format. Note that the UnicodeMathML web app is a work in progress 😊But you can already enter equations more quickly than in Word since it has math autocomplete.

@jenmarsala
Copy link

I meant to ask this in our meeting and forgot... Is this an issue that we want to mention to Microsoft, or more of a discussion item? If we want to submit it as an issue, I believe that we may need more clarity on what we are asking Microsoft to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants
@brichwin @GeorgeKerscher @jkhurdan @MurrayIII @jenmarsala and others