[texdoc] problem with texdoc and finding manuals on Debian

Norbert Preining preining at logic.at
Sun Aug 5 21:30:29 CEST 2012

Hi Manuel, hi all,

(please keep the Cc, thanks)

Here on Debian a strange thing happens, namely that texdoc does
not find the pgfmanual. But first some explanations:

On Debian:
* most of TeX Live is installed into /usr/share/texlive/{texmf-dist,texmf}
  (ie TEXLIVEROOT is /u/s/texlive)
* some packages that are packaged separately in Debian install into
  another tree /usr/share/texmf which is called TEXMFDEBIAN and
  added to the TEXMF var>
* one example is pgf, which is packaged separately, and ships pgfmanual.pdf
  (note the compression!)
* texdoc is configured to search/use compressed docs, too

Now, in this setup, texdoc pgf or texdoc pgfmanual does not show
the pgfmanual at all, not even as option.

BUT, as soon as I uncompress the pgfmanual.pdf.gz to .pdf only,
run once more mktexlsr on the directory (so that the proper file
is listed), then
	texdoc pgf
shows me the right manual.

Now, according to the original submitter that *was* working before
in Debian with the TeX Live packages of 2009. But then, the tree names
were different, so I wouldn't be surprised.

No I have no idea why this happens, that is the reason I ask. It 
*might* have to do with the dumped tlpdb texdoc is using? But 
honestly I don't know.

If anyone has an idea, please let me know

Thanks a lot and all the best

Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
Seductive remark made hopefully in the back of a taxi.
			--- Douglas Adams, The Meaning of Liff

More information about the texdoc mailing list