0

I have a tex document which renders glossaries just fine when compiled locally. However, when using overleaf the entries defined as \newacronym are linked, but the summary of the glossary entries is not output even though \printGlossaries is called.

Are there some hidden settings in the overleaf compiler to enable glossaries?

edit

as requested:

  1. The overleaf link https://www.overleaf.com/3442153234jktjqgtdjkmw
  2. the contents directly below as well

The document:

\documentclass{article}
\usepackage[acronym]{glossaries}
\makeglossaries
\newacronym{isp}{ISP}{internet service provider}

\begin{document}
A dummy glossary not showing up \gls{isp}.

\printglossary
\end{document}
  • Overleaf uses latexmk to automatically compile your document. In my very limited experience with glossary-related matters latexmk does not always run all required tools (not sure if that is me or latexmk's configurations). If you document needs many makeglossaries/... calls, you may have to set up some custom rules in a latexmkrc file: overleaf.com/learn/latex/Articles/… – moewe May 3 '20 at 5:49
  • Interesting. I just found tex.stackexchange.com/questions/481399/… however, their solution does not work for me. – Georg Heiler May 3 '20 at 5:58
  • @moewe: I am not really familiar with latexmk, as I use TexPad locally. Which commans would be required to force overleaf to run the make clossaries twice? – Georg Heiler May 3 '20 at 5:59
  • 1
    Any chance you can post the code here? Not everyone has an Overleaf account and external links may become stale. In principle it should be possible to minimise code examples that they comfortably fit the character limit for questions here. – moewe May 3 '20 at 6:12
  • 1
    It would be very useful in that case to post the minimised example as it avoids any distractions with the document class and all the stuff it comes with – moewe May 3 '20 at 6:33
0

The support of overleaf told me that it should work as desired, but if and only if my tex document resides in the root folder - and not in sub-directories.

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.