01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NDX{l) NDX( l)<br />

NAME<br />

ndx - create a subject-page index for a document<br />

SYNOPSIS<br />

ndx [ subjfile ] ''formatter command line "<br />

DESCRIPTION<br />

ndx , given a list of subjects (subifile) , searches a specified document and<br />

writes a subject-page index to the standard output.<br />

subjfile is the list of subjects to be included in the index. Each subject<br />

must begin on a new line and have the following format:<br />

For example,<br />

wordl [word2 ... ] [, wordk ... ]<br />

printed circuit boards<br />

arrays<br />

arrays, dynamic storage<br />

Smith, W. P.<br />

printed circuit boards, channel-oriented multi-layer<br />

Aranoff<br />

University of Illinois<br />

PlJl<br />

The subject must start in column 1.<br />

The syntax for the formatter command line is<br />

formatter [ options ] files<br />

It is the command that will be used to create the final form of the document<br />

The following are examples of valid formatter command lines:<br />

mm -Tip files<br />

nroff -mm -Tip -rW60 files<br />

troff -rB2 -Taps -rOl.Si flies<br />

For more information on the formatter command line, see, mm(l), and<br />

nroff( l).<br />

The document must include formatting commands for mm, nroff, or troff.<br />

The formatter command line tells ndx whether troff, nroff, mm or mmt<br />

would be used to produce the final version of the document.<br />

troff or mmt<br />

specifies troff as the formatting program.<br />

nroff or mm<br />

specifies nroff as the formatting program<br />

The options are those that would be given to the troff, nroff, mm<br />

or mmt command in printing the final form of the document, and<br />

are necessary to determine the correct page numbers for subjects<br />

as they are located in the document ndx does not actually cause<br />

the final version of the document to be printed. The author must<br />

create the document separately. The indexer, of course, should<br />

not be used until the document is complete and no further<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!