Hacker News new | ask | show | jobs
by xavxav 1187 days ago
I was looking for a way to procrastinate on my thesis writing, maybe I'll convert it all to typst!

More seriously, I am really following this project closely, and now that it's open source I'd like to see if its possible to add the key libraries my field needs: mathpartir, and something like semantics? especially if typst can provide better syntax and errors!

1 comments

Unfortunately Typst is completely incompatible with LaTeX and its packages, so you either have to go back to working on your thesis or procrastinate even more by reimplementing these yourself!
Yes that's what I meant, I'm curious if the Typst api would allow equivalents of those packages.
To be honest I wouldn't recommend it just yet. Right now Typst doesn't expose that many layout primitives for math -- stuff like fractions are special-cased in the compiler. It all should be theoretically possible -- technically everything you need is there -- but from looking over the documentation and experimenting with this my guess would be that it would feel more like implementing your own layout engine with Typst's programming language than gluing existing stuff together.
> Unfortunately Typst is completely incompatible with LaTeX and its packages,

I was under impression this compiled to TeX. So they are doing typesetting by themselves? Why?

It promises continuous rendering, that may not be retrofittable.