I want my plain tex file of a table of contents of a proceedings
while it is texing to produce an author/page number list in a separate file
to be later sorted by last name.
I have my title, author(s), number of pages each info in the following form:
Radiating Dyon In Einstein-Maxwell Theory\\
A. Chamorro\\
3
Geodesic Incompleteness and the Kinked De Sitter Spacetime\\
K.A. Dunn, T.A. Harriott, J.G. Williams\\
2
Bondi-Sachs Metrics and Exact Solutions\\
S.J. Fletcher,~Jr., A.W.-C. Lun\\
3
With some simple macros I extracted the author(s) and wrote each to a line
in a new file with the actual page number (generated by the table of contents
macros) following after a comma, but my question is:
can someone think of a clever way of taking the author(s) and the page number
as two inputs to a macro which then writes each separate author (they are
separated by ", ") to its own line in the new file followed by a comma
and the page number (supplied by my toc macros)?
The output would be something like:
A. Chamorro, 1000
K.A. Dunn, 1003
T.A. Harriott, 1003
J.G. Williams, 1003
S.J. Fletcher,~Jr., 1005
A.W.-C. Lun, 1005
this would save me a lot of work. if this seems like a fun challenge to
anyone, I thank you in advance.
bob jantzen, volunteer tex coordinator,
dept of math sciences, villanova university