4 ms·
These functions are represented as LaTeX, because that's the gold standard for rendering math. But, they also want them available as XML so they're in a more se
by bfirsh 6y ago
These functions are represented as LaTeX, because that's the gold standard for rendering math. But, they also want them available as XML so they're in a more sensible format for archiving.
So, funnily, as part of this, NIST maintain a LaTeX to XML converter.[0] It's a pretty complete LaTeX runtime. (Yes, runtime -- TeX is a programming language, not a markup language!)
This is the thing that powers arXiv Vanity[1] and other academic publishing projects.
I just find it quite amusing that the US Government maintains a LaTeX runtime written in Perl.
[0] https://dlmf.nist.gov/LaTeXML/ https://dlmf.nist.gov/LaTeXML/
[1] https://www.arxiv-vanity.com/ https://www.arxiv-vanity.com/
- jimktrains2 6y agoXml in what sense? Mathml?
- bfirsh 6y agoIt's own format, which is a rough semantic representation of a LaTeX document: https://dlmf.nist.gov/LaTeXML/manual/schema/ https://dlmf.nist.gov/LaTeXML/manual/schema/ There are ways of exporting MathML within that schema, I think.
- kevinb7 6y agoThe site has MathML (pMML) representations that can be downloaded.
- yudlejoza 6y ago> This is the thing that powers arXiv Vanity. Never heard of this. Does it have access to the LaTeX source of the arXiv paper? I didn't know arXiv hosted sources.
- petschge 6y agoDepends what the authors upload. You can just upload a PDF. But if arXiv detects that the PDF came out of pdflatex it will pretty instantly nag you to give it the TeX sources. It will then render the PDF itself and also offer the sources for download. That is also how astro-ph-leaks [1] works. [1] https://twitter.com/LeaksPh https://twitter.com/LeaksPh
- ISL 6y agoOh, wow. Had never heard of astro-ph-leaks. That is the best.