Re:Web4 Should Run on LaTeX
by garbagecoder on Sunday November 28, 2021 @06:32PM
(#29374414)
We don’t see html raw either dude
[ Parent
| on HN ]
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.
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...