Latex is a very complicated programming language for creating documents. It is not easy to create a new backend for it.
As a glimpse into the very tip of the iceberg, this diagram is https://tex.stackexchange.com/a/158740/ generated with 100% Latex code.