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

Re: texdoc doesn't find documentation



Hallo Frank,

Frank Küster <frank@debian.org> wrote:
> Jörg Sommer <joerg@alea.gnuu.de> wrote:
>> Frank Küster <frank@debian.org> wrote:
>>> Jörg Sommer <joerg@alea.gnuu.de> wrote:
>>>
>>>> my texdoc does not work.
>>>>
>>>> % texdoc -l amsldoc  
>>>> Can't find documentation for `amsldoc'
>>> kpsewhich --expand-path='$TEXMF/doc'
>>>
>>> This should give a list of directories, and the one where amsldoc is
>>> (still /usr/share/texmf-texlive/doc/latex/amslatex/amsldoc.pdf.gz?)
>>> should be among them.
>>
>> I changed TEXDOCS to .;$TEXMF/doc//.;/usr/share/doc/texlive-doc// and now
>> it works.
>
> Hm, but /usr/share/texmf-texlive/doc is a symlink to
> /usr/share/doc/texlive-doc, which should now be duplicated.  Is that not
> the case on your system?

Yes. But I suppose, the symlink inside of the symlinked directory are a
problem. texdoc starts at /u/s/t-t/doc and may expect it is a directory.
When it checks if
/u/s/t-t/doc/latex/amsmath/../../../texlive-latex-base/latex/amsmath/amsldoc.pdf.gz
exists, it fails for the known reason.

I don't know how texdoc work. It's only a conjecture.

But, while we talk about how texdoc work, how does it work? Does it use
the ls-R files? The funny at me is that texdoc -s is much faster than
texdoc after the first run. The first run takes very long, because the
cache must get filled. But if the directory listing is in the cache it is
faster than texdoc -l.

Bye, Jörg.
-- 
Die zehn Gebote Gottes enthalten 172 Wörter, die amerikanische
Unabhängigkeitserklärung 300 Wörter, die Verordnung der europäischen
Gemeinschaft über den Import von Karamelbonbons exakt 25911 Wörter.



Reply to: