tags:

views:

1183

answers:

9

I want to use a latex editor that has auto completion feature for existing references in a latex file. Do you know any good ones? I am trying to find this feature in texniccenter, but I guess it doesn't exist or I could't find it yet.

Update: Ok, I found how to enable auto completion in Texniccenter. I needed first create a project. Then open the file in this project (or copy its text). Now Ctrl-Space inside a \ref{} tag completes the reference automatically.

A: 

Ok, I found it. I needed first create a project. Then open the file in this project (or copy its text). Now Ctrl-Space inside a \ref{} tag completes the reference automatically.

Mert Nuhoglu
This is for TeXniccenter I assume.
Anton Geraschenko
Yes, for Texniccenter.
Mert Nuhoglu
A: 

Kile has reference completion. If you type Ctrl+Space inside of a \ref{}, you get a list of all the references (that existed last time you compiled, of course).

Anton Geraschenko
+1  A: 

Texlipse does this, also with Ctrl+Space.

Fabian Steeg
A: 

LEd presents a click list of them when in a \ref{}

Bert
A: 

The RefTeX mode for Emacs will do what you're asking for: the shortcut C-c ) activates the "insert a \ref" mode (of course, you can customize which type of reference: fancyref, hyperref, etc) and pressing TAB will allow you to start typing and autocomplete by tabbing again after typing some characters.

It also figures out (or asks if it can't) what sort of ref you're inserting and shows a list of all the defined \labels in your document, selectable with the arrow keys or C-n / C-p.

Now we just need a Vi user to come along and tell us how to do it there...

Rupert Nash
A: 

Ctrl+Space does not work for me in TeXniccenter. What could be happening?

RAVC
A: 

Goto Tools -> Customize, and press the reset button in Menu tab and/or Keyboard tab. It also works if other shortcuts (like ctrl+F7 or F5) in texniccenter dont work.

Edit: Hmm, strange forum layout... This was an answer to NAVC, asking why Ctrl+Space didnt work.

jody bernal
A: 

Now texmaker does, not need any special key.

Ballooning
+1  A: 

Inlage includes such a function, too. New commands and new environments will also appear in the auto completion list. If you use extern BibTex files the \cite{} command will open a list with your articles and books from you .bib file.

zee