MakeIndex, Nomenclature, Glossaries and AcronymsAcronym list not displayed

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
bjunior
Posts: 2
Joined: Wed Jun 19, 2019 7:23 pm

Acronym list not displayed

Post by bjunior »

Good afternoon. I'm a new user of Overleaf. I am trying to add an acronym list, but even though the acronyms in the middle of the text work fine, the list is always displayed as an empty page.

I am using a template that my university developed, so I'm not sure what is messing with this list.

Starting .tex file:

Code: Select all

\documentclass[11pt, a4paper, openright, twoside]{report} 

\usepackage[margins]{trackchanges}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage[english]{babel}
\usepackage{feupteses}
\usepackage{smartdiagram}
\RequirePackage{mathptmx}	% font times
\usepackage{setspace}
\usepackage{wrapfig}
\usepackage{mathtools} 
\usepackage{adjustbox}
\usepackage{amsmath}
\usepackage{hyperref}
\usepackage{amssymb}
\usepackage{tabulary}
\usepackage{booktabs}
\usepackage[listings]{tcolorbox}
\usepackage[official]{eurosym}
\usepackage{mwe}
\usepackage{subfig}
\usepackage[]{algorithm2e}
\usepackage{subfig}
\usepackage{graphicx}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{epstopdf}
\usepackage{framed}
\usepackage{array}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{ifthen}
\usepackage[inline]{enumitem}
\usepackage{pdflscape}[2016/05/14]
\usepackage{array, caption, floatrow, tabularx, makecell, booktabs, siunitx,longtable}
\usepackage{rotating}
\usepackage{textcomp}
\usepackage{floatrow}
\floatsetup[table]{capposition=top}


\newenvironment{myitemize}
{ \begin{enumerate}
\setlength{\itemsep}{0pt}
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt} }
{ \end{enumerate}} 

\graphicspath{{Figures/}}

%%%%
\usepackage[acronym]{glossaries}

\makeglossaries

\newacronym{ev}{EV}{Electric Vehicles}
%%%%

\begin{document}
\setcounter{secnumdepth}{3}
\include{mymacros}



%---------------Cover----------------%

\newpage
\begin{framed}
\vspace*{75mm} 
\begin{center} 
\huge \textbf{M} 
\end{center} 
\vspace*{3mm}
\begin{center}
\Large \textit{John}
\end{center}
\vspace*{6mm}
\begin{center}
\large \textbf{M} \\ \vspace*{2mm}
Supervisor:M\\

\vspace*{10mm}
% \begin{figure}[!ht] \center
\includegraphics[scale=0.45]{something.pdf}
% \end{figure}

\Large \textbf{M}\\
\vspace*{5mm}
\large 2019-06-DD
\vspace*{5mm}
\end{center}
\end{framed}
\newpage
%-------------Preliminary------------%
\pagestyle{plain}
%\StartPrelim
\begin{singlespace}

\pagenumbering{roman}
\include{0_abstract} % the abstract
\include{0_acknows} % the acknowledgments
\include{0_quote} % initial quotation if desired
\cleardoublepage
\begin{spacing}{0.98}
\pdfbookmark[0]{Contents}{contents}
\tableofcontents
\end{spacing}
\include{0_abbrevs} % the list of abbreviations used %HERE IS WHERE I WANT TO ADD MY LIST
\cleardoublepage
\pdfbookmark[0]{List of Figures}{figures}
\listoffigures
\cleardoublepage
\pdfbookmark[0]{List of Tables}{tables}
\listoftables
\cleardoublepage
\end{singlespace}

%-------------Chapters---------------%
%\StartBody
\pagenumbering{arabic}

\include{1_intro}
\include{2_lreview}
\include{3_description}
\include{4_method}
\include{5_results}
\include{6_discussion}

%------------Bibliography------------%
\begin{singlespace}
\bibliographystyle{apalike}
\bibliography{7_bibliography}
\end{singlespace}
%------------------------------------%

%---------Appendices-----------------%
\begin{singlespace}
\appendix
\include{A_Appendix1}
\include{A_Appendix2}
\end{singlespace}
%----------Appendices----------------%

\end{document}
The .tex file where i want to add my list:

Code: Select all

\chapter*{Acronyms and Symbols}
\chaptermark{Acronyms and Symbols}

\printglossary[type=\acronymtype]


Thank you in advance!
Last edited by Stefan Kottwitz on Wed Jun 19, 2019 8:27 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Acronym list not displayed

Post by Stefan Kottwitz »

Welcome to the forum!

Try adding the automake option in the line where you load the glossaries package:

\usepackage[acronym,automake]{glossaries}

Stefan
LaTeX.org admin
bjunior
Posts: 2
Joined: Wed Jun 19, 2019 7:23 pm

Acronym list not displayed

Post by bjunior »

Thank you for your help! I tried that, but it is still not working..
Post Reply