Mosè Giordano wrote:
> 2015-07-15 10:37 GMT+02:00 Florian Lindner <[email protected]>:
>> Mosè Giordano wrote:
>>> Do you use RefTeX?
>>
>> No, not yet. Is it needed for that kind of autocomplete?
>
> Well, the description of RefTeX is
>
> RefTeX is a package for managing Labels, References, Citations and
> index entries with GNU Emacs.
>
> it says all ;-) AUCTeX can work without it, but is much more powerful
> with it. RefTeX manual explains how to automatically enter RefTeX and
> plug it into AUCTeX:
>
> (add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
> (setq reftex-plug-into-AUCTeX t)
I've done it now like that:
(use-package tex-site
:ensure auctex
:init
(progn
(setq TeX-auto-save t
TeX-parse-self t
TeX-save-query nil
TeX-view-program-selection '((output-pdf "xdg-open"))
reftex-plug-into-AUCTeX t)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex))
)
(use-package reftex
:commands turn-on-reftex
:init
(progn
(setq reftex-plug-into-AUCTeX t))
)
Thanks,
Florian
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex