Re: Bug#56768: latex2html creates /var/www/usr/share/latex2html/icons/...
Manoj Srivastava wrote:
> ----------------------------------------------------------------------
> The icons used by LaTeX2HTML (for navigation, amongst other uses) were
> originally available in /usr/share/latex2html/icons. The files produced by
> LaTeX2HTML contain references to the icons that look like
> SRC="/usr/share/latex2html/icons/next_motif.gif".
>
> When the file is viewed directly using an HTML browser like lynx of
> netscape, the reference is interpreted as
> file://localhost/usr/share/latex2html/icons/next_motif.gif, which is fine.
>
> However, if the file is published through a local HTTP server, the
> reference becomes:
> http://my.domain.name/usr/share/latex2html/icons/next_motif.gif
>
> In order for this to be resolved, one needs to create and polulate a
> directory <Document Root>/usr/share/latex2html/icons/. This package does
> that for the standard Document Root, /var/www, by creating
> /var/www/usr/share/latex2html/icons/ and creating symbolic links to the
> files in /usr/share/latex2html/icons/.
>
> This is an ugly solution, but it works, andshould be behind the scenes; if
> you have a better solution that allows the converted files to be viewed
> both directly and published from the local HTTP server, please email me at
> srivasta@debian.org
> ----------------------------------------------------------------------
You know, I have the same problem with analog, and it seems to me this is a
general problem with our web policy. The icons can be put in
/usr/share/doc/<package>, but you still cannot use the same urls to access
them on a http server and as local files.
I wonder if there is some way we can change the policy to fix it?
--
see shy jo
Reply to: