News for hackers. Stuff that matters.
Re:Accessible open textbooks in math-heavy disciplines by whyho on Saturday March 29, 2025 @01:34PM (#43517137)
Typst( https://typst.app/) Is good Latex alternative which should be mentioned here. Their roadmap also features html as a target.
Re:Accessible open textbooks in math-heavy disciplines by AugustinWinther on Saturday March 29, 2025 @01:45PM (#43517207)
Switched from LaTeX to Typst two years ago and have never looked back. Looking forward to their HTML export feature.

Looks like you can already play with it (though it's still "very incomplete") https://typst.app/docs/reference/html/

Re:Accessible open textbooks in math-heavy disciplines by japanuspus on Saturday March 29, 2025 @03:28PM (#43517921)
A friendly person on the internet already put up the typst-to-mathml part of this [0]. I have been considering the ultimate yak-shave of building a static site generator around this...

[0]: https://github.com/wcshds/typst-math-to-mathml-converter

Re:Accessible open textbooks in math-heavy disciplines by teleforce on Saturday March 29, 2025 @01:51PM (#43517233)
Another is TeXmacs [1].

"Despite its name, TeXmacs is not a front-end to TeX or LaTeX.[mHowever, TeXmacs documents can be converted to either TeX or LaTeX. LaTeX also can be imported (to some extent), and both import from and export to HTML, Scheme, Verbatim, and XML is provided; the HTML export is stylable with CSS (since version 1.99.14). There is a converter for MathML as well, and TeXmacs can output PDF and PostScript for printing."

[2] GNU TeXmacs:

https://en.wikipedia.org/wiki/GNU_TeXmacs

Re:Accessible open textbooks in math-heavy disciplines by IshKebab on Saturday March 29, 2025 @02:03PM (#43517324)
Yeah they really need to rebrand.
Re:Accessible open textbooks in math-heavy disciplines by zellyn on Saturday March 29, 2025 @01:42PM (#43517189)
HTML is available as a preview feature now
Re:Accessible open textbooks in math-heavy disciplines by TimorousBestie on Saturday March 29, 2025 @06:47PM (#43519418)
If only it weren’t subscription model. At least I can still install LaTeX without a credit card.
Re:Accessible open textbooks in math-heavy disciplines by raegis on Saturday March 29, 2025 @10:17PM (#43520647)
Typst is Apache licensed. I install it with "cargo install --locked typst-cli". The subscription model is for their web interface with storage. I write simple worksheets for a living, so I've been using it instead of TeX lately. (I've use LaTeX or plain TeX since around 1990.)
Re:Accessible open textbooks in math-heavy disciplines by jenny91 on Saturday March 29, 2025 @08:00PM (#43519862)
That "LaTeX alternative" looks awful? `integral_t^oo` in place of `\integral_t^\infty`?

Why would anyone switch from LaTeX to this other than the speed?

Re:Accessible open textbooks in math-heavy disciplines by wanderlust123 on Sunday March 30, 2025 @03:24AM (#43522104)
Its a lot easier and idiomatic to write. I would try it first before knocking it off.
Re:Accessible open textbooks in math-heavy disciplines by JadeNB on Sunday March 30, 2025 @06:33AM (#43523030)
> Its a lot easier and idiomatic to write.

Surely both of these characterizations depend on the person? I can believe that integral_t^oo is idiomatic if that's what you're used to, and maybe it's easier to pick up from scratch, but, for someone long used to TeX, it just makes me wonder what other unpleasant surprises someone else will have decided are actually pleasant.