texdoc – Utility to look up TeX documentation

texdoc [ OPTION ... ] NAME [ ... ]

texdoc seaches for NAME in the TeX documentation and starts an appro?
priate viewer.

NAME should be the name of a command or package in the teTeX distribu?

–help Display a brief summary of options.

-l List matching files. Does not start a viewer.

-v Sets verbose mode. Shows the command being used to display the

    DVI viewer. Defaults to xdvi(1).

    PDF viewer. Defaults to acroread(1).

    PostScript viewer. Defaults to ghostview(1).

    HTML viewer. Defaults to netscape(1).

    Text viewer. Defaults to $PAGER-more.

The environment variables should be set with a ‘‘%s’’ as a placeholder
for the name of the file. For example,

    hostname% setenv TEXDOCVIEW_pdf “gv %s”


    hostname$ TEXDOCVIEW_html=”mozilla %s”

    hostname$ export TEXDOCVIEW_html

See also
acroread, gv, kpsewhich, less, more, xdvi

Web page: <http://tug.org/teTeX/>

None known, but report any bugs found to <tetex@dbs.uni-hannover.de>
(mailing list).

texdoc was written by Thomas Esser <te@dbs.uni-hannover.de>, David
Aspinall <da@dcs.ed.ac.uk>, and Simon Wilkinson <sxw@dcs.ed.ac.uk>
during 1998 and 1999. texdoc is in the public domain.

This manual page was written by C.M. Connelly <c@eskimo.com>, for the
Debian GNU/Linux system. It may be used by other distributions without
contacting the author. Any mistakes or omissions in the manual page
are my fault; inquiries about or corrections to this manual page should
be directed to me (and not to the primary author).

texdoc                   September 2000

Leave a Reply

Required fields are marked *