Bug#400058: texdoctk does not find any documentation
Frank Küster wrote:
> Ralf Stubner <firstname.lastname@example.org> wrote:
>> $ kpsewhich --expand-path="\$TEXMFDIST"
>> 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.
> This sounds as if you planned to work on that. Any news, or no-s?
I see two possibilities:
* 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.
The first approach would be quite simple, but it would hide
documentation installed from 'the other' TeX distribution. The second
approach would be more general, but also requires some changes to
texdoctk. I had hoped to find some time to work on this during the long
train rides I made recently, but this did not happen. :-(