TeX Live

TeX Live is a complete TeX distribution with several programs to create professional documents.

Installation
is available in Gentoo and provides several USE flags:
 * doc = Adds extra documentation (API, Javadoc, etc)
 * dvipdfm = Add support for app-text/dvipdfm to convert DVI files to PDF
 * extra = Add support for extra TeXLive packages
 * graphics = Add support for several graphics packages (pgf, tikz,...)
 * latex3 = Add support for LaTeX3 (dev-texlive/texlive-latex3)
 * png = Adds support for libpng (PNG images)
 * pstricks = Add pstricks packages (dev-texlive/texlive-pstricks)
 * publishers = Add support for publishers (dev-texlive/texlive-publishers)
 * science = Add typesetting support for natural and computer sciences (dev-texlive/texlive-science)
 * truetype = Adds support for FreeType and/or FreeType2 fonts
 * xetex = Add support for XeTeX macros (dev-texlive/texlive-xetex)
 * xml = Add support for XML files

You can install Texlive with the following command:

Usage
...

eselect pdftex
...

texdoc
In order to use texdoc, you need to have the doc USE flag enabled on and any module you want to have documentation about. A full list of installed TeX modules can be listed with the following command:

Add those to /etc/portage/package.use if you do not want to use the doc USE flag globally in your /etc/make.conf

Links

 * tug.org