<html>
<body>
<font size=3>Just guessing, it looks like your init file may contain an
error or your installation may not be complete.&nbsp; For a first test, I
would mv ~/.latex2html-init to another name and try again.&nbsp; 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.<br><br>
The example works for me if I hide my ~/.latex2html-init file and create
a 'report' directory in the 'example' directory.&nbsp; Below is my
log.&nbsp; I'm running Red Hat Fedora 7 Linux.<br><br>
- jos<br><br>
ls -l<br>
total 16<br>
-rw-r--r-- 1 jos jos 1610 Feb 11 11:46 Makefile<br>
-rw-r--r-- 1 jos jos 2642 Dec 17&nbsp; 2006 report.tex<br>
-rw-r--r-- 1 jos jos 1072 Dec 17&nbsp; 2006 sec1.tex<br>
-rw-r--r-- 1 jos jos&nbsp; 905 Dec 17&nbsp; 2006 sec2.tex<br>
&lt;/l/l2h/example&gt; mkdir report<br>
&lt;/l/l2h/example&gt; make<br>
latex report.tex<br>
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)<br>
entering extended mode<br>
(./report.tex<br>
LaTeX2e &lt;2003/12/01&gt;<br>
Babel &lt;v3.8d&gt; and hyphenation patterns for american, french,
german, ngerman, b<br>
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
esperanto, e<br>
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk,
polis<br>
h, portuges, romanian, russian, serbian, slovak, slovene, spanish,
swedish, tur<br>
kish, ukrainian, nohyphenation, loaded.<br>
(/usr/share/texmf/tex/latex/base/article.cls<br>
Document Class: article 2004/02/16 v1.4f Standard LaTeX document
class<br>
(/usr/share/texmf/tex/latex/base/size10.clo)) (/k/l/html.sty<br>
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty<br>
(/usr/share/texmf/tex/latex/graphics/keyval.sty)<br>
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)<br>
(/usr/share/texmf/tex/latex/hyperref/hyperref.cfg)<br>
Implicit mode ON; LaTeX internals redefined<br>
(/usr/share/texmf/tex/latex/html/url.sty))<br>
*hyperref using default driver hdvips*<br>
(/usr/share/texmf/tex/latex/hyperref/hdvips.def<br>
(/usr/share/texmf/tex/latex/hyperref/pdfmark.def)))<br>
(/usr/share/texmf/tex/latex/base/makeidx.sty)<br>
(/usr/share/texmf/tex/latex/graphics/color.sty<br>
(/usr/share/texmf/tex/latex/graphics/color.cfg)<br>
(/usr/share/texmf/tex/latex/graphics/dvips.def)<br>
(/usr/share/texmf/tex/latex/graphics/dvipsnam.def))<br>
No file report.aux.<br>
(/usr/share/texmf/tex/latex/hyperref/nameref.sty) (./sec1.tex<br>
LaTeX Warning: Reference `second' on page 1 undefined on input line
43.<br>
) (./sec2.tex<br>
LaTeX Warning: Reference `first' on page 1 undefined on input line
31.<br>
)<br>
No file report.ind.<br>
[1] [2] (./report.aux)<br>
LaTeX Warning: There were undefined references.<br><br>
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references
right.<br>
&nbsp;)<br>
Output written on report.dvi (2 pages, 4804 bytes).<br>
Transcript written on report.log.<br>
latex report.tex<br>
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)<br>
entering extended mode<br>
(./report.tex<br>
LaTeX2e &lt;2003/12/01&gt;<br>
Babel &lt;v3.8d&gt; and hyphenation patterns for american, french,
german, ngerman, b<br>
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
esperanto, e<br>
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk,
polis<br>
h, portuges, romanian, russian, serbian, slovak, slovene, spanish,
swedish, tur<br>
kish, ukrainian, nohyphenation, loaded.<br>
(/usr/share/texmf/tex/latex/base/article.cls<br>
Document Class: article 2004/02/16 v1.4f Standard LaTeX document
class<br>
(/usr/share/texmf/tex/latex/base/size10.clo)) (/k/l/html.sty<br>
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty<br>
(/usr/share/texmf/tex/latex/graphics/keyval.sty)<br>
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)<br>
(/usr/share/texmf/tex/latex/hyperref/hyperref.cfg)<br>
Implicit mode ON; LaTeX internals redefined<br>
(/usr/share/texmf/tex/latex/html/url.sty))<br>
*hyperref using default driver hdvips*<br>
(/usr/share/texmf/tex/latex/hyperref/hdvips.def<br>
(/usr/share/texmf/tex/latex/hyperref/pdfmark.def)))<br>
(/usr/share/texmf/tex/latex/base/makeidx.sty)<br>
(/usr/share/texmf/tex/latex/graphics/color.sty<br>
(/usr/share/texmf/tex/latex/graphics/color.cfg)<br>
(/usr/share/texmf/tex/latex/graphics/dvips.def)<br>
(/usr/share/texmf/tex/latex/graphics/dvipsnam.def)) (./report.aux)<br>
(/usr/share/texmf/tex/latex/hyperref/nameref.sty) (./report.out)
(./report.out)<br>
(./report.toc) (./report.lof) (./sec1.tex) (./sec2.tex)<br>
No file report.ind.<br>
[1] [2] (./report.aux) )<br>
Output written on report.dvi (2 pages, 7488 bytes).<br>
Transcript written on report.log.<br>
dvips -o report.ps report<br>
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software
(<a href="http://www.radicaleye.com/" eudora="autourl">
www.radicaleye.com</a>)<br>
' TeX output 2008.02.11:1149' -&gt; report.ps<br>
&lt;tex.pro&gt;&lt;texps.pro&gt;&lt;special.pro&gt;&lt;color.pro&gt;.
&lt;cmbx12.pfb&gt;&lt;cmr10.pfb&gt;<br>
&lt;cmbx10.pfb&gt;&lt;cmr12.pfb&gt;&lt;cmr17.pfb&gt;[1] [2] <br>
latex2html -show_section_numbers&nbsp; -dir report -external_file report
-contents node1.html -index node3.html -prefix s2 -up_url sec1.html
-up_title &quot;Section 1 title&quot; sec2.tex<br>
This is LaTeX2HTML Version 2006-1 (1.71)<br>
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.<br>
Revised and extended by:<br>
&nbsp;Marcus Hennecke, Ross Moore, Herb Swan and others<br>
...producing markup for HTML version 3.2&nbsp; <br><br>
Extension: loading
/usr/local/share/lib/latex2html/versions/latin1.pl<br>
HTML version: loading
/usr/local/share/lib/latex2html/versions/html3_2.pl<br>
&nbsp;*** processing declarations ***<br>
OPENING /home/jos/w/l2h/example/sec2.tex <br>
Cannot create directory report/: File exists, reusing it.<br>
Note: Working directory is /home/jos/w/l2h/example/report<br>
Note: Images will be generated in /tmp/l2h12920<br>
texexpand V2006-1 (Revision 1.11)<br><br>
Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...<br>
Package: loading /usr/local/share/lib/latex2html/styles/article.perl<br>
Package: loading /usr/local/share/lib/latex2html/styles/html.perl<br>
Package: loading /usr/local/share/lib/latex2html/styles/color.perl<br>
&nbsp;*** initialising colors ***<br>
Package: loading /usr/local/share/lib/latex2html/styles/makeidx.perl<br>
Reading ...<br>
%%%%++<br>
Doing ./sec2.ptr <br>
%%%%%%%%%%%%%%%%%%%<br>
Processing macros ...++<br>
@@@@@@@@@@@@@@@@@<br>
Reading aux file: /home/jos/w/l2h/example/report.aux ...<br>
Processing macros ...,,,++.................................<br>
Translating ...<br>
0/1:top of sec2: for sec2.html<br>
&nbsp;*** translating preamble ***<br>
..............<br>
segment page color = white<br>
.<br>
Could not find file: s1internals.pl <br>
.<br>
&nbsp;*** preamble done ***<br>
;...,..;...<br>
1/1:sectionstar:..&quot;About this document ...&quot; for
s2node1.html<br>
;;.<br>
Writing image file ...<br>
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)<br>
entering extended mode<br>
(./s2images.tex<br>
LaTeX2e &lt;2003/12/01&gt;<br>
Babel &lt;v3.8d&gt; and hyphenation patterns for american, french,
german, ngerman, b<br>
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
esperanto, e<br>
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk,
polis<br>
h, portuges, romanian, russian, serbian, slovak, slovene, spanish,
swedish, tur<br>
kish, ukrainian, nohyphenation, loaded.<br><br>
&nbsp;*** processing 1 images ***<br>
Generating postscript images using dvips ...<br>
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software
(<a href="http://www.radicaleye.com/" eudora="autourl">
www.radicaleye.com</a>)<br>
' TeX output 2008.02.11:1149' -&gt; /tmp/l2h12920/image<br>
(-&gt; /tmp/l2h12920/image001)
&lt;tex.pro&gt;&lt;texps.pro&gt;&lt;special.pro&gt;&lt;color.pro&gt;<br>
&lt;cmr10.pfb&gt;[1] <br>
Converting image #1<br>
Doing section links .......<br>
&nbsp;*** Adding document-specific styles *** <br>
*********** WARNINGS ***********&nbsp; <br>
Substitution of arg to newlabelxx delayed.<br>
Done.<br>
make<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>sec1.stamp<br>
make[1]: Entering directory `/home/jos/w/l2h/example'<br>
latex2html -show_section_numbers -dir report -external_file report
-contents node1.html -index node3.html -prefix s1 -info &quot;&quot;
-up_url report.html -up_title &quot;Main Report Title&quot; -down_url
sec2.html -down_title &quot;Section 2 title&quot; sec1.tex<br>
This is LaTeX2HTML Version 2006-1 (1.71)<br>
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.<br>
Revised and extended by:<br>
&nbsp;Marcus Hennecke, Ross Moore, Herb Swan and others<br>
...producing markup for HTML version 3.2&nbsp; <br><br>
Extension: loading
/usr/local/share/lib/latex2html/versions/latin1.pl<br>
HTML version: loading
/usr/local/share/lib/latex2html/versions/html3_2.pl<br>
&nbsp;*** processing declarations ***<br>
OPENING /home/jos/w/l2h/example/sec1.tex <br>
Cannot create directory report/: File exists, reusing it.<br>
Note: Working directory is /home/jos/w/l2h/example/report<br>
Note: Images will be generated in /tmp/l2h13001<br>
texexpand V2006-1 (Revision 1.11)<br><br>
Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...<br>
Package: loading /usr/local/share/lib/latex2html/styles/article.perl<br>
Package: loading /usr/local/share/lib/latex2html/styles/html.perl<br>
Package: loading /usr/local/share/lib/latex2html/styles/color.perl<br>
&nbsp;*** initialising colors ***<br>
Package: loading /usr/local/share/lib/latex2html/styles/makeidx.perl<br>
Reading ...<br>
%%%%%++<br>
Doing ./sec1.ptr <br>
%%%%%%%%%%%%%%%%%%%<br>
Processing macros ...++<br>
@@@@@@@@@@@@@@@@<br>
Reading aux file: /home/jos/w/l2h/example/report.aux ...<br>
Processing macros ...,,,++.................................<br>
Translating ...<br>
0/1:top of sec1: for sec1.html<br>
&nbsp;*** translating preamble ***<br>
..............<br>
segment page color = white<br>
.Loading segment data from s2internals.pl <br>
.<br>
&nbsp;*** preamble done ***<br>
;..;<br>
1/1:subsection:...&quot;3.1 First subsection&quot; for s1node1.html<br>
;,...;...<br>
Writing image file ...<br>
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)<br>
entering extended mode<br>
(./s1images.tex<br>
LaTeX2e &lt;2003/12/01&gt;<br>
Babel &lt;v3.8d&gt; and hyphenation patterns for american, french,
german, ngerman, b<br>
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
esperanto, e<br>
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk,
polis<br>
h, portuges, romanian, russian, serbian, slovak, slovene, spanish,
swedish, tur<br>
kish, ukrainian, nohyphenation, loaded.<br><br>
&nbsp;*** processing 1 images ***<br>
Generating postscript images using dvips ...<br>
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software
(<a href="http://www.radicaleye.com/" eudora="autourl">
www.radicaleye.com</a>)<br>
' TeX output 2008.02.11:1149' -&gt; /tmp/l2h13001/image<br>
(-&gt; /tmp/l2h13001/image001)
&lt;tex.pro&gt;&lt;texps.pro&gt;&lt;special.pro&gt;&lt;color.pro&gt;<br>
&lt;cmr10.pfb&gt;[1] <br>
Converting image #1<br>
Doing section links ......<br>
&nbsp;*** Adding document-specific styles *** <br>
*********** WARNINGS ***********&nbsp; <br>
Substitution of arg to newlabelxx delayed.<br>
Done.<br>
touch sec1.stamp<br>
make[1]: Leaving directory `/home/jos/w/l2h/example'<br>
make<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>sec2.stamp<br>
make[1]: Entering directory `/home/jos/w/l2h/example'<br>
latex2html -show_section_numbers&nbsp; -dir report -external_file report
-contents node1.html -index node3.html -prefix s2 -up_url sec1.html
-up_title &quot;Section 1 title&quot; sec2.tex<br>
This is LaTeX2HTML Version 2006-1 (1.71)<br>
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.<br>
Revised and extended by:<br>
&nbsp;Marcus Hennecke, Ross Moore, Herb Swan and others<br>
...producing markup for HTML version 3.2&nbsp; <br><br>
Extension: loading
/usr/local/share/lib/latex2html/versions/latin1.pl<br>
HTML version: loading
/usr/local/share/lib/latex2html/versions/html3_2.pl<br>
&nbsp;*** processing declarations ***<br>
OPENING /home/jos/w/l2h/example/sec2.tex <br>
Cannot create directory report/: File exists, reusing it.<br>
Reusing directory report/:<br>
Note: Working directory is /home/jos/w/l2h/example/report<br>
Note: Images will be generated in /tmp/l2h13083<br>
texexpand V2006-1 (Revision 1.11)<br><br>
Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...<br>
Package: loading /usr/local/share/lib/latex2html/styles/article.perl<br>
Package: loading /usr/local/share/lib/latex2html/styles/html.perl<br>
Package: loading /usr/local/share/lib/latex2html/styles/color.perl<br>
&nbsp;*** initialising colors ***<br>
Package: loading /usr/local/share/lib/latex2html/styles/makeidx.perl<br>
Reading ...<br>
%%%%++<br>
Doing ./sec2.ptr <br>
%%%%%%%%%%%%%%%%%%%<br>
Processing macros ...++<br>
@@@@@@@@@@@@@@@@@<br>
Reading aux file: /home/jos/w/l2h/example/report.aux ...<br>
Processing macros ...,,,++.................................<br>
Translating ...<br>
0/1:top of sec2: for sec2.html<br>
&nbsp;*** translating preamble ***<br>
..............<br>
segment page color = white<br>
.Loading segment data from s1internals.pl <br>
.<br>
&nbsp;*** preamble done ***<br>
;...,..;...<br>
1/1:sectionstar:..&quot;About this document ...&quot; for
s2node1.html<br>
;;.<br>
Doing section links .......<br>
*********** WARNINGS ***********&nbsp; <br>
Substitution of arg to newlabelxx delayed.<br>
Done.<br>
touch sec2.stamp<br>
make[1]: Leaving directory `/home/jos/w/l2h/example'<br>
latex2html -show_section_numbers -info &quot;&quot; -down_url sec1.html
-down_title &quot;Section 1 title&quot; -t &quot;Main Report Title&quot;
report.tex<br>
This is LaTeX2HTML Version 2006-1 (1.71)<br>
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.<br>
Revised and extended by:<br>
&nbsp;Marcus Hennecke, Ross Moore, Herb Swan and others<br>
...producing markup for HTML version 3.2&nbsp; <br><br>
Extension: loading
/usr/local/share/lib/latex2html/versions/latin1.pl<br>
HTML version: loading
/usr/local/share/lib/latex2html/versions/html3_2.pl<br>
&nbsp;*** processing declarations ***<br>
OPENING /home/jos/w/l2h/example/report.tex <br>
Cannot create directory report/: File exists, reusing it.<br>
Note: Working directory is /home/jos/w/l2h/example/report<br>
Note: Images will be generated in /tmp/l2h13147<br>
texexpand V2006-1 (Revision 1.11)<br><br>
Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...<br>
Package: loading /usr/local/share/lib/latex2html/styles/article.perl<br>
Package: loading /usr/local/share/lib/latex2html/styles/html.perl<br>
Package: loading /usr/local/share/lib/latex2html/styles/makeidx.perl<br>
Package: loading /usr/local/share/lib/latex2html/styles/color.perl<br>
&nbsp;*** initialising colors ***<br>
Reading ...<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%++<br>
@@@@@@@@@@@@@@<br>
Reading aux file: /home/jos/w/l2h/example/report.aux ...<br>
Processing macros ...,,,++.................................<br>
Reading lof file: /home/jos/w/l2h/example/report.lof ...<br>
Processing macros ...++........<br>
Translating ...<br>
0/3:top of report:&quot;Main Report Title&quot; for report.html<br>
&nbsp;*** translating preamble ***<br>
...Loading segment data from s1figure.pl <br>
.Loading segment data from s2figure.pl <br>
.Loading segment data from s1sections.pl <br>
.Loading segment data from s2sections.pl <br>
.Loading segment data from s1contents.pl <br>
.Loading segment data from s2contents.pl <br>
.Loading segment data from s1index.pl <br>
.Loading segment data from s2index.pl <br>
.<br>
&nbsp;*** preamble done ***<br>
;...;...<br>
1/3:tableofcontents:..&quot;Contents&quot; for node1.html<br>
;;.<br>
2/3:listoffigures:..&quot;List of Figures&quot; for node2.html<br>
;..;...<br>
3/3:textohtmlindex:..&quot;Index&quot; for node3.html<br>
;;<br>
Doing section links ......<br>
Doing table of contents ...........<br>
Doing the index ...<br>
&nbsp;*** Adding document-specific styles *** <br>
*********** WARNINGS ***********&nbsp; <br>
Substitution of arg to newlabelxx delayed.<br>
Done.<br>
&lt;/l/l2h/example&gt; <br><br>
<br>
At 04:21 AM 2/11/2008, Afief Halumi wrote:<br>
<blockquote type=cite class=cite cite="">Thank you, this should solve at
least some problems(hopefully all),<br><br>
Could you help me getting it to work though? I downloaded the
archive<br>
and compiled it, yet when I try to use it I get the following
error<br><br>
$ latex2html ./example/report.tex<br>
Note: Loading /home/afief/.latex2html-init<br>
Error: No such image type ''.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This installation supports (first is
default):<br><br>
On Feb 7, 2008 10:21 PM, jos &lt;jos@w3k.org&gt; wrote:<br>
&gt;<br>
&gt;&nbsp; Here is my own experience:<br>
&gt;<br>
&gt;&nbsp;
<a href="http://ccrma.stanford.edu/~jos/mypc/Getting_LaTeX2HTML_Really_Working.html" eudora="autourl">
http://ccrma.stanford.edu/~jos/mypc/Getting_LaTeX2HTML_Really_Working.html</a>
<br>
&gt;<br>
&gt;&nbsp;&nbsp; - hope it helps - jos<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; At 01:46 PM 2/5/2008, Afief Halumi wrote:<br>
&gt;<br>
&gt;<br>
&gt; Hello everyone,<br>
&gt;<br>
&gt;&nbsp; I've recently started using Latex, more specifically Lyx, to
type my<br>
&gt;&nbsp; documents and latex2html has been a great help with getting
them<br>
&gt;&nbsp; online.<br>
&gt;&nbsp; Recently I had to draw a large number of trees using pstree.
Initially<br>
&gt;&nbsp; the trees wouldn't export and latex2html would complain about
unknown<br>
&gt;&nbsp; command, but after adding a pspicture tag(sorry for using the
wrong<br>
&gt;&nbsp; terminology) I got some results, alas the tree is incomplete
and<br>
&gt;&nbsp; cropped in weird ways.<br>
&gt;<br>
&gt;&nbsp; Also, I noticed that some of the exported PNGs have a gray
background<br>
&gt;&nbsp; instead of transparent, this seems to happen sometimes with
equations<br>
&gt;&nbsp; and always with trees...<br>
&gt;<br>
&gt;&nbsp; I have a attached a Lyx and a Latex file of one of my tree
files so<br>
&gt;&nbsp; hopefully someone will be able to identify my (hopefully
stupid)<br>
&gt;&nbsp; mistake.<br>
&gt;<br>
&gt;&nbsp; Thanks in advance,<br>
&gt;&nbsp; Afief<br>
&gt;<br>
&gt;&nbsp; Content-Type: application/x-lyx; name=07.lyx<br>
&gt;&nbsp; X-Attachment-Id: f_fcaz73470<br>
&gt;&nbsp; Content-Disposition: attachment; filename=07.lyx<br>
&gt;<br>
&gt;&nbsp; Content-Type: application/x-tex; name=07.tex<br>
&gt;&nbsp; X-Attachment-Id: f_fcazanxg1<br>
&gt;&nbsp; Content-Disposition: attachment; filename=07.tex<br>
&gt;<br>
&gt;&nbsp; Content-Type: image/png; name=img1.png<br>
&gt;&nbsp; X-Attachment-Id: f_fcazavkp2<br>
&gt;&nbsp; Content-Disposition: attachment; filename=img1.png<br>
&gt;<br>
&gt;&nbsp; _______________________________________________<br>
&gt;&nbsp; latex2html mailing list<br>
&gt;&nbsp; latex2html@tug.org<br>
&gt;&nbsp;
<a href="http://tug.org/mailman/listinfo/latex2html" eudora="autourl">
http://tug.org/mailman/listinfo/latex2html</a><br>
_______________________________________________<br>
latex2html mailing list<br>
latex2html@tug.org<br>
<a href="http://tug.org/mailman/listinfo/latex2html" eudora="autourl">
http://tug.org/mailman/listinfo/latex2html</a></font></blockquote></body>
</html>