Live data from Hacker News

Towards LaTeX in the Browser

hackernoon.com

21–30 of 68 posts

Re: Towards LaTeX in the Browser

#21
Just a bit of historical correction. The article/post says:

"Ten years later, in 1978, his work bore fruit"

This gets things pretty wrong. He got the idea in 1977, and his estimate of "this will take 6 months" was pretty close, in that the initial version was finished sometime in 1978. It then took about another ten years to be "actually done". (Rewrite, add features, fix bugs, create Metafont, create WEB, etc...)

Re: Towards LaTeX in the Browser

#22
I used https://github.com/phfaist/pylatexenc to convert LaTeX to unicode text, with math symbols and superscripts etc.

It's of course never going to be as good looking as MathJax or something like that -- but it may be more appropriate to be able to treat it as plain Unicode text in some cases.

For instance, it works in title fields across the web and search engines will understand it better than anything else.

Re: Towards LaTeX in the Browser

#23
post #4

Are there any other solutions to document typesetting with latex-like features? TeX is very obtuse for someone who hasn't been using it for a long time.

There was Lout[1], but it seems to be abandonded. I really liked it, especially the simpified syntax (compared to latex). It was also unicode-safe by design.

[1]: https://en.m.wikipedia.org/wiki/Lout_(software)

Re: Towards LaTeX in the Browser

#24
post #21

Just a bit of historical correction. The article/post says: "Ten years later, in 1978, his work bore fruit" This gets things pretty wrong. He got the idea in 1977, and his estimate of "this will take 6 months" was pretty close, in that the initial version was finished sometime in 1978. It then took about another ten years to be "actually done". (Rewrite, add features, fix bugs, create Metafont, create WEB, etc...)

Thanks very much for the correction!

Re: Towards LaTeX in the Browser

#27

(I'm a co-founder at Overleaf.com, which does collaborative 'LaTeX in the browser' in a different sense.) I like the idea of a 'sane' subset of LaTeX that is easy to publish to the web. There are tools like LaTeXML and TeX4ht that try to convert general LaTeX documents to (X)HTML, but it's a very hard problem. Some difficulties arise from the fact that TeX is just very hard to parse in general. Even the first stage o…

Hi, I am the developer of MiniLatex. Overleaf looks like a fantastic tool.

Re: Towards LaTeX in the Browser

#28

(I'm a co-founder at Overleaf.com, which does collaborative 'LaTeX in the browser' in a different sense.) I like the idea of a 'sane' subset of LaTeX that is easy to publish to the web. There are tools like LaTeXML and TeX4ht that try to convert general LaTeX documents to (X)HTML, but it's a very hard problem. Some difficulties arise from the fact that TeX is just very hard to parse in general. Even the first stage o…

> I like the idea of a 'sane' subset of LaTeX that is easy to publish to the web.

That's probably the only approach that really makes sense:

During the past decade I was surprised to learn that the writing of programs for TeX and Metafont proved to be much more difficult than all the other things I had done (like proving theorems or writing books). The creation of good software demand a significiantly higher standard of accuracy than those other things do, and it requires a longer attention span than other intellectual tasks.

Re: Towards LaTeX in the Browser

#29

(I'm a co-founder at Overleaf.com, which does collaborative 'LaTeX in the browser' in a different sense.) I like the idea of a 'sane' subset of LaTeX that is easy to publish to the web. There are tools like LaTeXML and TeX4ht that try to convert general LaTeX documents to (X)HTML, but it's a very hard problem. Some difficulties arise from the fact that TeX is just very hard to parse in general. Even the first stage o…

I really like the idea of adding math support to Unicode via combining characters. It's more complicated than anything Unicode currently deals with, but not that much more complicated, and the idea of being able to put math into anything that currently accepts strings is just so enticing. We should treat math as it's own language, and rendering it as we would any other human language with an unusual way of laying out characters.

Re: Towards LaTeX in the Browser

#30
post #21

Just a bit of historical correction. The article/post says: "Ten years later, in 1978, his work bore fruit" This gets things pretty wrong. He got the idea in 1977, and his estimate of "this will take 6 months" was pretty close, in that the initial version was finished sometime in 1978. It then took about another ten years to be "actually done". (Rewrite, add features, fix bugs, create Metafont, create WEB, etc...)

Thanks very much for the correction!

Much better :)
Post reply on HN