<html>
<body>
<font size=3>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.<br><br>
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.<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 2006 report.tex<br>
-rw-r--r-- 1 jos jos 1072 Dec 17 2006 sec1.tex<br>
-rw-r--r-- 1 jos jos 905 Dec 17 2006 sec2.tex<br>
</l/l2h/example> mkdir report<br>
</l/l2h/example> 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 <2003/12/01><br>
Babel <v3.8d> 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>
)<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 <2003/12/01><br>
Babel <v3.8d> 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' -> report.ps<br>
<tex.pro><texps.pro><special.pro><color.pro>.
<cmbx12.pfb><cmr10.pfb><br>
<cmbx10.pfb><cmr12.pfb><cmr17.pfb>[1] [2] <br>
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<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>
Marcus Hennecke, Ross Moore, Herb Swan and others<br>
...producing markup for HTML version 3.2 <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>
*** 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>
*** 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>
*** translating preamble ***<br>
..............<br>
segment page color = white<br>
.<br>
Could not find file: s1internals.pl <br>
.<br>
*** preamble done ***<br>
;...,..;...<br>
1/1:sectionstar:.."About this document ..." 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 <2003/12/01><br>
Babel <v3.8d> 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>
*** 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' -> /tmp/l2h12920/image<br>
(-> /tmp/l2h12920/image001)
<tex.pro><texps.pro><special.pro><color.pro><br>
<cmr10.pfb>[1] <br>
Converting image #1<br>
Doing section links .......<br>
*** Adding document-specific styles *** <br>
*********** WARNINGS *********** <br>
Substitution of arg to newlabelxx delayed.<br>
Done.<br>
make<x-tab> </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 ""
-up_url report.html -up_title "Main Report Title" -down_url
sec2.html -down_title "Section 2 title" 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>
Marcus Hennecke, Ross Moore, Herb Swan and others<br>
...producing markup for HTML version 3.2 <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>
*** 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>
*** 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>
*** translating preamble ***<br>
..............<br>
segment page color = white<br>
.Loading segment data from s2internals.pl <br>
.<br>
*** preamble done ***<br>
;..;<br>
1/1:subsection:..."3.1 First subsection" 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 <2003/12/01><br>
Babel <v3.8d> 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>
*** 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' -> /tmp/l2h13001/image<br>
(-> /tmp/l2h13001/image001)
<tex.pro><texps.pro><special.pro><color.pro><br>
<cmr10.pfb>[1] <br>
Converting image #1<br>
Doing section links ......<br>
*** Adding document-specific styles *** <br>
*********** WARNINGS *********** <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> </x-tab>sec2.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 s2 -up_url sec1.html
-up_title "Section 1 title" 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>
Marcus Hennecke, Ross Moore, Herb Swan and others<br>
...producing markup for HTML version 3.2 <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>
*** 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>
*** 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>
*** translating preamble ***<br>
..............<br>
segment page color = white<br>
.Loading segment data from s1internals.pl <br>
.<br>
*** preamble done ***<br>
;...,..;...<br>
1/1:sectionstar:.."About this document ..." for
s2node1.html<br>
;;.<br>
Doing section links .......<br>
*********** WARNINGS *********** <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 "" -down_url sec1.html
-down_title "Section 1 title" -t "Main Report Title"
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>
Marcus Hennecke, Ross Moore, Herb Swan and others<br>
...producing markup for HTML version 3.2 <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>
*** 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>
*** 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:"Main Report Title" for report.html<br>
*** 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>
*** preamble done ***<br>
;...;...<br>
1/3:tableofcontents:.."Contents" for node1.html<br>
;;.<br>
2/3:listoffigures:.."List of Figures" for node2.html<br>
;..;...<br>
3/3:textohtmlindex:.."Index" for node3.html<br>
;;<br>
Doing section links ......<br>
Doing table of contents ...........<br>
Doing the index ...<br>
*** Adding document-specific styles *** <br>
*********** WARNINGS *********** <br>
Substitution of arg to newlabelxx delayed.<br>
Done.<br>
</l/l2h/example> <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>
This installation supports (first is
default):<br><br>
On Feb 7, 2008 10:21 PM, jos <jos@w3k.org> wrote:<br>
><br>
> Here is my own experience:<br>
><br>
>
<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>
><br>
> - hope it helps - jos<br>
><br>
><br>
><br>
> At 01:46 PM 2/5/2008, Afief Halumi wrote:<br>
><br>
><br>
> Hello everyone,<br>
><br>
> I've recently started using Latex, more specifically Lyx, to
type my<br>
> documents and latex2html has been a great help with getting
them<br>
> online.<br>
> Recently I had to draw a large number of trees using pstree.
Initially<br>
> the trees wouldn't export and latex2html would complain about
unknown<br>
> command, but after adding a pspicture tag(sorry for using the
wrong<br>
> terminology) I got some results, alas the tree is incomplete
and<br>
> cropped in weird ways.<br>
><br>
> Also, I noticed that some of the exported PNGs have a gray
background<br>
> instead of transparent, this seems to happen sometimes with
equations<br>
> and always with trees...<br>
><br>
> I have a attached a Lyx and a Latex file of one of my tree
files so<br>
> hopefully someone will be able to identify my (hopefully
stupid)<br>
> mistake.<br>
><br>
> Thanks in advance,<br>
> Afief<br>
><br>
> Content-Type: application/x-lyx; name=07.lyx<br>
> X-Attachment-Id: f_fcaz73470<br>
> Content-Disposition: attachment; filename=07.lyx<br>
><br>
> Content-Type: application/x-tex; name=07.tex<br>
> X-Attachment-Id: f_fcazanxg1<br>
> Content-Disposition: attachment; filename=07.tex<br>
><br>
> Content-Type: image/png; name=img1.png<br>
> X-Attachment-Id: f_fcazavkp2<br>
> Content-Disposition: attachment; filename=img1.png<br>
><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><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>