[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TeX-style-path
From: |
Arash Esbati |
Subject: |
Re: TeX-style-path |
Date: |
Fri, 11 Dec 2020 20:56:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 |
Hi Greg,
Greg Bognar via General discussion about AUCTeX <auctex@gnu.org> writes:
> In my config, I set the values for TeX-auto-global, TeX-auto-private,
> TeX-auto-local, TeX-style-private, and TeX-style-local variables.
> TeX-style-path is constructed from these.
>
> So I have
>
> (use-package latex
> :ensure auctex
> :mode ("\\.tex\\'" . LaTeX-mode)
> [...]
> :config
> [...]
> TeX-auto-global (concat user-cache-directory "autoparse")
> [etc]
>
> Is this the right way to do it? And why am I getting the default values?
I don't use `use-package' so my comments might be off. First, I think
Tassilo's suggestion is good wrt use `:init' instead of `:config'.
Looking at manual, you should also do
(use-package tex ; not latex
:ensure auctex
and use forms after the :init keyword[1], i.e.
:init
(setq TeX-auto-global (concat user-cache-directory "autoparse"))
Maybe that helps.
Best, Arash
Footnotes:
[1] https://github.com/jwiegley/use-package#getting-started