News for hackers. Stuff that matters.
Re:The future of education is plain text by com2kid on Tuesday June 13, 2017 @12:36PM (#14546092)
Fun fact!

Microsoft Office has two internal math formats, one of them is Ecma Math[0], the other the other is the "Unicode Nearly Plain-Text Encoding of Mathematics"[1], it is a Unicode standard and uses only Unicode standard characters. It has the unfortunate property of being hard to type on its own (the integral character isn't on most people's keyboards), but it is pretty easy to read as just plain text. If you copy an equation out of Word you'll get something like this: ∫(x^2/2)

[0] https://blogs.msdn.microsoft.com/murrays/2006/10/06/mathml-a...

[1] http://unicode.org/notes/tn28/UTN28-PlainTextMath-v3.pdf

Disclaimer: I work @Microsoft improving on some math features, and we are the main implementors of the spec. Which makes me sad, since it is an open spec and it is really powerful!

Re:The future of education is plain text by schoen on Tuesday June 13, 2017 @02:07PM (#14547089)
Funny that it's not ∫(x²/2), though!

OK, I went and looked at the standard and it seems like they're thought about this: they allow input as either ∫(x²/2) or ∫(x^2/2) but they apparently output as ∫(x^2/2) because it's more general and editable, like if you wanted to change the exponent to something that didn't have a predefined Unicode superscript.

Re:The future of education is plain text by mjevans on Tuesday June 13, 2017 @05:27PM (#14548802)
I like that, except I prefer "un-necessary" parenthesis to be explicit about the ordering of operations.

Thus assume only + - and * / are unambiguous, everything else be explicit about ordering.

EG: ∫((x^2)/2)

Re:The future of education is plain text by microcolonel on Tuesday June 13, 2017 @01:40PM (#14546770)
It's alright, somebody has to do it first. Though you shouldn't be surprised that a specification written by an employee at Microsoft is still primarily implemented at Microsoft.

Maybe it could be integrated into the Unicode shaper (HarfBuzz/Uniscribe/AAT) with a language code for "maths".

Re:The future of education is plain text by skellera on Tuesday June 13, 2017 @01:50PM (#14546885)
Since you're here, is something like that relatively easy to use in a UWP application? I have an idea for a chemistry app and am looking for a good way to show formulas.
Re:The future of education is plain text by com2kid on Tuesday June 13, 2017 @02:08PM (#14547092)
> Since you're here, is something like that relatively easy to use in a UWP application? I have an idea for a chemistry app and am looking for a good way to show formulas.

Unfortunately not! I am wondering if I should make requests to the Windows team internally, the Managed wrapper class they ship has the math features compiled out. :( I'm in Office, where we use an internal UWP safe C++ version of Rich Edit. We bundle it with our AppX and load it up like any other C++ DLL.

Re:The future of education is plain text by Pxtl on Tuesday June 13, 2017 @05:03PM (#14548628)
So in other words I shouldn't hold my breath for this to appear on NuGet. That's a shame. It seems like it would play nicely with MarkDown.
Re:The future of education is plain text by com2kid on Tuesday June 13, 2017 @06:01PM (#14549033)
I fired off an email to the team responsible. :)

Please post over on https://wpdev.uservoice.com/ and get others to upvote! If internal and external asks line up, it becomes much easier to argue in favor of doing a feature.