File: README.debian

package info (click to toggle)
latex2html 2000-beta1-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,696 kB
  • ctags: 3,087
  • sloc: perl: 29,736; makefile: 828; sh: 308
file content (26 lines) | stat: -rw-r--r-- 1,217 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 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.png".

 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.png, 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.png

 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 copying the files in
 /usr/share/latex2html/icons/.  The files remain in
 /var/www/usr/share/latex2html/icons/ until this package is purged.

 This is an ugly solution, but it works, and should 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 tell me.