MakeIndex, Nomenclature, Glossaries and AcronymsGlossary does not appear

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
hro87
Posts: 1
Joined: Thu Nov 07, 2013 12:56 am

Glossary does not appear

Post by hro87 »

Hello everyone,

I need to add a glossary to my document, I've been following the instructions of the manual but I cannot get it in my pdf.

The document has the following structure.

Code: Select all

\documentclass[12,twoside]{report}
\usepackage[english]{babel}

\usepackage[acronym]{glossaries}
\makeglossaries 
\newacronym{lfs}{LFS}{Labour Force Survey}

\begin{document}
\input{title.tex}
\pagenumbering{roman}
\input{abstract}
\tableofcontents
\listoffigures
\listoftables

\printglossaries

\input{introduction}
\pagenumbering{arabic}

\input{Chapter1.tex}

\bibliography{References.bib}
\bibliographystyle{plain}

\end{document}
Inside the document I'm using \gls{lfs}. Then I proceed as follows.
  1. I compile the file with the latex (or pdflatex)
  2. Run MakeIndex on the file.
  3. I repeat step 1.
I've tried to repeat step 2 and 3 as the manual says, but no result.

I use TeXstudio under Lubuntu, and the Perl packages (Perltex) is installed.

Any suggestion?

Thank you in advance.
H.
Last edited by localghost on Thu Nov 07, 2013 10:35 am, 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
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Glossary does not appear

Post by nlct »

The following works fine for me:

Code: Select all

    \documentclass[12pt,twoside]{report}
    \usepackage[english]{babel}

    \usepackage[acronym]{glossaries}
    \makeglossaries
    \newacronym{lfs}{LFS}{Labour Force Survey}

    \begin{filecontents*}{Chapter1.tex}
    \chapter{Sample Chapter}

    \gls{lfs}
    \end{filecontents*}

    \begin{document}
    \tableofcontents

    \printglossaries

    \input{Chapter1.tex}

    \end{document}
Are there any error messages in your .alg file? Did you use commands like \gls in your included files?

Regards
Nicola Talbot
Post Reply