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

Bug#657677: tex-common: missing files in /usr/share/doc/tex-common



On Tue, Feb 07, 2012 at 12:08:55PM +0100, Frank Küster wrote:
> Brenda J. Butler <bjb@sourcerer.ca> wrote:
> 
> > Package: tex-common
> > Version: 2.08.1
> > Severity: minor
> >
> >
> > I went to look at http://localhost/doc/tex-common/README.Debian.html,
> > which exists, but every link from that page is broken.  And the page
> > consists mostly of links.
> >
> > Those links point to things like:
> >
> > localhost/doc/tex-common/ch1.html
> > localhost/doc/tex-common/ch2.html#s-sec-texmf-trees
> > localhost/doc/tex-common/ch5.html
> >
> > And those documents do not exist in my filesystem.
> 
> That is a problem how symlinks are treated by the browser.
> README.Debian.html is a symlink to TeX-on-Debian.html/index.html.  If
> you open the latter file, the http links work, but since they are
> relative links, they don't work from README.Debian.html one directory
> level higher.
> 
> Does anybody have a clue how to fix this?

Can't think of any really good ways.  Possibilities: either make all
the links absolute file:/// links or have README.Debian.html contain a
redirect header instead of being a symlink (the following is
unchecked):

<html>
<head>
  <title>README.Debian for texlive</title>
  <meta http-equiv="Refresh"
      content="URL=TeX-on-Debian.html/index.html">
</head>
<body>
  <p>
  This page has moved; if your browser doesn't automatically redirect
  to its new location, click <a
  href="TeX-on-Debian.html/index.html">here</a>.
  </p>
</body>
</html>

   Julian



Reply to: