# Latex Glossaries with TeXnicCenter

Well, sometimes Latex can be annoying. How to create a glossary?

The package glossaries seems to be state of the art. I set it up as the following on my Windows machine with TeXnicCenter:

``````% in the preamble
\usepackage{glossaries}
\makeglossaries``````

Define a new output profile: Copy one of the existing profiles (e.g. "LaTeX > PDF") and add the following entries to the postprocessing tab:

• makeglossaries #1
Application: `{full path to}/makeindex.exe`
Arguments: `-s "%bm".ist -t "%bm".glg -o "%bm".gls "%bm".glo`
• makeacronyms #1
Application: `{full path to}/makeindex.exe`
Arguments: `-s "%bm".ist -t "%bm".alg -o "%bm".acr "%bm".acn`
• pdflatex #2
copy from (La)Tex tab
• makeglossaries #2
Application: `{full path to}/makeindex.exe`
Arguments: `-s "%bm".ist -t "%bm".glg -o "%bm".gls "%bm".glo`
• makeacronyms #1
Application: `{full path to}/makeindex.exe`
Arguments: `-s "%bm".ist -t "%bm".alg -o "%bm".acr "%bm".acn`
• pdflatex #3
copy from (La)Tex tab

This procedure avoids to use of `makeglossaries.exe` which requires that you have Perl installed. The iterative calls are described in the Latex Wikibook and it seems to work well this way. You can import my output profile:

Mind, that if you use the hyperref package, to load this before the glossaries package. This way glossary entries will be automatically linked in the PDF output.

## Join the conversation

1. bolbotos says:

Hi,
your profile works well, if you replace the %bm with %tm. Otherwise makeindex will fail to handle files on Windows 7.

Regards,

bolbotos

2. startrucky says:

Hi there,
thanks a lot. it took my a day to figure this out,
anyhow i am using windows 8 with texniccenter (miktex) and it seems to work as well, just set the pdfreader again and you are good to go.
One happy user
sty

3. Nope. I'm usind TexnicCenter (Miktex) on Win 10 and I can't get it to work. I hate that sometimes I spend more time with latex issues than writing my thesis. This sucks.. 🙁

4. Turns out Glossaries is one of those packages set out to f* beginners. If you dont use \glsaddall in the preamble or add a reference to a glossary entry in the text, nothing shows up. Just like Bibtex.
It's working fine now.

P.S.: Latex sucks if you have little time at your hands.