Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a look around online and at other posts however I haven't been able to find a solution to this problem. Here is the code I'm using:

\documentclass[a4paper,final]{report}
\usepackage{epsfig}
\usepackage{url}
\usepackage[acronym,toc,nonumberlist]{glossaries}
\usepackage{algorithm, algorithmic}
\usepackage{amssymb,amsmath}
\usepackage[margin=3cm]{geometry}
\parindent 0pt


% Create the glossaries
\makeglossaries

% Create the list of Acronyms
\newacronym{LDN}{LDN}{London}
\newacronym{NYC}{NYC}{New York City}

\glsaddall


\begin{document}

\tableofcontents
\printglossaries

\end{document}

I then compile the document through TeXShop (on Mac) using the following Engine:

#!/bin/sh
bfname=$(dirname "$1")/"`basename "$1" .tex`"
pdflatex --shell-escape "$1"
makeindex -s "$bfname".ist -t "$bfname".glg -o "$bfname".gls "$bfname".glo
"$bfname".glo
pdflatex --shell-escape "$1"
pdflatex --shell-escape "$1"

However, it compiles the document and everything in it looks fine. The only exception being that the glossaries aren't displayed. Please can someone help me out?

share|improve this question
2  
acronyms are stored in an .acn file, so obviously your makeindex call is wrong. The best is (if you have perl installed) to use the makeglossaries script. –  Ulrike Fischer Feb 1 '12 at 13:07

1 Answer 1

To resolve the issue I added the following line to the engine script:

makeglossaries "$bfname".acn
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.