8.  Info files

Many troffglodytes have no use for HTML and would rather view their troff document as an Info file. Info files can be browsed very rapidly in a text editor or a lightweight console browser; provide significantly better cross-referencing and search than nroff output from the same troff source; and as plain text, are not opaque like the equivalent HTML.

The troff2page distribution includes a script t2p2info for converting troff2page-generated HTML into Info. t2p2info uses a combination of the ex mode of the vim text editor, some shell commands, lynx’s -dump feature, and makeinfo.

t2p2info takes as argument the filename of the main HTML file created by troff2page, e.g.,

    % t2p2info jobname.html

(The extension .html may be omitted.) The result is one or more Info files, the first of them named jobname.info. These Info files can be browsed in a text editor that supports Info, or with the info command, e.g.,

    % info -f jobname.info