3 ms·
You might be interested in Pollen. It's not a direct analog to TeX at all as the intended target is ebooks, but it might tick some of the boxes you've mentioned
by 1propionyl 2y ago
You might be interested in Pollen. It's not a direct analog to TeX at all as the intended target is ebooks, but it might tick some of the boxes you've mentioned. Racket is a far better language than TeX for general purpose expression of internal logic or generation.
[0] https://docs.racket-lang.org/pollen/ https://docs.racket-lang.org/pollen/
- constantcrying 2y agoTo be honest I think typst gets it mostly right, it puts a relatively simple python/rust'esque scripting language inside the document and lets you easily reference between them. I don't think a lisp would have been a bad option, although I generally do not really like the syntax. Certainly it is a far better option than macro expansion.