The documentation of latex and the various packages resides in /usr/share/doc/tetex-*. However, this is not reflected in the TEXDOCS variable in /etc/texmf/texmf.d/00texmf.cnf, and thus kpsewhich is unable to find the documents. I suggest modifying the TEXDOCS value to TEXDOCS = .:/usr/share/doc/tetex-3.0-r2//;$TEXMF/doc// (line 346 in my version of 00texmf.cnf). Would be even better if there would be some link created (during tetex installation) to some version independent path, so that the value could be left fixed. Reproducible: Always Steps to Reproduce: 1. Run "kpsewhich -format='TeX system documentation' ifthen.dvi" 2. 3. Actual Results: Found nothing Expected Results: Find /usr/share/doc/tetex-3.0-r2/latex/base/ifthen.dvi Gentoo Base System version 1.12.0_pre5 Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-ck5 i686) ================================================================= System uname: 2.6.12-ck5 i686 AMD Duron(tm) Processor dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=athlon-tbird -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/genkernel/x86 /usr/share/zsh /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/serverconfig /etc/X11/starthere /etc/X11/sysconfig /etc/games /etc/gconf /etc/gnome-vfs-2.0 /etc/hotplug /etc/init.d /etc/sound /etc/splash /etc/ssl /etc/svgalib /etc/terminfo /etc/texmf/web2c /etc/udev/scripts /etc/xdg /etc/env.d" CXXFLAGS="-Os -march=athlon-tbird -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache digest distlocks emergemail sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://www.gigaload.org/gentoo.org/ http://ftp.easynet.nl/mirror/gentoo/" LANG="he_IL.utf8" LDFLAGS="-Wl,-O1" LINGUAS="he" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac aalib aavm acl acpi alsa amd apm arts artswrappersuid artworkextra audiofile avi berkdb bidi bitmap-fonts bonobo browserplugin bzip2 cddb cdparanoia cdr crypt css cups curl dga dillo directfb divx4linux doc dv dvb dvd dvdr dvdread editor eds emboss encode erandom esd faac faad fam fame fbcon ffmpeg flac foomaticdb freetype gd gdbm ggi gif glibc-omitfp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal idn ieee1394 imagemagick imlib imlib2 immqt ipv6 ithreads java javascript jbig jikes jpeg junit kde latex ldap libg++ libwww linuxthreads-tls lzo mad mailwrapper mbox mikmod mjpeg mmx mmxext motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses nls nntp nocd nowin nptl nptlonly offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl perlsuid plotutils png ppds python qt quicktime readline ruby sdl server speex spell ssl svga t1lib tcltk tcpd tetex theora threads tiff tools truetype truetype-fonts type1 type1-fonts unicode usb userlocales uudeview v4l2 vim-with-x vorbis win32codecs wmf wxwin wxwindows xatrix xface xine xml xml2 xmms xprint xscreensaver xv xvid zlib linguas_he userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL
Please, always put ebuild name and version into bug summary, it makes assigning bugs much easier.
This is fixed in the current unstable tetex-3.0_p1-r2. $TEXMF/doc is now a symlink to /usr/share/doc/${PF}.