Comment Comment by dredmorbius Pandoc does all that, from LaTeX source (among others).https://pandoc.org parent dredmorbius 7 years ago
https://pandoc.org