[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#400058: texdoctk does not find any documentation



Ralf Stubner <ralf.stubner@web.de> wrote:

> The problem are the following lines from texdoctk
>
> 	$texmfdist=`kpsewhich --expand-path=${qq}\$TEXMFDIST${qq}`;
> 	chomp $texmfdist;
> 	$distdocpath=join('/',"$texmfdist",basename($texdocpath,""))
> 			  if (length $texmfdist);
>
> which cannot deal with the actual output
>
> $ kpsewhich --expand-path="\$TEXMFDIST"
> /usr/share/texmf-texlive:/usr/share/texmf-tetex
>
> However, it looks as if there are several places in texdoctk where it is
> assumed that TEXMFDIST referes to a single directory only. Hence I can't
> offer a patch yet.

A workaround would be to introduce a new configuration variable,
PREFERREDDIST which is either tetex or texlive, and simply delete the
other one from texmfdist.

I don't know if it's worth to put much effort in hacking texdoctk to
support parallel TEXMFDIST trees, in particular since we want to retire
teTeX anyway...

Regards, Frank
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: