TeXShopGlossaries

Information and discussion about TeXShop, an integrated LaTeX environment for Mac OS X
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Glossaries

Post by rais »

Hi there---or should I say `Hola'?
bruhan wrote: Warning: File 'Include_Tese.glo' is empty.
Have you used any entries defined in glossary 'main'?
no, you haven't. What that means is, you normally need to use \gls or similar command to actually refer to your glossary enries in your text body somewhere. Otherwise, an entry defined by \newglossaryentry gets omitted in the glossary (in this case,both of them).
You may want to read up on this under the link provided by Johannes_B (or under `texdoc glossaries-user',theuser's manual for glossaries)
For entry (LTE), you're also missing a comma before the description starts.
BTW: this has no longer anything to do with your choice of LaTeX editor, IMHO.

Code: Select all

\documentclass[11pt, a4paper]{report}
\begin{filecontents}{Glossario.tex}
\newglossaryentry{chama}
{
name= {chama},
description={uma rea\c{c}\~ao autosustentada}
}
\newglossaryentry{(LTE)}
{
name = {equilibrio},
description={localmente}
}
\end{filecontents}
\usepackage{makeidx}
\usepackage{natbib}
\usepackage{hyperref}
\makeindex
\usepackage[toc]{glossaries}
\input{Glossario}
\makeglossaries

\begin{document}
You may want to refer to your glossary entries by way of \verb!\gls{<label>}!, such as \gls{chama} or \gls{(LTE)}\ldots
\printglossary
\end{document}
KR
Rainer

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply