from Hacker News

Web Publications – LaTeX Style – HTML View

by fango on 6/6/21, 3:03 PM with 19 comments

  • by leephillips on 6/6/21, 3:40 PM

    I found it hard to understand the point of this. It talks about imitating the “look and feel” of LaTeX documents in HTML, but fails to do so. If the article itself is an example, it’s the familiar low-quality browser-rendered HTML typography.
  • by inamiyar on 6/6/21, 5:04 PM

    This is maybe the third time I've seen the concept of a LaTeX styled html page and it never seems like a good idea to me. I'm all for math typesetting in HTML, but I no longer "believe" in justification, especially not browser's dissatisfying one-paragraph based techniques. But even with knuth-plass I have reasons to suspect ragged right text is better, see https://news.ycombinator.com/item?id=27189306 I'm willing to change my mind with more evidence, justified text is pretty.
  • by thomasahle on 6/6/21, 5:03 PM

    I've found that Texmacs produces some nice and fast html pages, like this: https://www.texmacs.org/joris/pcomp/pcomp.html

    However, I don't know if there's a way to use it for regular Tex documents.

  • by ubavic on 6/6/21, 7:04 PM

    It is sad that in 2021 we are still using heavyweight js libraries for displaying mathematical notation, instead W3C specification - MathML.
  • by vincent-manis on 6/7/21, 12:42 AM

    Producing Computer-Modern-y HTML output that looks like a defaults-everywhere LaTeX document reminds me of George Bernard Shaw's reputed response to a marriage proposal from a noted actress: “But what if the baby had MY looks and YOUR brains?”
  • by lobocinza on 6/6/21, 4:06 PM

    Use Katex