[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Autocomplete for BibTeX cite
From: |
Florian Lindner |
Subject: |
Re: [AUCTeX] Autocomplete for BibTeX cite |
Date: |
Wed, 15 Jul 2015 11:08:15 +0200 |
User-agent: |
KNode/4.14.10 |
Mosè Giordano wrote:
> 2015-07-15 10:37 GMT+02:00 Florian Lindner <address@hidden>:
>> 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
Re: [AUCTeX] Autocomplete for BibTeX cite, Lars Madsen, 2015/07/15