3 ms·
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
by RestartKernel 2y ago
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.
- mr_mitm 2y agoThey implemented the same algorithm that TeX uses.
- DNF2 2y agoNo, they are not using the same algorithm: https://laurmaedje.github.io/posts/layout-models/ https://laurmaedje.github.io/posts/layout-models/
- mr_mitm 2y agoI thought we were talking about justification, there it is using it: https://github.com/typst/typst/discussions/626 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.
- RestartKernel 2y agoI'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.