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

Bug#377744: tetex-doc: more broken links



On Mon, Jul 17, 2006 at 17:13 +0100, Bruno Gravato wrote:
> I think this is related to this bug.
> I've found some broken links in /usr/share/doc/tetex-doc/index.html

Thanks for your report. I have the impression that most (all) of these
incorrect links can be fixed by removing the  

<base href="file:///usr/share/texmf/doc/index.html">
 
from the header of this HTML file. One could also change it to 

<base href="file:///usr/share/texmf-tetex/doc/index.html">

Of course, the page is still largly useless with browsers like firefox
that don't handle compressed files. :-(

> Some links point to files in /usr/share/texmf/doc/ which is a symlink to
> /usr/share/doc/texmf/ but at least some of those files are located in
> /usr/share/doc/tetex-doc/
> 
> Some examples of this are the links in the Latex guides section, such as "full
> reference manual" link.
> 
> I could try to fix this, but I'm not sure what to fix... Is it the symlink that
> is wrong and should be pointing to /usr/share/doc/tetex-doc/ ? (most files are 
> here).
> On the other hand, /usr/share/doc/texmf/ is not empty so that could brake some
> other links... I think the best policy might be placing all docs in the same
> place.

Documentation in a TeX system is a bit complicated. The TeX system
itself expects the documentation in /usr/share/texmf/doc for usage with
tools like texdoc. Debian policy demands documentation to be installed
below /usr/share/doc. Hence /usr/share/doc/texmf was introduced with
/usr/share/texmf/doc being a symlink to this directory. That worked well
until a new TeX system was added to Debian: TeX Live. In order to allow
teTeX and TeX Live packages to coexist on one system, both the main
TEXMF trees and directories for documentation had to be split. See also
the Debian TeX policy available in the tex-common package.

cheerio
ralf



Reply to: