When i type the command "texdoc texdoc" in xterm it says:

Sorry, no documentation found for texdoc. If you are unsure about the name, try searching CTAN's TeX catalogue at http://ctan.org/search.html#byDescription

I'm running on Arch Linux?

  • 2
    This works correctly for me (texlive 2013). Does texdoc -h give you anything? – Andrew Swann Aug 14 '13 at 12:56
  • 2
    What distribution are you using? TeX Live, or Arch's own re-packaging of (presumably) TeX Live? If the latter, you might need to install 'extra' TeX-related packages. – jon Aug 14 '13 at 12:57
  • I'm on texlive 2013 also. Yes texdoc -h gives the right output. Arch's own, but i have installed all the package that a available (both texlive-most and texlive-lang)? – user2682488 Aug 14 '13 at 14:03
  • Maybe the actual documentation is in a separate package or depends on an option? Can you check using another tool (eg locate, find) if file named 'texdoc.pdf' is present in your installation and where it is located? Also, what's the output of 'kpsewhich -var-value TEXDOCS'? – mpg Aug 14 '13 at 21:03
  • It can't find the "texdoc.pdf" strange. Seems they are not there at all. – user2682488 Aug 15 '13 at 6:29

There used to be packages texlive-*-doc, but they have been removed from Arch Linux for some reason.

In this forum thread there is a PKGBUILD that you can use to build your own documentation package.


There used to be doc packages in the Archlinux repositories, but these are removed these days. I am not claiming that these are the official reasons, but here goes my concern:

To install all the docs, you would need to fetch about 850-900 MB material and then install more than 1.3 GB.

This is a lot of space for certain people, e.g. using old laptops like me for writing a book with LaTeX.

Furthermore, these docs can be accessible on the internet at ease. People usually have internet accessible these days, at least for the time of fetching it once, so this ought to not be such a big deal. Also, these docs are as frequently used as you may think.

I am a beginner and perhaps I use them now quite a bit, but I expect that when I get a bit more experienced, it would be used less and less for the same type of tasks. Therefore, going to the internet when I need is usually OK.

It is a pity if you want to get them all offline, for sure, but considering the workarounds below, it is not that difficult to get it working.

1) You may be able to request them from people's package cache who have not since updated their Archlinux yet.

2) Alternatively, you could also get it from a "mirror" that stores old versions.

3) You could perhaps even check the git history of the Archlinux repositories to check out the working PKGBUILDs for the time.

The working PKGBUILD and install files for a monolythic doc package from the Archlinux forum:


pkgver=$(date +%Y%m%d)
pkgdesc="Most TeXLive documentation"
optdepends=('texlive-bin: The texdoc program and some more documentation')
options=('!strip'  '!purge')

build() {
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf-dist/doc
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/asymptote
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/dvipng/dvipng.pdf
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/dvips/dvips.pdf
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/man
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/info
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/tetex
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/texlive
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/texworks
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/web2c/web2c.pdf
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/ttf2pk/ttf2tfm.txt
  wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/ttf2pk/ttf2pk.txt

package() {
  cp -rl "$srcdir"/* "$pkgdir"


post_install() {

post_remove() {

post_upgrade() {

If you could get it working and submit it to AUR, that might be great for some users in similar situations.

  • It gives an error No such directory ‘texlive/Contents/live/texmf/doc’. ==> ERROR: A failure occurred in build(). Aborting... – banan3'14 Dec 30 '19 at 7:21
  • Remove all texmf/doc URIs as they don't exist anymore – banan3'14 Dec 30 '19 at 7:27
  • and now the package (tar.xz) itself is 1.8GB – banan3'14 Dec 30 '19 at 8:01

There seems to be an aur package called texlive-most-doc, that claims to contain "Most TeXLive documentation". Installing it seems to fix the problem for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.