logoalt Hacker News

percentceryesterday at 8:06 PM2 repliesview on HN

Dumb question but what stops browsers from rendering TeX directly (aside from the work to implement it)? I assume it's more than just the rendering


Replies

bo1024yesterday at 8:17 PM

You mean a display engine that works like an HTML renderer, except starting from TeX source instead of HTML source? I think you could get something that mostly works, but it would be a pain and at the end you wouldn't have CSS or javascript, so I don't think browser makers are interested.

pwdisswordfishyyesterday at 8:11 PM

For starters, TeX is Turing-complete, and the tokenizer is arbitrarily reprogrammable at runtime.

show 2 replies