Is there a simple way of integrating glossaries
package with Texmaker on Windows?
I was following a very nice tutorial to understand how glossaries
package works, but got stuck when trying to make it actually generate an index as I don't know where and how to add the makeglossaries
command in TexMaker to make it run together with pdflatex.
Best Answer
The
makeglossaries
program is quite easy to use: if your main LaTeX file is calledfile.tex
, then all that's needed is to runTo add a suitable action in Texmaker, just go to the
menu entry and, in the window that appears, add
in the upper box (it's just the name which will be shown in the "User>User Commands" drop down menu) and
in the lower box. Then, in order to run
makeglossaries
on the current file, just choose the new menu item (or use the keyboard shortcut shown next to the menu entry). The%
stands for the current file name (without extension), as explained in the window.It's probably possible to define an action that concatenates executions of
pdflatex
,makeglossaries
andpdflatex
again, but I think it's not necessary to have glossaries synchronized at each compilation during document preparation. Just be confident that they will be whenmakeglossaries
is run andpdflatex
is run again.