Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

noindex(1) [debian man page]

NOWEB(1)						      General Commands Manual							  NOWEB(1)

NAME
noindex - build external index for noweb document SYNOPSIS
noindex basename[.tex] DESCRIPTION
noindex looks through LaTeX .aux files for identifiers that should go in a noweb external index. It sorts all identifiers and writes the results on basename.nwi. NOWEB INDEXING STRATEGIES
A noweb program consists of one or more files. In the simple case, these files are run through noweave together, to produce a single LaTeX file. noweave -index suffices to produce an index and cross-referencing information; neither nodefs nor noindex is required. When a noweb program consists of several source files, it is often better to run each source file through noweave to produce its own LaTeX file, then use noindex to produce an external index. This technique has several advantages: The line numbers in the LaTeX files correspond to the line numbers in the source files, so it is easier to diagnose LaTeX errors. The LaTeX includeonly feature can be used, making it possible to format parts of large programs while retaining complete cross-ref- erence information. When used with make(1), the technique avoids running noweave over source files that have not changed. Using the external index places fewer demands on LaTeX's memory, making it read its .aux files much more quickly. The disadvantages are that nodefs and noindex are needed for full cross-referencing and a properly sorted index. EXAMPLE
This example assumes a noweb program of three source files: a.nw , b.nw , and c.nw. The file doc.tex is assumed to contain LaTeX boiler- plate, including the commands oweboptions{externalindex} include{a} include{b} include{c} The first sequence of steps is to create a file listing all the identifiers defined anywhere in a, b, or c. nodefs a.nw > a.defs nodefs b.nw > b.defs nodefs c.nw > c.defs sort -u a.defs b.defs c.defs | cpif all.defs Using sort -u and cpif(1) avoids changing all.defs unless the set of identifiers changes. This technique, used in a Makefile, avoids unnecessary rebuilding. The next series of steps is to create LaTeX files with full cross-reference information for all identifiers. noweave -n -indexfrom all.defs a.nw > a.tex noweave -n -indexfrom all.defs b.nw > b.tex noweave -n -indexfrom all.defs c.nw > c.tex The final steps run LaTeX once to create .aux files, then noindex to create the index, then LaTeX again to format the complete document. latex doc noindex doc latex doc In a Makefile, noindex can be run before every invocation of LaTeX. BUGS
noindex is distributed in awk and Icon versions. The awk version is slow and does a poorer job sorting. There is no comparable machinery to make it possible to use multiple files with the HTML back end. SEE ALSO
noweave(1), nodefs(1), cpif(1) VERSION
This man page is from noweb version 2.11b. AUTHOR
Norman Ramsey, Harvard University. Internet address nr@eecs.harvard.edu. Noweb home page at http://www.eecs.harvard.edu/~nr/noweb. local 3/28/2001 NOWEB(1)

Check Out this Related Man Page

CAML2HTML(1)						      General Commands Manual						      CAML2HTML(1)

NAME
caml2html - colorizes a set of OCaml source files. SYNOPSIS
caml2html [options] file* DESCRIPTION
Caml2html colorizes a set of OCaml source files (.ml, .mli, .mll, .mly, ...). Type annotations will be shown when the mouse pointer passes over an expression if the corresponding .annot file is available. To obtain a .annot file, compile your OCaml source files with ocamlc -dtypes or ocamlopt -dtypes. OPTIONS
-annotfilter {innermost|outermost} choose whether innermost or outermost type annotations should be used (default: innermost) -charset specify charset to use (default: iso-8859-1) -css use CSS named style.css for styling -cssurl use the given URL as CSS for styling -inhead use default styling and place it in the head section of the document (default when applicable) -inline use inline styling (HTML only, default fallback if -inhead is not applicable) -body output only document's body, for inclusion into an existing document (see also -make-css and -make-latex-defs) -ln add line number at the beginning of each line -hc comments are treated as raw HTML or LaTeX code (no newlines inside of tags) -t add a title to the HTML page -nf do not add footnotes to the HTML page -ie7 drop support for type annotations on Internet Explorer 6 and older -noannot do not insert type annotations as read from .annot files (HTML output only) -notab do not replace tabs by spaces -tab replace tab by n spaces (default = 8) -d generate files in directory dir, rather than in current directory -o output file -v print version number to stdout and exit -make-css create CSS file with default color definitions and exit -ext <NAME:CMD> use the given external command CMD to handle comments that start with (*NAME. NAME must be a lowercase identifier. -latex output LaTeX code instead of HTML. -make-latex-defs create a file containing the default LaTeX color definitions and matching highlighting commands, and exit. is not included. -help|--help Display this list of options AUTHORS
Sylvain Le Gall. Caml2html User Manual November 9, 2010 CAML2HTML(1)
Man Page