Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've migrated everything I did in LaTeX to Typst. Books (I've written 12 books), invoicing, slides, and handouts. Happy to never touch LaTeX again.


How's the typesetting and justification nowadays? Last time I committed to it for a few months I found the latter to be about the quality of HTML with a better linebreak algorithm.


They implemented the same algorithm that TeX uses.


No, they are not using the same algorithm: https://laurmaedje.github.io/posts/layout-models/


I thought we were talking about justification, there it is using it: https://github.com/typst/typst/discussions/626

If I weren't on mobile I'd link you to the line in the source code. Just search the repo for Knuth-Plass.


I'm aware it uses the same algorithm, but the end result is still worse. Before Typst, I tried typesetting in HTML in an effort to escape LaTeX, and the results I got using an implementation of this same algorithm was very similar to what Typst ended up achieving, which is noticeably worse than LaTeX.

Mind you, I loved programming in Typst, and I wrote some plugins before it got its package manager, but I ended up moving back to LaTeX for this difference in quality of the final output. I should do some in depth testing at some point, because I am looking to switch back.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: