Re:KaTeX – The fastest math typesetting library for the web
by ezluckyfree on Sunday October 11, 2020 @11:48AM
(#24746575)
If publishers provided the TeX source, you could do this.
I don't really see this as an issue. TeX is just a language that can be translated into PDFs for visual consumption well, but it could similarly be translated into audio or code (in the case of equations), we just can't do that because publishing TeX isn't something we do for some reason.
Re:KaTeX – The fastest math typesetting library for the web
by franga2000 on Sunday October 11, 2020 @12:09PM
(#24746749)
The problem is that you really can't. Tex isn't semantic, it's visual. Even matrix transposition, one of the most basic things in linear algebra, is written differently by different people. I've seen plenty of people just write ^T, which requires an amount of contextual awareness a parser just cannot have to differentiate from just raising something to the power of "T".
Additionally, if equations are the the main appeal of it, how have we not made anything better? Why can't I plug the same code that renders my paper into a solver or convert it into Julia and run it? Like, properly, not just by guessing. I get that *tex is a typesetting language, but we're not typesetters!