LaTeX forum ⇒ TeXShopGlossaries

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

Re: Glossaries

Postby rais » Mon Mar 16, 2015 3:19 am

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.
  1. \documentclass[11pt, a4paper]{report}
  2. \begin{filecontents}{Glossario.tex}
  3. \newglossaryentry{chama}
  4. {
  5. name= {chama},
  6. description={uma rea\c{c}\~ao autosustentada}
  7. }
  8. \newglossaryentry{(LTE)}
  9. {
  10. name = {equilibrio},
  11. description={localmente}
  12. }
  13. \end{filecontents}
  14. \usepackage{makeidx}
  15. \usepackage{natbib}
  16. \usepackage{hyperref}
  17. \makeindex
  18. \usepackage[toc]{glossaries}
  19. \input{Glossario}
  20. \makeglossaries
  22. \begin{document}
  23. You may want to refer to your glossary entries by way of \verb!\gls{<label>}!, such as \gls{chama} or \gls{(LTE)}\ldots
  24. \printglossary
  25. \end{document}


Return to “TeXShop”

Who is online

Users browsing this forum: No registered users and 1 guest