help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autocompletion in Auctex


From: Fabian Braennstroem
Subject: Re: Autocompletion in Auctex
Date: Sun, 16 Mar 2008 18:53:44 +0100
User-agent: slrn/0.9.8.1pl1 (Debian)

* Sven Bretfeld <sven.bretfeld@gmx.ch> wrote:
> --=-=-=
>
> 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---

In addition 'cdlatex.el' is a realy nice add-on too! It has
autocompletion, is easy to use, great for math functions and
has, or uses reftex (I don't know), searching for references
and 'cites' as well. An other great feature is the
navigation using 'TAB'. You are to jump out of brackets and
environments pretty easyly!


Greetings!
 Fabian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]