Generalnomencl | Automated Invokation of MakeIndex

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mgulin
Posts: 18
Joined: Thu May 31, 2012 7:16 pm

nomencl | Automated Invokation of MakeIndex

Post by mgulin »

Hello friends!

Every time I make changes in nomenclature list (nomencl package), I have to open command prompt and call this annoying line (see below) to actually include this new nomenclatures into a document.

Code: Select all

makeindex name.nlo -s nomencl.ist -o name.nls
Is there any way to automatically make name.nls out of name.nlo with makeindex, lets say from .tex code, so I don't have to open command prompt every time one make changes in nomenclature list. Let's just say something like for a bibliography.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: nomencl | Automated Invokation of MakeIndex

Post by kaiserkarl13 »

How do you usually make your TeX-based documents? (I assume, from your description, that you're using a text editor with a "make latex" sort of feature.)

You can easily write a shell script or alias to save you the trouble of writing the entire line every time.
mgulin
Posts: 18
Joined: Thu May 31, 2012 7:16 pm

Re: nomencl | Automated Invokation of MakeIndex

Post by mgulin »

I use Texmaker, where compiling and building of .tex files is automated with F1.

Thanks for suggestion with shell script, I will definitely try!
Post Reply