2

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}
20
  • 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, 2020 at 5:49
  • 1
    Interesting. I just found tex.stackexchange.com/questions/481399/… however, their solution does not work for me. May 3, 2020 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? May 3, 2020 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, 2020 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, 2020 at 6:33

2 Answers 2

2

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.

1

try using \printglossaries (https://www.overleaf.com/learn/latex/Glossaries)

1
  • Welcome to TeX:SE!
    – Zarko
    Apr 5 at 10:10

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.