# No .acr file when creating glossary

Below is a MWE. I can't get glossaries to appear in any of my documents and I think it has something to do with the way my TexStudio is configured. I'm using the most up to date TexLive and TexStudio in Linux Mint 18.

\documentclass   [11pt, a4paper, oneside]{book}
\usepackage[acronym, toc]{glossaries}

\makeglossaries
\newacronym{gdp}{GDP}{guanine diphosphate}

\begin{document}
\gls{gdp}

\printglossary[type=\acronymtype]

\end{document}


Here are the PdfLaTex and Makeglossaries commands in my TexStudio configuration (I have a folder in the root directory where the output files are saved, called Misc):

PdfLaTex: pdflatex -synctex=1 -interaction=nonstopmode  --output-directory=./Misc %.tex


Makeglossaries: makeglossaries %

Here are my build commands:

Build & View: txs:///compile | txs:///index | txs:///glossary | txs:///compile | txs:///view

Default compiler: txs:///pdflatex

Default Glossary Tool: txs:///makeglossaries


This simply gives me a warning that says "No file .acr" and doesn't print the glossary. What am I doing wrong?

Your output files are written to the "Misc" directory, including the files that makeglossaries needs (.aux and acn). However,makeglossariesdoesn't know that. So you must tell it in your configuration-d Miscin themakeglossariesentry. Other entries would also have to be adapted, likemakeindex, viewer etc.
• Yes, that's what I mean. Actually, on my system it is a bit more involved, like sh -c "PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin/; makeglossaries -d Misc %" What Messages do you get. You can also try Tools > Glossary and see what messages come out of it. – Pieter van Oostrum Dec 15 '16 at 22:36