From: Sven Bretfeld <sven.bretfeld@gmx.ch>
To: help-gnu-emacs@gnu.org
Subject: Re: Autocompletion in Auctex
Date: Mon, 10 Mar 2008 14:20:07 +0100 [thread overview]
Message-ID: <87od9m1zso.fsf@kamaloka.dhatu> (raw)
In-Reply-To: <a2b3004b0803100601w30136940m3df0050c2284cdaa@mail.gmail.com> (Lorenzo Isella's message of "Mon, 10 Mar 2008 14:01:35 +0100")
[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]
Hi Lorenzo
"Lorenzo Isella" <lorenzo.isella@gmail.com> writes:
> Dear All,
> I have started to use Auctex for editing my latex documents.
> It generally works great, the only thing I am missing is some way to
> get autocompletion for e.g. referencing and citing.
> It would be great if when typing \ref{} or \cite{} I had a pop-up or a
> buffer telling me what I could possibly cite/reference.
> I did a bit of online research and bumped into:
> http://www.informatik.uni-hamburg.de/RZ/software/emacs/auc-tex/auc-tex_3.html
What you are looking for is reftex, which is very poweful for
references and cites. If you already have installed the package (I
believe it came with your Emacs or AucTeX binaries), you can put this
into your .emacs:
--8<---------------cut here---------------start------------->8---
;;--------------------------------------------
;; RefTeX
;;--------------------------------------------
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(setq reftex-plug-into-AUCTeX t)
(setq reftex-enable-partial-scans t)
(setq reftex-save-parse-info t)
(setq reftex-use-multiple-selection-buffers t)
(setq reftex-texpath-environment-variables
'("./inp:/PATH/TO/YOUR/TEX/DOCUMENTS//"))
(setq reftex-bibpath-environment-variables
'("/PATH/TO/YOUR/BIB/FILE/"))
--8<---------------cut here---------------end--------------->8---
Greetings
Sven
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2008-03-10 13:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-10 13:01 Autocompletion in Auctex Lorenzo Isella
2008-03-10 13:20 ` Sven Bretfeld [this message]
[not found] ` <mailman.8646.1205155220.18990.help-gnu-emacs@gnu.org>
2008-03-16 17:53 ` Fabian Braennstroem
[not found] <mailman.8645.1205154103.18990.help-gnu-emacs@gnu.org>
2008-03-10 13:21 ` Joost Kremers
2008-03-10 16:49 ` Sven Bretfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87od9m1zso.fsf@kamaloka.dhatu \
--to=sven.bretfeld@gmx.ch \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).