News for hackers. Stuff that matters.
Re:Web4 Should Run on LaTeX by tasogare on Sunday November 28, 2021 @10:43PM (#29376127)
Username checks out. It's not the same: HTML is interpreted and often modified on the fly (with JavaScript), with the source being a click away, but it's still just HTML. On the other hand Latex documents are compiled into other formats like PDF that are distributed, instead of the Latex source.
Re:Web4 Should Run on LaTeX by dredmorbius on Sunday November 28, 2021 @11:54PM (#29376532)
Correct, further:

- The compilation means that there's at least a check for syntactic validity before any old crap is published.

- JS-based HTML can be fully dynamic to the extent that there's no sense of an underlying document at all. There are times when this is useful. That is an exceedingly small minority of the cases in which it is used. The fact that it's often preferable to rerender an HTML document as PDF, simply for readability, let alone archival, should speak volumes.

Re:Web4 Should Run on LaTeX by ttybird on Monday November 29, 2021 @04:34AM (#29377893)
I talked about the compilation aspect at https://news.ycombinator.com/item?id=29372937 In addition to that there are various checkers for html.

There is lua-based LaTeX and js-based pdf. Just use html without JS.

"The fact that it's often preferable to rerender an HTML document as PDF, simply for readability, let alone archival, should speak volumes."

The fact that it's always preferable to export a LaTeX document as pdf...

Re:Web4 Should Run on LaTeX by ttybird on Monday November 29, 2021 @04:25AM (#29377844)
Username checks out? Are people who compile markdown, org (or even LaTeX) via pandoc into html somehow "garbage coders"?