this post was submitted on 21 Nov 2023
84 points (100.0% liked)

Rust

5980 readers
126 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

The one dealbreaker for me in Typst is the current lack of locale-aware decimal separators. The rest of it is so good that I've donated a couple times.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 20 points 11 months ago (1 children)

Note that this is not only a cli and a (closed source) web editor, but also a library. So it's possible to embed a full typesetting library in your project, which is awesome. It's probably not on par with TeX yet, but you can already do an awful lot with it. Scripting it is really much, much easier than, say, LaTeX.

[–] [email protected] 9 points 11 months ago

Scripting it is really much, much easier than, say, LaTeX.

Oh yes, this is absolutely my favorite improvement over LaTeX: Namespacing for packages! As a result, there's already a healthy package ecosystem. :)

[–] [email protected] 9 points 11 months ago

Used it last month for the first time. It was great.

Documentation is very good.

typst-lsp is also good.

Did it all from neovim, exportPdf = "onSave" as a part of lsp setup, and zathura open in a tiling window manager. zathura auto-reloads the PDF when it changes on disk. So no web editor needed ;)

First class RTL support (which was required for the task at hand) was a very pleasant surprise.

Gotta admit though that I couldn't figure out why typst-lsp didn't work initially. Took me some time to figure out that it needs a git repo and files checked in to work. That probably should be mentioned in the README.

And there was the odd behavior here and there, like setting gradients on text elements in table fields actually setting the gradient over the whole table for some reason. Not sure if it was my fault since I was learning on the go, or an edge case not handled.

All in all, would definitely recommend.

[–] [email protected] 2 points 11 months ago

Here are some possibly related communities in the instance:

Feel free to crosspost into them or post future content on this topic there if they are relevant.
I am a bot and this was performed automatically 🤖 For any issues contact Ategon.