i am currently working on my bachelorthesis. For acronyms I am using the package acronym. For my glossaries i would like to use the glossaries package.
As working environment I use miktex and Texstudio. For some reason i don't get a working glossary. As an Error i get the following messages:
So its pretty clear, that something with the \makeglossaries seems to not work. But i cannot imageine what. I alreadey checked, that the makeglossaries.exe is correctly linked to texstudio and yes it is:
So I really have no idea anyomore and I would be glad if somebody has a hint for me, why this is not working…
(And its not my bitdefender ransomware security tool. I prooved that it won't block makeglossaries.exe and didn't
Here is a minimal working code:
\documentclass[a4paper,12pt,]{scrartcl}
\usepackage{hyperref}
\usepackage[toc]{glossaries}
\newglossaryentry{computer}
{
name=computer,
plural=computers,
description={is a programmable machine that receives input,
stores and manipulates data, and provides
output in a useful format}
}
\makeglossaries
\begin{document}
\tableofcontents
\section{TEST}\label{ch:Test}
In our company we are using \glspl{computer}.
\begin{appendix}
\printglossaries
\end{appendix}
\end{document}
Thank you in advance guys!
Best Answer
The problem arises because the 'makeglossaries' command (that generates the .gls file) is not called before pdflatex is invoked.
Step 1. Make sure that 'Makeglossaries' command is properly defined as "makeglossaries.exe" under "Commands" option in TexStudio.
Step 2. Enable 'Show Advanced Options' and configure your 'Build' settings in TexStudio to compile pdflatex, make glossary, and compile pdflatex again.
To do this, replace your "Build & View" option (that we may typically invoke using keyboard shortcut 'F5') as follows:
Before:
After: