Just guessing, it looks like your init file may contain an error or your installation may not be complete.  For a first test, I would mv ~/.latex2html-init to another name and try again.  Second, I would check carefully the file config.log in you l2h installation, and, if that shows a problem, study the INSTALL file further for ideas of what to try next.

The example works for me if I hide my ~/.latex2html-init file and create a 'report' directory in the 'example' directory.  Below is my log.  I'm running Red Hat Fedora 7 Linux.

- jos

ls -l
total 16
-rw-r--r-- 1 jos jos 1610 Feb 11 11:46 Makefile
-rw-r--r-- 1 jos jos 2642 Dec 17  2006 report.tex
-rw-r--r-- 1 jos jos 1072 Dec 17  2006 sec1.tex
-rw-r--r-- 1 jos jos  905 Dec 17  2006 sec2.tex
</l/l2h/example> mkdir report
</l/l2h/example> make
latex report.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./report.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo)) (/k/l/html.sty
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf/tex/latex/hyperref/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf/tex/latex/html/url.sty))
*hyperref using default driver hdvips*
(/usr/share/texmf/tex/latex/hyperref/hdvips.def
(/usr/share/texmf/tex/latex/hyperref/pdfmark.def)))
(/usr/share/texmf/tex/latex/base/makeidx.sty)
(/usr/share/texmf/tex/latex/graphics/color.sty
(/usr/share/texmf/tex/latex/graphics/color.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def)
(/usr/share/texmf/tex/latex/graphics/dvipsnam.def))
No file report.aux.
(/usr/share/texmf/tex/latex/hyperref/nameref.sty) (./sec1.tex
LaTeX Warning: Reference `second' on page 1 undefined on input line 43.
) (./sec2.tex
LaTeX Warning: Reference `first' on page 1 undefined on input line 31.
)
No file report.ind.
[1] [2] (./report.aux)
LaTeX Warning: There were undefined references.

LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
 )
Output written on report.dvi (2 pages, 4804 bytes).
Transcript written on report.log.
latex report.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./report.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo)) (/k/l/html.sty
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf/tex/latex/hyperref/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf/tex/latex/html/url.sty))
*hyperref using default driver hdvips*
(/usr/share/texmf/tex/latex/hyperref/hdvips.def
(/usr/share/texmf/tex/latex/hyperref/pdfmark.def)))
(/usr/share/texmf/tex/latex/base/makeidx.sty)
(/usr/share/texmf/tex/latex/graphics/color.sty
(/usr/share/texmf/tex/latex/graphics/color.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def)
(/usr/share/texmf/tex/latex/graphics/dvipsnam.def)) (./report.aux)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty) (./report.out) (./report.out)
(./report.toc) (./report.lof) (./sec1.tex) (./sec2.tex)
No file report.ind.
[1] [2] (./report.aux) )
Output written on report.dvi (2 pages, 7488 bytes).
Transcript written on report.log.
dvips -o report.ps report
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software ( www.radicaleye.com)
' TeX output 2008.02.11:1149' -> report.ps
<tex.pro><texps.pro><special.pro><color.pro>. <cmbx12.pfb><cmr10.pfb>
<cmbx10.pfb><cmr12.pfb><cmr17.pfb>[1] [2]
latex2html -show_section_numbers  -dir report -external_file report -contents node1.html -index node3.html -prefix s2 -up_url sec1.html -up_title "Section 1 title" sec2.tex
This is LaTeX2HTML Version 2006-1 (1.71)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2 

Extension: loading /usr/local/share/lib/latex2html/versions/latin1.pl
HTML version: loading /usr/local/share/lib/latex2html/versions/html3_2.pl
 *** processing declarations ***
OPENING /home/jos/w/l2h/example/sec2.tex
Cannot create directory report/: File exists, reusing it.
Note: Working directory is /home/jos/w/l2h/example/report
Note: Images will be generated in /tmp/l2h12920
texexpand V2006-1 (Revision 1.11)

Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...
Package: loading /usr/local/share/lib/latex2html/styles/article.perl
Package: loading /usr/local/share/lib/latex2html/styles/html.perl
Package: loading /usr/local/share/lib/latex2html/styles/color.perl
 *** initialising colors ***
Package: loading /usr/local/share/lib/latex2html/styles/makeidx.perl
Reading ...
%%%%++
Doing ./sec2.ptr
%%%%%%%%%%%%%%%%%%%
Processing macros ...++
@@@@@@@@@@@@@@@@@
Reading aux file: /home/jos/w/l2h/example/report.aux ...
Processing macros ...,,,++.................................
Translating ...
0/1:top of sec2: for sec2.html
 *** translating preamble ***
..............
segment page color = white
.
Could not find file: s1internals.pl
.
 *** preamble done ***
;...,..;...
1/1:sectionstar:.."About this document ..." for s2node1.html
;;.
Writing image file ...
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./s2images.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.

 *** processing 1 images ***
Generating postscript images using dvips ...
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software ( www.radicaleye.com)
' TeX output 2008.02.11:1149' -> /tmp/l2h12920/image
(-> /tmp/l2h12920/image001) <tex.pro><texps.pro><special.pro><color.pro>
<cmr10.pfb>[1]
Converting image #1
Doing section links .......
 *** Adding document-specific styles ***
*********** WARNINGS *********** 
Substitution of arg to newlabelxx delayed.
Done.
make    sec1.stamp
make[1]: Entering directory `/home/jos/w/l2h/example'
latex2html -show_section_numbers -dir report -external_file report -contents node1.html -index node3.html -prefix s1 -info "" -up_url report.html -up_title "Main Report Title" -down_url sec2.html -down_title "Section 2 title" sec1.tex
This is LaTeX2HTML Version 2006-1 (1.71)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2 

Extension: loading /usr/local/share/lib/latex2html/versions/latin1.pl
HTML version: loading /usr/local/share/lib/latex2html/versions/html3_2.pl
 *** processing declarations ***
OPENING /home/jos/w/l2h/example/sec1.tex
Cannot create directory report/: File exists, reusing it.
Note: Working directory is /home/jos/w/l2h/example/report
Note: Images will be generated in /tmp/l2h13001
texexpand V2006-1 (Revision 1.11)

Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...
Package: loading /usr/local/share/lib/latex2html/styles/article.perl
Package: loading /usr/local/share/lib/latex2html/styles/html.perl
Package: loading /usr/local/share/lib/latex2html/styles/color.perl
 *** initialising colors ***
Package: loading /usr/local/share/lib/latex2html/styles/makeidx.perl
Reading ...
%%%%%++
Doing ./sec1.ptr
%%%%%%%%%%%%%%%%%%%
Processing macros ...++
@@@@@@@@@@@@@@@@
Reading aux file: /home/jos/w/l2h/example/report.aux ...
Processing macros ...,,,++.................................
Translating ...
0/1:top of sec1: for sec1.html
 *** translating preamble ***
..............
segment page color = white
.Loading segment data from s2internals.pl
.
 *** preamble done ***
;..;
1/1:subsection:..."3.1 First subsection" for s1node1.html
;,...;...
Writing image file ...
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./s1images.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.

 *** processing 1 images ***
Generating postscript images using dvips ...
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software ( www.radicaleye.com)
' TeX output 2008.02.11:1149' -> /tmp/l2h13001/image
(-> /tmp/l2h13001/image001) <tex.pro><texps.pro><special.pro><color.pro>
<cmr10.pfb>[1]
Converting image #1
Doing section links ......
 *** Adding document-specific styles ***
*********** WARNINGS *********** 
Substitution of arg to newlabelxx delayed.
Done.
touch sec1.stamp
make[1]: Leaving directory `/home/jos/w/l2h/example'
make    sec2.stamp
make[1]: Entering directory `/home/jos/w/l2h/example'
latex2html -show_section_numbers  -dir report -external_file report -contents node1.html -index node3.html -prefix s2 -up_url sec1.html -up_title "Section 1 title" sec2.tex
This is LaTeX2HTML Version 2006-1 (1.71)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2 

Extension: loading /usr/local/share/lib/latex2html/versions/latin1.pl
HTML version: loading /usr/local/share/lib/latex2html/versions/html3_2.pl
 *** processing declarations ***
OPENING /home/jos/w/l2h/example/sec2.tex
Cannot create directory report/: File exists, reusing it.
Reusing directory report/:
Note: Working directory is /home/jos/w/l2h/example/report
Note: Images will be generated in /tmp/l2h13083
texexpand V2006-1 (Revision 1.11)

Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...
Package: loading /usr/local/share/lib/latex2html/styles/article.perl
Package: loading /usr/local/share/lib/latex2html/styles/html.perl
Package: loading /usr/local/share/lib/latex2html/styles/color.perl
 *** initialising colors ***
Package: loading /usr/local/share/lib/latex2html/styles/makeidx.perl
Reading ...
%%%%++
Doing ./sec2.ptr
%%%%%%%%%%%%%%%%%%%
Processing macros ...++
@@@@@@@@@@@@@@@@@
Reading aux file: /home/jos/w/l2h/example/report.aux ...
Processing macros ...,,,++.................................
Translating ...
0/1:top of sec2: for sec2.html
 *** translating preamble ***
..............
segment page color = white
.Loading segment data from s1internals.pl
.
 *** preamble done ***
;...,..;...
1/1:sectionstar:.."About this document ..." for s2node1.html
;;.
Doing section links .......
*********** WARNINGS *********** 
Substitution of arg to newlabelxx delayed.
Done.
touch sec2.stamp
make[1]: Leaving directory `/home/jos/w/l2h/example'
latex2html -show_section_numbers -info "" -down_url sec1.html -down_title "Section 1 title" -t "Main Report Title" report.tex
This is LaTeX2HTML Version 2006-1 (1.71)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2 

Extension: loading /usr/local/share/lib/latex2html/versions/latin1.pl
HTML version: loading /usr/local/share/lib/latex2html/versions/html3_2.pl
 *** processing declarations ***
OPENING /home/jos/w/l2h/example/report.tex
Cannot create directory report/: File exists, reusing it.
Note: Working directory is /home/jos/w/l2h/example/report
Note: Images will be generated in /tmp/l2h13147
texexpand V2006-1 (Revision 1.11)

Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...
Package: loading /usr/local/share/lib/latex2html/styles/article.perl
Package: loading /usr/local/share/lib/latex2html/styles/html.perl
Package: loading /usr/local/share/lib/latex2html/styles/makeidx.perl
Package: loading /usr/local/share/lib/latex2html/styles/color.perl
 *** initialising colors ***
Reading ...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%++
@@@@@@@@@@@@@@
Reading aux file: /home/jos/w/l2h/example/report.aux ...
Processing macros ...,,,++.................................
Reading lof file: /home/jos/w/l2h/example/report.lof ...
Processing macros ...++........
Translating ...
0/3:top of report:"Main Report Title" for report.html
 *** translating preamble ***
...Loading segment data from s1figure.pl
.Loading segment data from s2figure.pl
.Loading segment data from s1sections.pl
.Loading segment data from s2sections.pl
.Loading segment data from s1contents.pl
.Loading segment data from s2contents.pl
.Loading segment data from s1index.pl
.Loading segment data from s2index.pl
.
 *** preamble done ***
;...;...
1/3:tableofcontents:.."Contents" for node1.html
;;.
2/3:listoffigures:.."List of Figures" for node2.html
;..;...
3/3:textohtmlindex:.."Index" for node3.html
;;
Doing section links ......
Doing table of contents ...........
Doing the index ...
 *** Adding document-specific styles ***
*********** WARNINGS *********** 
Substitution of arg to newlabelxx delayed.
Done.
</l/l2h/example>


At 04:21 AM 2/11/2008, Afief Halumi wrote:
Thank you, this should solve at least some problems(hopefully all),

Could you help me getting it to work though? I downloaded the archive
and compiled it, yet when I try to use it I get the following error

$ latex2html ./example/report.tex
Note: Loading /home/afief/.latex2html-init
Error: No such image type ''.
      This installation supports (first is default):

On Feb 7, 2008 10:21 PM, jos <[EMAIL PROTECTED]> wrote:
>
>  Here is my own experience:
>
http://ccrma.stanford.edu/~jos/mypc/Getting_LaTeX2HTML_Really_Working.html
>
>   - hope it helps - jos
>
>
>
>  At 01:46 PM 2/5/2008, Afief Halumi wrote:
>
>
> Hello everyone,
>
>  I've recently started using Latex, more specifically Lyx, to type my
>  documents and latex2html has been a great help with getting them
>  online.
>  Recently I had to draw a large number of trees using pstree. Initially
>  the trees wouldn't export and latex2html would complain about unknown
>  command, but after adding a pspicture tag(sorry for using the wrong
>  terminology) I got some results, alas the tree is incomplete and
>  cropped in weird ways.
>
>  Also, I noticed that some of the exported PNGs have a gray background
>  instead of transparent, this seems to happen sometimes with equations
>  and always with trees...
>
>  I have a attached a Lyx and a Latex file of one of my tree files so
>  hopefully someone will be able to identify my (hopefully stupid)
>  mistake.
>
>  Thanks in advance,
>  Afief
>
>  Content-Type: application/x-lyx; name=07.lyx
>  X-Attachment-Id: f_fcaz73470
>  Content-Disposition: attachment; filename=07.lyx
>
>  Content-Type: application/x-tex; name=07.tex
>  X-Attachment-Id: f_fcazanxg1
>  Content-Disposition: attachment; filename=07.tex
>
>  Content-Type: image/png; name=img1.png
>  X-Attachment-Id: f_fcazavkp2
>  Content-Disposition: attachment; filename=img1.png
>
>  _______________________________________________
>  latex2html mailing list
[email protected]
http://tug.org/mailman/listinfo/latex2html
_______________________________________________
latex2html mailing list
[email protected]
http://tug.org/mailman/listinfo/latex2html
_______________________________________________
latex2html mailing list
[email protected]
http://tug.org/mailman/listinfo/latex2html

Reply via email to