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} 

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




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.

  • Thank you for your answer. So I tried this, in the command for Makeglossaries: "makeglossaries -d Misc %" (without quotes) but still no glossary. Is that what you meant? – HefinIoanRhys Dec 15 '16 at 22:17
  • 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
  • Ah thank you, by doing the above I was given an extremely helpful error message reminding me to pass the "nomain" option to glossaries if I was not using a main glossary (just acronyms). Once I did this, your help with setting "-d Misc" worked like a charm. – HefinIoanRhys Dec 16 '16 at 9:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.