TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have always used Texmaker and it totally works for me. However it is unable to automatically retrieve the list of all labels for auto completion.

In particular, it does not fetch labels defined in other files and does not fetch labels defined by using macro. I always use lstnewenvironment to input different types of code but then texmaker is not able to recover the label defined by the macro. It is not a big deal but I end up switching file anytime I have to insert a ref.

I believe that an editor should be able to recover all labels by the aux files shouldn't it? Is there any editor or tool able to do so?

share|improve this question
Take a look at winedt if you are on windows. – Harish Kumar Jul 8 '12 at 10:32

Emacs with AUCTeX and RefTeX can do this. You might need to use RefTeX's reftex-parse-all command (from the main file) in order for new labels in included files to be refreshed. Then you can use any of the reference-related commands such as reftex-reference, or the reftex-toc

share|improve this answer
Needless to say, that you can also manage index-references. This comes very handy when debugging your indices. As usual, recursively in all included/inputted files ;) – Stefan Waldmann Jul 9 '12 at 8:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.