jethrokuan / dots

tracking my dotfiles
178 stars 41 forks source link

Don't you use auctex in your Emcas for LaTeX configuartions? #5

Closed hongyi-zhao closed 2 years ago

hongyi-zhao commented 3 years ago

I noticed your blog comments on the configuration of an LaTeX editing environment based on Doom Emacs. But it seems that you don't use auctex at all.

Any hints for this selection?

Regards, HY

jethrokuan commented 3 years ago

I practically don't need to configure anything for latex, the Doom emacs latex layer is more than sufficient, and it uses auctex: https://github.com/hlissner/doom-emacs/blob/develop/modules/lang/latex/packages.el#L4

hongyi-zhao commented 3 years ago

Thank you for your information.

I am in the same predicament as you: I've tried for several days to deploy an Emacs based LaTeX environment, but still can't achieve the ideal result, especially I can't figure out a working lsp-mode based IDE-like configuration out of Emacs. I have to admit that Emacs is too powerful and complicated, while my level of knowledge is really low in this field.

So the existent Emacs frameworks, such as doom-emacs and spacemacs enter my consideration. It is in this context that I found your above blog post with the help of google.

I've a cursory glimpse on them, and it seems that spacemacs has more users and preconfigured functions. So, I still can't decide which one I should choose.

jethrokuan commented 3 years ago

My personal view is that Doom Emacs is better maintained, faster and nicer to work with (like adding customizations), but you can give both a try and see which you prefer.

hongyi-zhao commented 3 years ago

Doom Emacs is better maintained

The latest commit of doom happened 9 days ago, while the latest commit of spacemacs happened 10 hours ago.

As far as LaTeX is concerned, it seems that lsp based configuration is only supplied in spacemacs.

Fortunately, based on the wonderful notes here, I tried out a working vanilla Emacs based solution using auctex, eglot, texlab, and company, see here for more detailed info. So, at least from the current point of view, I can postpone the switch to other Emacs frameworks.