Except LaTeX isn’t universal, it’s about 15% of papers — most of the rest is Word. Both Word and LaTeX suffer from being rendering formats rather than semantic, which is what you’d want for this to work.
Not to say this is impossible — I know it can work because I built it once.
♥ 1