# [tex-eplain] Indexing and numberedlist

Sat Jul 28 19:19:58 CEST 2007

```On Sat, Jul 28, 2007 at 02:11:26PM +0000, Adam Fenn wrote:
> That's great but I cannot typeset the index. I tried \readindexfile{l} but
> that did not work even though the file jobname.ldx exists. What am I doing
> wrong?

jobname.ldx is an _input_ file for MakeIndex.  You should run
MakeIndex on it to get a file which TeX will read in to typeset the
index.  By default MakeIndex writes its outputs to a file with the
.ind extension, so you'd need to say \readindexfile{i}.  But you can
make MakeIndex write to a .lnd file:

\$ makeindex file.ldx -o file.lnd