Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ndx(1) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mm(1)

mmt(1)

nroff(1)

subj(1)

troff(1)




ndx(1) ndx(1)
NAME ndx - creates a subject-page index for a document SYNOPSIS ndx subjfile formatter-command-line ARGUMENTS formatter-command-line Creates the final form of the document. The syntax for formatter-command-line is: formatter [option]... file... subjfile Specifies the list of subjects to be included in the index. Each subject must begin on a new line and have the following format: word1 [word2...][, wordn...] DESCRIPTION ndx, given a list of subjects (subjfile), searches a specified document and writes a subject-page index to the standard output. Some examples of a subject file are: printed circuit boards arrays arrays, dynamic storage Smith, W. P. printed circuit boards, channel-oriented Aranoff University of Illinois PL/I The subject must start in column 1. The following are examples of valid formatter command lines: mm -Tlp files nroff -mm -Tlp -rW60 file troff -rB2 -Taps -r01.5i files For more information about the formatter command line, see mm(1), mmt(1), nroff(1), and troff(1). The document must include formatting commands for mm, nroff, or troff. The formatter command line tells ndx whether troff, nroff, mm, or mmt would be used to produce the final version of the document. January 1992 1



ndx(1) ndx(1)
troff or mmt Specifies troff as the formatting program. nroff or mm Specifies nroff as the formatting program. The options are those that would be given to the troff, nroff, mm, or mmt command in printing the final form of the document and are necessary to determine the correct page numbers for subjects as they are located in the document. ndx does not actually cause the final version of the document to be printed. The author must create the document separately. The indexer, of course, should not be used until the document is complete and no further changes are expected. EXAMPLES The command: ndx subjfile "nroff -mm -rW70 files" > indexfile would produce a subject-page index for the document files and take its subjects from the list, subjfile. The page numbers would correspond to the document produced by: nroff -mm -rW70 files The command: ndx subjfile "mm -rW60 -rN2 -rO0 ch1 ch2 ch3" > indexfile would produce a subject-page index for the documents ch1, ch2, and ch3. The page numbers would correspond to the documents produced by: mm -rW60 -rN2 -rO0 ch1 ch2 ch3 The command: ndx subjfile "troff -rB2 -rW5i -rO1.5i -mm files" > indexfile would produce a subject-page index for the document file. The page numbers would correspond to the document produced by: troff -rB2 -rW5i -rO1.5i -mm files FILES /usr/bin/ndx Executable file 2 January 1992



ndx(1) ndx(1)
SEE ALSO mm(1), mmt(1), nroff(1), subj(1), troff(1) January 1992 3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026