brucemiller/latexml ? reverse-engineered prompt

Reverse engineered prompt

Build me a working LaTeX converter from this repo that I can run locally from the command line.

I want to give it a TeX or LaTeX file and get useful output like XML, HTML, MathML, and if possible ePub or JATS. It should feel like a real tool, not just a library, so make sure the main commands are easy to use, the install steps are clear, and there is a simple example I can try right away.

Please keep the existing project structure intact, get the conversion flow working end to end, and make sure the included tests pass or add a few basic ones if something is missing. If you need to check current Perl or LaTeX related docs online while you work, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab