News for hackers. Stuff that matters.
Re:Show HN: Read ArXiv Papers on Semantic Scholar as Respons... by thecodeviking on Friday February 23, 2018 @07:57PM (#16450971)
Yup, @kpsns nailed it. LaTeXML does the heavy lifting in converting TeX to XML. From there some post processing does the job of converting it to a nice responsive template (that's done by Engrafo / the ArXiv Vanity team).

We love OSS at AI2, and are looking to collaborate with the Engrafo / ArXiv Vanity team as we expand the functionality.

Re:Show HN: Read ArXiv Papers on Semantic Scholar as Respons... by ktpsns on Saturday February 24, 2018 @06:18PM (#16456081)
So I digged into the code (engrafo repository) and was quite surprised that -- contrary to the suggestive title -- the method inherits all the problems LaTeXML already has. This is the fact that (for instance compared to the TeXLive distribution), tons of widespread sty files miss a LaTeXML integration and thus the conversion fails for a wide range of papers. Converting a TeX document to XML with LaTeXML really requires a lot of debugging and ideally starting from a plain LaTeX paper/book and compiling with pdflatex and latexml at the same time, making sure nothing breaks.
Re:Show HN: Read ArXiv Papers on Semantic Scholar as Respons... by thecodeviking on Wednesday February 28, 2018 @03:37PM (#16486627)
Yea, it's tough work. We're hoping to invest more in the conversion library (and support the Engrafo's team to do so).

It's going to take a lot of time and elbow grease to get it to where it needs to be!