Creating an Index in LaTeX

C.P. Ravikumar Ravikumar Chennagiri rkumar at buddha.usc.edu
Sat Jul 22 07:57:06 AEST 1989


Generation of Index in latex documents.

The .idx file generated by latex has entries of the form.

\indexentry{Annealing}{14}
\indexentry{Annealing}{24}
\indexentry{Annealing}{25}
\indexentry{Approximation}{16}
\indexentry{Approximation}{18}
\indexentry{Approximation}{19}
\indexentry{Approximation}{31}
\indexentry{Approximation}{33}
\indexentry{Approximation}{3}

Can we write an awk macro which converts this to :

\item {Annealing }{14,24,25 }
\item {Approximation }{3,16,18,19,31,33}

I am suggesting awk because it is the only program
which I know to solve such problems.  There are probably
other (better) ways.

Ravi
---------------------------------------------------


>							C.P. Ravikumar
> What are the implications of P = NP ?			SAL 337, EE-Sys
							USC, LA, CA
> That N = 1.						90089-0781



More information about the Comp.unix.questions mailing list