DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T i

⟦f89ae26e6⟧ TextFile

    Length: 3561 (0xde9)
    Types: TextFile
    Names: »index.1«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z« 
        └─⟦036c765ac⟧ 
            └─⟦this⟧ »TeX3.0/Man-pages/other-manuals/index.1« 
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦63303ae94⟧ »unix3.14/TeX3.14.tar.Z« 
        └─⟦c58930e5c⟧ 
            └─⟦this⟧ »TeX3.14/Man-pages/other-manuals/index.1« 

TextFile

.\" $Header: /home/simpson/src/index/RCS/index.1,v 1.3 88/04/10 08:53:54 simpson Exp $
.if t .ds LX L\v'-.22m'\h'-.1667m'\s-3A\s+3\h'-.125m'\v'.22m'T\h'-.1667m'\v'.22m'E\h'-.125m'\v'-.22m'X
.if n .ds LX LaTeX
.TH INDEX 1 TRW
.UC
.SH NAME
index \- index processor for converting LaTeX idx files
.SH ORIGIN
TRW
.SH SYNOPSIS
.B index [ -l ]
.B [ -f
.I alphabetizefile
.B ] [
.I file...
.B ]
.SH DESCRIPTION
.I Index
converts 
.I idx 
files generated by \*(LX into 
.I theindex 
environments that can be processed by \*(LX.
Multiple files may be given.
If the file is not found, the extension
.I idx
is appended and the new file is looked for.
Index files will be created with the extension
.I ind.
If no files are given, standard input is read and standard output it written.
Subitems and subsubitems can be generated by separating index entries
with commas.
For example, after running your document
through \*(LX you may obtain an index file 
.I sample.idx
containing entries
that look like
.RS
.nf
\eindexentry{Reagan}{32}
\eindexentry{Reagan}{54}
\eindexentry{Reagan,republicans}{54}
\eindexentry{Carter}{60}
\eindexentry{Reagan,republicans,conventions}{62}
.fi
.RE
After running the index file through
.I index
a file
.I sample.ind 
will be created that will contain
.RS
.nf
\ebegin{theindex}
\eitem Carter 60
\eindexspace 
\eitem Reagan 32, 54
  \esubitem republicans 54
    \esubsubitem conventions 62
\eend{theindex}
.fi
.RE
The 
.I indexspace 
leaves a little extra vertical space between the entries that start with
a new letter.
If the 
.I -l 
option is given, then a large index letter will precede each entry
that starts with a new letter.
.PP
.I Index
reads the file
.I .alphabetize
in the home directory if it exists
to determine how to alphabetize an
.I idx
file.
This file contains rules for skipping control sequences, characters, etc
when alphabetizing a file.
The format of this file is described in
.IR index (5).
If the 
.I -f 
option is given, then another alphabetization file can be given.
.PP
A dash following an entry indicates the beginning of a range. 
The range is ended by the occurence of the next equivalent entry.
For example, suppose you had a \*(LX file containing
.RS
.nf
\&...and they fought\eindex{fighting-} and wept...
.fi
.RE
on page 40 and
.RS
.nf
\&...and were still fighting\eindex{fighting} years later...
.fi
.RE 
on page 42 with no intervening
.I \eindex
commands.
Then after running the 
.I idx
file through 
.I index,
the line 
.RS
.nf
\eitem fighting 40--42
.fi
.RE 
would be contained in the 
.I ind 
file.
When ranges are given for subitems and subsubitems, only the last
comma separated entry should have a dash suffix.
Duplicate page numbers are suppressed.
.PP
If you wish to insert a comma into your index entry, you will need to 
hide it from the index processor with braces
since only outer level commas are recognized as item delimiters.
For example,
.RS
.nf
\eindex{Reagan{,} Ronald}
.fi
.RE
generates the index entry for
.I Reagan, Ronald.
.PP
You can delete the page numbers by using \*(LX's comment character.  
For example,
.RS
.nf
\eindex{Reagan,see also Grenada%}
.fi
.RE
will comment out the page numbers.
.SH FILES
.nf
.ta \w'~/.alphabetize  'u
~/.alphabetize	Default alphabetization file
.fi
.SH AUTHOR
Scott Simpson
.SH SEE ALSO
profile(3), index(5), profile(5)
.SH BUGS
Ranges may not span roman/arabic boundaries;
that is, you may not start a range in a roman section and
end it in an arabic section.  You must
end the range in the roman numeral section and restart
it in the arabic section.