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?


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

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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