# [OS X TeX] Dictionary / Lexicon

Adam R. Maxwell amaxwell at mac.com
Wed Sep 13 04:28:21 CEST 2006

```On Sep 12, 2006, at 09:08, Marcus Michalsky wrote:

> Hi TeX friends,
>
> I am preparing for Diploma exam in Computer Architecture.
>
> Parallel of reading books/scripts/notes I want to create some kind
> of dictionary/lexicon.
>
> I want to create some kind of command like \newentry{cache}
> {description here}
>
> The result should be like in any dictionary (not the problem). The
> problem is, when i have
> many of these commands, how get i an automatic alphabetical sort ?
> Is there any way ?
>
> Making an Index seems similar to this problem, but there you need
> the command line tool
> makeindex.
>
> Must I sort them by hand or with any external shell script or is
> there something out there that I
> need

I've used the nomencl package for this (IIRC it has similar command
syntax to what you desire), and it is fairly flexible in terms of
output.  It uses makeindex, I think, but I set everything up in an
iTeXMac project to run with a single button click.