[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:
>
>> 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.
>
> Sorry, which known reason?

/u/s/t-t/doc is a symlink.

>> I don't know how texdoc work. It's only a conjecture.
>
> For "texdoc -l" (that is what fails on your system, right?) it calls
>
> kpsewhich -format='TeX system documentation' $name$ext 2>/dev/null
>
> (in other words, it uses $TEXDOCS) and checks for every supported value
> of $ext whether this gives any result.  Symlinks should be totally
> transparent to it (and they are, here).  Is amsldoc.pdf.gz in your
> /usr/share/texmf-texlive/ls-R? 

No.

% grep amsldoc /usr/share/texmf-texlive/ls-R
amsldoc.hyp
% grep '^\./doc' /usr/share/texmf-texlive/ls-R
zsh: exit 1     grep '^\./doc' /usr/share/texmf-texlive/ls-R

Regards, Jörg.
-- 
Die NASA brauchte 12 Jahre um einen Kugelschreiber zu entwickeln, der
kopfüber, in der Schwerelosigkeit und unter Wasser schreiben kann.
Die Russen benutzten einfach einen Bleistift …



Reply to: