Do you have any best practices for how to do Typst in Emacs?
How did you configure your Emacs to make typst-Editing as friction-free as possible?
Hi @Sinthoras
I don’t. I installed typst, tinymist and am using eglot and typst-ts mode for emacs.
I think eglot has been built in to emacs since 26.3
Let me know if I can help with anything else.
Cheers
Okay, thank you. I actually have a few questions about Emacs and Typst.
- Do you use a package for in-buffer hints while hovering or when typing?
- Do you use any autosave method? If not, what is your keybinding for saving a file?
- Is there a package that can enable the paste an image utility of the Web-App?
- Is there a way to tab out of paranthesis and brackets like the overloaded tab key functionality of cdlatex?
I feel like one should save often to get the most out of the fast compilation with watch, but the standard C-x C-s
are two keys which can get tiring.
I currently use Emacs for LaTex editing (and am very pleased and view it as the best way to edit LaTeX) and edit Typst in the Web App, but I would prefer to do it locally in my Emacs as I do with LaTex, but now I feel like I want to have the best of both worlds (meaning, of the LaTeX Emacs capabilities and the Web Apps Typst capabilities both for Emacs and Typst.)
Hi @Sinthoras
I don’t use a package for in-buffer hints.
I do use a package called super-save. This is an auto-save package that can be configured.
I’m not sure about pasting images like the web-app can.
And I’m not sure about a way to tab out of parentheses either.
I am just looking at yasnippet to get a lot of my most regular code snippets inserted.
Not much help I’m afraid
Cheers.
For preview, you can see typst-preview.el (it works with tinymist).