# Macros in texniccenter

1. Feb 28, 2013

### marcio

Hi all,

Is there a way of getting TeXnicCenter to process these commands so I don't have to type them into the windows command line everytime something new is written?

latex thesis
makeindex thesis.nlo -s nomencl.ist -o thesis.nls
bibtex thesis
latex thesis
latex thesis
pdflatex thesis
start thesis.pdf

Or maybe a script I could load from the command prompt on Windows 8?

Any help will be very much appreciated

2. Feb 28, 2013

### AlephZero

This isn't specific to TeXnicCenter, but see if your TeX distribution has a utility program like "texify" or "latexmk".

They can automatically run makeindex, bibtex, etc if required, and rerun latex to get the cross references correct.

3. Feb 28, 2013

### marcio

I'm using MikTeX.

'texify -p thesis.tex' worked well but not like a charm! It didn't update the nomenclature!

Thanks!

Last edited: Feb 28, 2013