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

Having used emacs for editing latex documents, I am used to a tool that lists all labels used in a master file and its input files. This tool is extremely usefull when referring to tables and figures and sections other places in the document. Is there some script (Pyton or QT) available that makes this functionaly for TexWork users?

share|improve this question

Your question is a feature request of TeX Works. I think such questions should be asked at TeXWorks development page

At the linked page you will find Issue 18: Completion in references, citations.

The issue is well answered by Henrik Skov Midtiby who provided a script with your request functionality. The script is available at GitHub:

GitHub henrikmidtiby/TeXworks-scripts

This script adds autocompletion functionality to TeXworks. Autocompletion is based on where the cursor is placed

share|improve this answer
Well, your probably right with respect to asking this question in another place, but autocompletion is not primarily what I need, but a list of all labels that exist in all files used together with a master file. – Espen Donali Jun 1 '12 at 11:35
Sorry. Than you can adapt this one: code.google.com/p/texworks/issues/detail?id=261#c22 – Marco Daniel Jun 1 '12 at 11:41
sorry again, the script you refer to produces new lables. My need is a list of already used lables. And in addition, I have no clue as to how to change these .js files if I found one I could use :) – Espen Donali Jun 11 '12 at 11:22

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.