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

Re: texdoc doesn't find documentation



Jörg Sommer <joerg@alea.gnuu.de> wrote:

> There are many symlinks on the way to the file. Maybe texdoc is confused.
>
> % ls -l /usr/share/texmf-texlive/doc/latex/amsmath/amsldoc.pdf.gz 
> lrwxrwxrwx 1 root root 56  8. Mär 14:05 \
>  /usr/share/texmf-texlive/doc/latex/amsmath/amsldoc.pdf.gz -> \
>  ../../../texlive-latex-base/latex/amsmath/amsldoc.pdf.gz
>
> But
>
> % ls -l /usr/share/texmf-texlive/texlive-latex-base/latex/amsmath/amsldoc.pdf.gz
> ls: cannot access \
>   /usr/share/texmf-texlive/texlive-latex-base/latex/amsmath/amsldoc.pdf.gz: \
>   No such file or directory

Yes, this is because there is also a directory symlink involved:

$ lsd /usr/share/texmf-texlive/doc 
lrwxrwxrwx 1 root root 18 2007-02-11 14:50 /usr/share/texmf-texlive/doc -> ../doc/texlive-doc

So that 

/usr/share/texmf-texlive/doc/latex/amslatex/../../../texlive-latex-base/latex/amslatex/amsldoc.pdf.gz

becomes

/usr/share/doc/texlive-doc/latex/amslatex/../../../texlive-latex-base/latex/amslatex/amsldoc.pdf.gz

which "expands" to

/usr/share/doc/texlive-latex-base/latex/amslatex/amsldoc.pdf.gz

which exists.  Is this still the same in TL 2007 (I currently don't have
it installed)?

Regards, Frank




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



Reply to: