[OS X TeX] Creating a glossar

Martin Costabel costabel at wanadoo.fr
Tue Jan 16 14:19:08 EST 2007

Christian Burk wrote:
> Thant's what I did - reading the manual of the glossary.sty, but 
> unforunately I could not discover how this could work.

Here is what works for me:

In the main tex file Foo.tex, there is an abbreviation


where \Mg is a self-defined color command that makes (during draft 
stage) those symbols stick out that have a glossary entry.

Then, in the text, there are things like

Let \UGE{SlambdaovK}{$\overline{S}^\lambda_m(K)$} be the subspace of...

The name SlambdaovK is arbitrarily chosen, and it corresponds to an 
entry in the file gloglo.tex:

         description=Space of homogeneous functions of degree $\lambda$ 
on the cone $K$,

The sort key corresponds to an organization of the glossary in sections.

In the main Foo.tex, there are the lines (not consecutively, some at the 
beginning, some at the end)

\renewcommand{\glossaryname}{Index of Notations}
\newcommand{\glossarysubheader}{ & & \\}
\input gloglo.tex

Finally, after several latex runs, the script makeglos.pl is run as 
"makeglos.pl Foo", and another latex run produces the glossary.

I don't remember where I found the script makeglos.pl. Its header says


# File    : makeglos
# Author  : Nicola Talbot
# Version : 1.5 (2006/07/20)
# Description: simple Perl script that calls makeindex.
# Intended for use with "glossary.sty" (saves having to remember
# all the various switches)


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list