Using Nomenclatures in TeXnicCenter
06Aug09
Nomenclatures cannot be processed automatically by TeXnicCenter.
This is easily solved with a few changes in the build configuration:
- Press Alt+F7 to go to the Profile
- Select the desired profile (e.g. LaTeX=>PDF)
- Select the Postprocessor tab
- Press the “dotted square” icon (left from the red “x”)
- Name the new command (e.g. Nomenclature)
- In the executable path below, write: C:\Program Files\MiKTeX 2.7\miktex\bin\makeindex.exe (or whatever path the file makeindex.exe is located)
- In the arguments, write: –s nomencl.ist “%tm.nlo” -o “%tm.nls”
You can test it works with the following code:
\documentclass{article}
\usepackage{nomencl}
\makenomenclature\begin{document}
\section*{Main Result}
\begin{equation}
E=mc^2
\end{equation}%\nomenclature{$E$}{Energy}%
\nomenclature{$m$}{Mass}%
\nomenclature{$c$}{Speed of light}%\printnomenclature
\end{document}
Filed under: Uncategorized | 26 Comments
Just what I was looking for. Superb! Thanks
Perfect! :)
Its very useful, thanks a lot!
Hm, it’s not working. I can see that the nomenclature file is created (and contains 2 entries), but \printnomenclature shows an empty page.
Do I need to have style definitions for the nomenclature i.e., is there no default style for nomenclature items?
I can’t do it. What should be written on “input redirection” and “output redirection”? and on MakeIndex at (La)Tex tab?
When I build MakeIndex, it says “couldn’t find input index file C:/..” (where the project is). Any ideas?? thnx, I’ve spent so much time trying to use nomenclature package…
You should update the last step to
In the arguments, write: -s nomencl.ist “%tm.nlo” -o “%tm.nls”
This is due to security restrictions in newer makeindex.exe not allowing absolute paths!
Worked! Thank You. Demetrios should update this very usefull post.
Thank you, thank you, thank you, Troels! I was getting worried I’d never have a glossary!
Thank you very much. It works
Simple + Efficient = Perfect
I could not get the above to work (no compile errors but no nomenclature showed up), but the tip on this page worked for me:
http://trac.cae.tntech.edu/ttuthesis/wiki/Tips/Nomenclature
It did not work with texniccenter for me yet.
I use the 64 bit version of miktex!
Could this be the reason for not working?
Hi,
I am running MiKTex 2.9 with TeXnicCenter Alpha version for my thesis.
I need to add the nomenclature to my thesis and I tried exactly as mention above in the suggestions.
I tried to run the same example however, I did not get the nomenclature list in the output.
There are no errors but The message: “Input Index file Test.idx is not found”.
Why is this file missing? How can I correct it?
I need your help.
Thanks in advance.
Neil
Hello Everyone,
Can you suggest how can I get the “Nomencl” running in TeXnicCenter Alpha 4 and MiKTex 2.9 for my thesis.
I did everything that has been suggested in this but not able to get the output list of the Nomenclature.
Is there any update missing ???
Thanks.
Mr. N.
Just change the argument line to: -s nomencl.ist %tm.nlo -o %tm.nls i.e. remove all “. This worked for me.
Worked for me as well! Thank you so much for the advise!
Hey there,
I am trying to get this running but apparently the .nls file is not created:
“No file test.nls.”
Any ideas what the problem could be? I am running TexnicCenter 1 RC 1 on Windows7 with MikTex 2.9.
Thanks a lot for your help!
M.
Ok, don’t worry, problem resolved. It’s my own stupidity. I did not put the right version of MikTeX. Thanks anyway for presenting this convenient solution!
Mat
Thank you for that, Worked perfectly.
Thanks so much, really helpfull! :)
Just in case anyone else is as stupid as me and is using a temporary folder for all the auxiliary files, following the instructions at:
http://latex-community.org/forum/viewtopic.php?f=31&t=10442
In that case (of course) one must also specify that path to the makeindex postprocessor, assuming “tmp” is your temporary folder :
-s nomencl.ist “%dm\tmp\%tm.nlo” -o “%dm\tmp\%tm.nls”
Other than that, thanks a lot for the instructions! They work like a charm.
Hi there,
i’ve read the instruction but i wasn’t able to creat a nomenclature. i’m using texniccenter 2.0 with miktex 2.9.
can anybody help?
Sir, Danke sehr!
This problem has been driving me crazy… Thanks to your post I got it to work! Thanks!
Thanks :)