Example:
\documentclass{article}
\newcommand\world{World}
\newcommand\newworld{New \world}
\begin{document}
Hello \newworld!
\end{document}Runtime:
| ms | cmd | lang |
|---|---|---|
| 7 | rtx | Rust |
| 7 | tralics | C++ |
| 15 | pandoc | Haskell |
| 32 | pdflatex | C |
| 270 | htlatex | TeX |
| 780 | latexmls | Perl |
| 1090 | latexml | Perl |
Commands:
rtx hello_new_world.textralics hello_new_world.texpandoc hello_new_world.texpdflatex hello_new_world.texhtlatex hello_new_world.texlatexmlc --expire=60 --format=html5 hello_new_world.texlatexmlc --format=html5 hello_new_world.tex
Example result (rtx)
<?xml version="1.0" encoding="UTF-8"?>
<?latexml class="article"?>
<?latexml RelaxNGSchema="LaTeXML"?>
<document xmlns="http://dlmf.nist.gov/LaTeXML">Hello New World! </document>