Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

To get the nomencl package working I need to run a makeindex line like:

makeindex <filename>.nlo -s nomencl.ist -o <filename>.nls

I'm using Textmate, which has a built-in "Run Makeindex" button. I've tried this over and over again, but the nomenclature does not appear. A .nlo file is created though.

I'm not experienced with makeindex, so I was hoping to get some help here. Is it possible to change the "Run Makeindex" of Textmate such that the correct makeindex line (see above) is executed?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Probably the simplest way is to use the Terminal. From the Bundles menu choose Shell Script and the submenu "Open Terminal"; the shortcut Control+Shift+O is available.

A Terminal window will open and there you can issue the command

makeindex <filename>.nlo -s nomencl.ist -o <filename>.nls

where in place of <filename> you write the name of your main file. Just hit "RETURN" and wait for the command to complete.

Defining new commands for TextMate menus requires knowing Python and Ruby, I'm afraid.

share|improve this answer

Your Answer

 
discard

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.