LaTeX forum ⇒ GeneralIndex and Abbreviations print ... not the Glossary.

LaTeX specific issues not fitting into one of the other forums of this category.
cyanidebaby
Posts: 11
Joined: Tue Feb 07, 2017 1:56 pm

Index and Abbreviations print ... not the Glossary.

Postby cyanidebaby » Fri Mar 10, 2017 8:29 pm

Hello,

The Acronyms/Abbreviations print.
The Index prints.
The Glossary doesn't print.

I can't figure out what I'm missing.


  1. % PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2.  
  3. \documentclass[a4paper,oneside,centered]{book}
  4. \special{papersize=210mm,297mm}
  5. \usepackage[top=3cm, bottom=3.2cm, left=2.5cm, right=2.5cm]{geometry}
  6.  
  7. \usepackage[english]{babel}
  8. \usepackage{newpxtext} % Font for document instead of obsolete Palatino
  9. \usepackage{tocloft} % Customization of TOC LOF LOT
  10. \usepackage[table,xcdraw]{xcolor} % For shading in tables
  11. \usepackage{pdfcolmk}
  12. \usepackage{multirow}
  13. \usepackage{textcomp}
  14. \usepackage{ltablex}
  15. \usepackage{nicefrac} % to write fractions
  16. \usepackage{attrib} % For source of quotations
  17. \usepackage{lettrine} % For NewThought formatting
  18. \usepackage{array} % To define width of columns in long table
  19. \usepackage{booktabs} % Nicer spacing in columns
  20. \usepackage{siunitx} % To write Celsius, etc.
  21. \usepackage{enumitem} % To create item lists
  22. \usepackage{caption} % To change way captions are labelled
  23. \usepackage{scrextend}
  24. \usepackage{threeparttable} % For table notes + To allow footnote material to stay with the tabular environment
  25. \usepackage{etoolbox} % To make table footnote font smaller
  26. \usepackage{threeparttablex}
  27. \appto\TPTnoteSettings{\footnotesize}
  28.  
  29. % Creating Index
  30. \usepackage{imakeidx}
  31. \makeindex
  32.  
  33. \usepackage{blindtext}
  34. %\usepackage{showframe}
  35.  
  36. \usepackage{hyperref} % Hyperlinks
  37.  
  38. \usepackage[toc,acronym,automake]{glossaries}
  39. \makeglossaries
  40.  
  41. %%%%%TEST_ZONE%%%%%%
  42.  
  43. \newacronym{as}{A.S.}{All Salt}
  44. \newacronym{oal}{OAL}{Omni Apple Legend}
  45. \newacronym{ept}{EPT}{Emile Pot Trauma}
  46.  
  47. %%%%%TEST_ZONE%%%%%%
  48.  
  49. %Table of Content depth
  50. \setcounter{secnumdepth}{3}
  51. \setcounter{tocdepth}{5}
  52. \setlength{\parindent}{15pt}
  53.  
  54. %Hyperlinks for TOC
  55. \makeatletter
  56. \hypersetup{
  57. colorlinks,
  58. citecolor=blue,
  59. filecolor=blue,
  60. linkcolor=blue,
  61. urlcolor=blue
  62. }
  63.  
  64. \begin{document}
  65.  
  66. \frontmatter
  67.  
  68. \mainmatter
  69.  
  70. \chapter{The Story}
  71.  
  72. \section{Data}
  73.  
  74. \gls{as} and \gls{oal} are terms used in the \gls{ept}.
  75.  
  76. Plants.\index{Plants}
  77. Star.\index{star}
  78. Mu.\index{Mu}
  79. Sinis.\index{Sinis}
  80. Ball.\index{Ball}
  81.  
  82. \chapter{Languages}
  83.  
  84. \section{Pronunciation}
  85.  
  86. \section{Scripts}
  87.  
  88. \backmatter
  89.  
  90. \printglossary[type=\acronymtype,title=Abbreviations]
  91. \printindex
  92.  
  93. \end{document}

User avatar
nlct
Posts: 266
Joined: Thu Nov 06, 2008 11:15 am
Contact:

Postby nlct » Mon Jun 12, 2017 6:32 pm

This is a bit of a late reply, and you may have fixed it by now, but have you checked that the shell escape hasn't been disabled? Check the log file for the line:
restricted \write18 enabled.

and also for the line:
runsystem(makeindex -s doc.ist -t doc.glg -o doc.gls doc.glo)

(where the file is called "doc.tex"). It should be followed by "executed safely (allowed)" in restricted mode or just "executed" in unrestricted mode. If it's followed by "disabled", then the shell escape has been disabled and you'll have to run makeindex (or makeglossaries or makeglossaries-lite) between LaTeX calls.

Regards
Nicola Talbot


Return to “General”

Who is online

Users browsing this forum: No registered users and 6 guests