Texdoc - find and view TeX Live documentation

Texdoc is a command line program to find and view documentation in TeX Live. Its primary function is to locate relevant documentation for a given keyword (typically, a LaTeX package name) on your disk, and open it in an appropriate viewer.

texdoc.net provides an online TeX and LaTeX documentation lookup system with an interface similar to the texdoc program.

You can browse texdoc's documentation online: user manual (pdf) and short man page (pdf, html).

Texdoc is part of the TeX Live distribution. (A texdoc command is available in MiKTeX, but it is merely a shortcut for another program: mthelp, developed independently.)

Mailing list

The texdoc mailing list is available for any discussion, including bug reports (such as finding the wrong file for a given keyword), feature requests, patches, etc. You don't need to subscribe to the list in order to post a message or receive replies. The list archives are public.

Development version

Texdoc's development is hosted on puszcza. Here are download and installation instructions.


Texdoc needs new (co-)developer(s)/maintainer(s). Please write the mailing list if you are interested and have Lua and TeX knowledge. See mailing list archives and bug database for a variety of pending issues.

The current incarnation of Texdoc was primarily written by Manuel Pégourié-Gonnard. Previous versions with contributions from Reinhard Kotucha. First texlua versions by Frank Küster. Earlier shell script versions by Thomas Esser, David Aspinall, and Simon Wilkinson.

Texdoc is free software. It is distributed under the terms of the GNU GPL, version 3 or later, as of version 0.42. Earlier versions were in the public domain.