[texdoc] problem with texdoc and finding manuals on Debian

Manuel Pégourié-Gonnard mpg at elzevir.fr
Mon Aug 6 08:57:00 CEST 2012


Hi Norbert, hi all,

On 05/08/2012 21:30, Norbert Preining wrote:
> Here on Debian a strange thing happens, namely that texdoc does
> not find the pgfmanual. But first some explanations:
> 
Ok.

> 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>
>   TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDEBIAN,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
> * one example is pgf, which is packaged separately, and ships pgfmanual.pdf
>   as
> 	/usr/share/texmf/doc/pgf/pgfmanual.pdf.gz

This appears to be unrelated: creating a file named foobar.pdf.gz in
TEXMFHOME/doc and invoking "texdoc foobar" fails too.

>   (note the compression!)
> * texdoc is configured to search/use compressed docs, too
> 
Here is the problem, in texdoc.cnf:

zipext_list = gz bz2 xz

should be:

zipext_list = gz, bz2, xz

Every _list configuration item is a coma-separated list. I'll change the
comments in texdoc.cnf to make that clearer.

The above change should fix the probem (at least it does for me). Please let me
now if any problem remains.

Manuel.


More information about the texdoc mailing list