clone 400058 -1 reassign -1 texlive-base-bin thanks Ralf Stubner <[EMAIL PROTECTED]> wrote:
> * Use hardcoded /usr/share/texmf-tetex or /usr/share/texmf-texlive in > texdoctk in tetex and texlive packages, respectively. > > * make texdoctk support a array of directories to search and populate > that tree by parsing kpsewhich's output properly. Actually there's a third possibility: * make texdoctk support two texmfdist trees, hardcoded: @@ -32,8 +51,8 @@ my $srchflag=0; my $tmpfno; # system variables -my ($texmfmain,$texmfdist,$texmfdoc,$texmflocal,$texmfhome, - $texdocpath,$distdocpath,$docdocpath,$localdocpath,$homedocpath, +my ($texmfmain,$texmfdist_tetex,$texmfdist_texlive,$texmfdoc,$texmflocal,$texmfhome, + $texdocpath,$distdocpath_tetex,$distdocpath_texlive,$docdocpath,$localdocpath,$homedocpath, $datadir, $dvi_viewer,$dvips_conv,$ps_viewer,$pdf_viewer, $pdfps_conv,$html_viewer,$htmlps_conv,$htmlps_redir, @@ -637,7 +656,7 @@ sub finddoc { my($slcdoc,$slc,$parframe)[EMAIL PROTECTED]; my ($dummy,$status); - SLCDOCFIND: foreach ($texdocpath,$distdocpath,$docdocpath) { + SLCDOCFIND: foreach ($texdocpath,$distdocpath_tetex,$distdocpath_texlive,$docdocpath) { $slcdoc="$_/$slc"; if (-e $slcdoc) { # found where it should be @@ -720,7 +740,8 @@ my $found=0; if ($docselect =~ /\.sty$/) { STYPATH: foreach my $fullpath ("$texmfmain/tex/$docselect", - "$texmfdist/tex/$docselect", + "$texmfdist_tetex/tex/$docselect", + "$texmfdist_texlive/tex/$docselect", "$texmflocal/tex/$docselect", "$texmfhome/tex/$docselect") { if (-e $fullpath) { and so on. I think we can claim that this will solve the bug; it's not a nice solution, but I don't see any drawbacks unless someone expects to be able to copy the texdoctk from a Debian binary package and use it on a different system. Thanks for giving your input, I would not have had that idea without seeing your two, seemingly contradicting suggestions... I'll test now, why not two tetex-bin uploads on one day... Regards, Frank -- Dr. Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)