GeneralGlossary does not print (with having multiple files) (Overleaf)

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
hindkhan_1998
Posts: 2
Joined: Mon Aug 10, 2020 6:32 pm

Glossary does not print (with having multiple files) (Overleaf)

Post by hindkhan_1998 »

Following the basic example provided by latex: https://www.overleaf.com/learn/latex/glossaries, I was able to successfuly build a glossary that prints.

However, my issue is that the glossary doesn't print out when I have multiple files. I will demonstrate this below:

General structure:
Image

Thesis.tex (Compiled file):

Code: Select all

Code, edit and compile here:
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[acronym]{glossaries}
\makeglossaries
\newglossaryentry{latex}
{
name=latex,
description={Is a mark up language specially suited for
scientific documents}
}
\newglossaryentry{maths}
{
name=mathematics,
description={Mathematics is what mathematicians do}
}
\newglossaryentry{formula}
{
name=formula,
description={A mathematical expression}
}
\newacronym{gcd}{GCD}{Greatest Common Divisor}
\newacronym{lcm}{LCM}{Least Common Multiple}
\begin{document}
\clearpage
\printglossary[type=\acronymtype]
\printglossary
\input{Chapters/Introduction}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Introduction.tex

Code: Select all

Code, edit and compile here:
\chapter{Introduction}
The \Gls{latex} typesetting markup language is specially suitable
for documents that include \gls{maths}. \Glspl{formula} are
rendered properly an easily once one gets used to the commands.
Given a set of numbers, there are elementary methods to compute
its \acrlong{gcd}, which is abbreviated \acrshort{gcd}. This
process is similar to that used for the \acrfull{lcm}.
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The introduction does print; however, the list of acronyms don't print. It is instead an empty page. Thank you all!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Glossary does not print (with having multiple files) (Overleaf)

Post by Bartman »

I can't tell you why right now, but the list of acronyms is printed out when you replace the first \printglossary command with \printglossary[type=acronym] or \printacronyms.
hindkhan_1998
Posts: 2
Joined: Mon Aug 10, 2020 6:32 pm

Glossary does not print (with having multiple files) (Overleaf)

Post by hindkhan_1998 »

Bartman wrote:I can't tell you why right now, but the list of acronyms is printed out when you replace the first \printglossary command with \printglossary[type=acronym] or \printacronyms.
Thank you Bartman. I have tried, but nothing. I am using latex overleaf, the class "report" and I have cleared the cache everytime. I will be really greatful if you can help
Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Glossary does not print (with having multiple files) (Overleaf)

Post by Bartman »

Read the last section in the explanation of how to set main document.
Post Reply