[l2h] Need help !
Cong Xing
cmps-cx@nicholls.edu
Tue, 11 Dec 2001 09:43:02 -0600
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C18228.39A45BE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi All,
Below is what I got by running latex2html on a self-made test file. I =
marked=20
the palces that I do not understand. Please help me if you can. I've =
been=20
working on this thing for past few days and still could not get it =
rihgt! :(
-Cong Xing
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
Script V1.1 session started Tue Dec 11 00:32:25 2001
Microsoft(R) Windows 98
(C)Copyright Microsoft Corp 1981-1998.
C:\xing>latex2html -debug test
This is LaTeX2HTML Version 99.2beta6 (1.42)
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 =20
Loading C:\TEXUTILS\L2H\versions\html3_2.pl
*** processing declarations ***
Loading C:\TEXUTILS\L2H\versions\latin1.plStarting at 1008052366 seconds
OPENING C:\xing\test.tex=20
Note: Working directory is C:\xing\test
Note: Images will be generated in C:\xing\l2h371783
Debug (syswait): Running "C:\Perl\bin\perl.exe =
C:\TEXUTILS\L2H\bin\texexpand.bat -debug -auto_exclude -save_styles =
C:\xing\test\TMP\styles -texinputs C:\xing -out C:\xing\test\TMP\test =
C:\xing\test.tex"
at C:\TEXUTILS\L2H\BIN/latex2html.bat line 790
texexpand V99.2beta6 (Revision 1.10)
texexpand: LaTeX2HTML inputs are in:
texexpand: .
texexpand: C:\xing
texexpand: %--- Found class: \documentclass{report}
Loading C:\TEXUTILS\L2H\styles\texdefs.perl...
Loading C:\TEXUTILS\L2H\styles\report.perl
Reading ...
++
@
Translating ...
0/1:top of test: for test.html
*** translating preamble ***
..
*** preamble done ***
;,.;
1/1:sectionstar:.."About this document ..." for node1.html
;;.
Writing image file ...
C:\TEXUTILS\MIKTEX\BIN\latex.exe ./images.tex
Debug (syswait): Running "C:\TEXUTILS\MIKTEX\BIN\latex.exe ./images.tex"
=3D=3D=3D=3D> (the ./ slash does not seem to =
bother Windows :) )
at C:\TEXUTILS\L2H\BIN/latex2html.bat line 3733
This is TeX, Version 3.14159 (MiKTeX 2)
(./images.tex
=3D=3D=3D=3D=3D=3D> ( latex2html does not change '/' to '\' for Windows =
automatically?? )
LaTeX2e <2000/06/01>
Babel <v3.6Z> and hyphenation patterns for english, french, german, =
ngerman, du
mylang, nohyphenation, loaded.
(C:\texutils\tex\latex\base\report.cls
Document Class: report 2000/05/19 v1.4b Standard LaTeX document class
(C:\texutils\tex\latex\base\size10.clo)) =
(C:\texutils\tex\latex\base\ifthen.sty
) (C:\texutils\tex\latex\graphics\color.sty
(C:\texutils\tex\latex\miktex\color.cfg)
(C:\texutils\tex\latex\graphics\dvips.def)
(C:\texutils\tex\latex\graphics\dvipsnam.def))
(C:\texutils\tex\latex\base\inputenc.sty)
No file images.aux.
latex2htmlLength hsize=3D349.0pt
latex2htmlLength vsize=3D633.0pt
latex2htmlLength hoffset=3D0.0pt
latex2htmlLength voffset=3D0.0pt
latex2htmlLength topmargin=3D0.0pt
latex2htmlLength topskip=3D0.00003pt
latex2htmlLength headheight=3D0.0pt
latex2htmlLength headsep=3D0.0pt
latex2htmlLength parskip=3D0.0pt plus 1.0pt
latex2htmlLength oddsidemargin=3D62.0pt
latex2htmlLength evensidemargin=3D62.0pt
l2hSize :tex2html_wrap_inline4:7.44444pt::7.44444pt::25.34023pt.
[1] (images.aux) )
Output written on images.dvi (1 page, 404 bytes).
Transcript written on images.log.
=3D=3D=3D=3D=3D> (so far so good I think)
*** processing 1 images ***
Generating postscript images using dvips ...
C:\TEXUTILS\MIKTEX\BIN\dvips.exe -S1 -i -E -oC:\xing\l2h371783\image =
.\images.dvi
Debug (syswait): Running "C:\TEXUTILS\MIKTEX\BIN\dvips.exe -S1 -i -E =
-oC:\xing\l2h371783\image .\images.dvi
"
at C:\TEXUTILS\L2H\BIN/latex2html.bat line 3849
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software =
(www.radicaleye.com)
' TeX output 2001.12.11:0032' -> C:\xing\l2h371783\image
(-> C:\xing\l2h371783\image001) <texc.pro><special.pro><color.pro>[1]=20
=3D=3D=3D=3D> (image001.ps is created and put in the indicated dir, I =
verified this)
Converting image #1
Debug (syswait): Running "C:\Perl\bin\perl.exe =
C:\TEXUTILS\L2H\bin\pstoimg.bat -type gif -debug -tmp C:\xing\l2h371783 =
-discard -interlace -antialias -depth 1 -scale 1.6 -geometry 25x15 =
-margins 134,72 -crop abls -transparent -out img1.gif =
C:\xing\l2h371783\image001.ps"
at C:\TEXUTILS\L2H\BIN/latex2html.bat line 4181
pstoimg.bat V99.2beta6 (Revision 1.11, Perl 5.006001)
pstoimg.bat: Temporary directory is C:\xing\l2h371783
pstoimg.bat: Processing C:\xing\l2h371783\image001.ps
pstoimg.bat: EPSF dimensions are 30x22
pstoimg.bat: Running C:\GS\GS7.03\BIN\gswin32c.exe -sDEVICE=3Dppmraw =
-g48x36 -r115 -dTextAlphaBits=3D4 =
-sOutputFile=3DC:\xing\l2h371783\p374895.pnm=20
GS>-133 -699 translate
GS>(C:/xing/l2h371783/image001.ps) run
GS>showpage
GS>quit
=3D=3D=3D=3D=3D> (Does above indicate an actual running of Ghostscript =
or just the order in which
the things should be carried out? If it is a running of =
Ghostscript,=20
why there is no heder=20
info like "AFPL Ghostscript 7.03 (2001-10-20)....."?)
AFPL Ghostscript 7.03 (2001-10-20)
Copyright (C) 2001 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>GS>>>showpage, press <return> to continue<<
GS>>>showpage, press <return> to continue<<
GS>Running "C:\TEXUTILS\NETPBM\BIN\pnmcrop.exe < =
C:\xing\l2h371783\p374895.pnm > C:\xing\l2h371783\p374895.t01"
Bad command or file name
=3D=3D=3D=3D> (Is this another call to Ghostscript or just a =
continuation from the prvious one?=20
What bad command or file name? Why there are two "showpage, =
press <return> to ....."?
Shouldn't the last command in GS> be quit? I tried the=20
"C:\TEXUTILS\NETPBM\BIN\pnmcrop.exe < =
C:\xing\l2h371783\p374895.pnm > C:\xing\l2h371783\p374895.t01"
at shell level, I think it worked fine. Here is the script:
C:\xing\l2h371783>pnmcrop < p374895.pnm > p374895.t01=20
PNMCROP.EXE: cropping 2 rows off the top
PNMCROP.EXE: cropping 2 rows off the bottom
PNMCROP.EXE: cropping 2 cols off the left
C:\xing\l2h371783>
pstoimg.bat: Error: "C:\TEXUTILS\NETPBM\BIN\pnmcrop.exe < =
C:\xing\l2h371783\p374895.pnm > C:\xing\l2h371783\p374895.t01" produced =
empty file
Error while converting image
Error: Cannot read 'img1.gif': No such file or directory
=3D=3D=3D=3D=3D> (If other errors are fixed, this one will go away?, I =
guess.)
Doing section links ......
*** Adding document-specific styles ***=20
*********** WARNINGS *********** =20
Failed to convert image C:\xing\l2h371783\image001.ps
To resolve the image conversion problems please consult
the "Troubleshooting" section of your local User Manual
or follow the links to it at
http://www-math.mpce.mq.edu.au/texdev/LaTeX2HTML/docs/manual/
Done.
Timing: 3 seconds
C:\xing>exit
Script completed Tue Dec 11 00:32:59 2001
=20
------=_NextPart_000_0009_01C18228.39A45BE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff><FONT face=3DArial size=3D2>
<DIV><BR>Hi All,</DIV>
<DIV> </DIV>
<DIV>Below is what I got by running latex2html on a self-made test=20
file. I marked </DIV>
<DIV>the palces that I do not understand. Please help me if you =
can. =20
I've been </DIV>
<DIV>working on this thing for past few days and still could not get it =
rihgt!=20
:(</DIV>
<DIV> </DIV>
<DIV>-Cong Xing</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Script V1.1 session started Tue Dec 11 00:32:25 2001</DIV>
<DIV> </DIV>
<DIV><BR>Microsoft(R) Windows 98<BR> (C)Copyright Microsoft =
Corp=20
1981-1998.</DIV>
<DIV> </DIV>
<DIV>C:\xing>latex2html -debug test<BR>This is LaTeX2HTML Version =
99.2beta6=20
(1.42)<BR>by Nikos Drakos, Computer Based Learning Unit, University of=20
Leeds.</DIV>
<DIV> </DIV>
<DIV>Revised and extended by:<BR> Marcus Hennecke, Ross Moore, Herb =
Swan=20
and others<BR>...producing markup for HTML version 3.2 </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Loading C:\TEXUTILS\L2H\versions\html3_2.pl</DIV>
<DIV> </DIV>
<DIV> *** processing declarations ***</DIV>
<DIV> </DIV>
<DIV>Loading C:\TEXUTILS\L2H\versions\latin1.plStarting at 1008052366=20
seconds</DIV>
<DIV> </DIV>
<DIV>OPENING C:\xing\test.tex </DIV>
<DIV> </DIV>
<DIV>Note: Working directory is C:\xing\test<BR>Note: Images will be =
generated=20
in C:\xing\l2h371783</DIV>
<DIV> </DIV>
<DIV>Debug (syswait): Running "C:\Perl\bin\perl.exe=20
C:\TEXUTILS\L2H\bin\texexpand.bat -debug -auto_exclude -save_styles=20
C:\xing\test\TMP\styles -texinputs C:\xing -out C:\xing\test\TMP\test=20
C:\xing\test.tex"<BR> at C:\TEXUTILS\L2H\BIN/latex2html.bat line=20
790<BR>texexpand V99.2beta6 (Revision 1.10)</DIV>
<DIV> </DIV>
<DIV>texexpand: LaTeX2HTML inputs are =
in:<BR>texexpand: =20
.<BR>texexpand: C:\xing<BR>texexpand: %--- Found =
class:=20
\documentclass{report}</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Loading C:\TEXUTILS\L2H\styles\texdefs.perl...<BR>Loading=20
C:\TEXUTILS\L2H\styles\report.perl<BR>Reading ...<BR>++<BR>@</DIV>
<DIV> </DIV>
<DIV>Translating ...<BR>0/1:top of test: for test.html</DIV>
<DIV> </DIV>
<DIV> *** translating preamble ***<BR>..<BR> *** preamble done =
***<BR>;,.;</DIV>
<DIV> </DIV>
<DIV>1/1:sectionstar:.."About this document ..." for =
node1.html<BR>;;.</DIV>
<DIV> </DIV>
<DIV>Writing image file ...</DIV>
<DIV> </DIV>
<DIV>C:\TEXUTILS\MIKTEX\BIN\latex.exe ./images.tex<BR>Debug (syswait): =
Running=20
"C:\TEXUTILS\MIKTEX\BIN\latex.exe=20
./images.tex"<BR> &n=
bsp; &nb=
sp; =20
=3D=3D=3D=3D> (the ./ slash does not seem to bother =
Windows :)=20
)</DIV>
<DIV> </DIV>
<DIV><BR> at C:\TEXUTILS\L2H\BIN/latex2html.bat line 3733<BR>This =
is TeX,=20
Version 3.14159 (MiKTeX 2)<BR>(./images.tex<BR></DIV>
<DIV>=3D=3D=3D=3D=3D=3D> ( latex2html does not change '/' to '\' for =
Windows=20
automatically?? )</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>LaTeX2e <2000/06/01><BR>Babel <v3.6Z> and hyphenation =
patterns=20
for english, french, german, ngerman, du<BR>mylang, nohyphenation, =
loaded.</DIV>
<DIV> </DIV>
<DIV>(C:\texutils\tex\latex\base\report.cls<BR>Document Class: report =
2000/05/19=20
v1.4b Standard LaTeX document =
class<BR>(C:\texutils\tex\latex\base\size10.clo))=20
(C:\texutils\tex\latex\base\ifthen.sty<BR>)=20
(C:\texutils\tex\latex\graphics\color.sty<BR>(C:\texutils\tex\latex\mikte=
x\color.cfg)<BR>(C:\texutils\tex\latex\graphics\dvips.def)<BR>(C:\texutil=
s\tex\latex\graphics\dvipsnam.def))<BR>(C:\texutils\tex\latex\base\inpute=
nc.sty)<BR>No=20
file images.aux.</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength hsize=3D349.0pt</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength vsize=3D633.0pt</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength hoffset=3D0.0pt</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength voffset=3D0.0pt</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength topmargin=3D0.0pt</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength topskip=3D0.00003pt</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength headheight=3D0.0pt</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength headsep=3D0.0pt</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength parskip=3D0.0pt plus 1.0pt</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength oddsidemargin=3D62.0pt</DIV>
<DIV> </DIV>
<DIV>latex2htmlLength evensidemargin=3D62.0pt</DIV>
<DIV> </DIV>
<DIV>l2hSize =
:tex2html_wrap_inline4:7.44444pt::7.44444pt::25.34023pt.<BR>[1]=20
(images.aux) )<BR>Output written on images.dvi (1 page, 404=20
bytes).<BR>Transcript written on images.log.</DIV>
<DIV> </DIV>
<DIV>=3D=3D=3D=3D=3D> (so far so good I think)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> *** processing 1 images ***</DIV>
<DIV> </DIV>
<DIV>Generating postscript images using dvips=20
...<BR>C:\TEXUTILS\MIKTEX\BIN\dvips.exe -S1 -i -E=20
-oC:\xing\l2h371783\image .\images.dvi<BR>Debug (syswait): Running=20
"C:\TEXUTILS\MIKTEX\BIN\dvips.exe -S1 -i -E =
-oC:\xing\l2h371783\image=20
.\images.dvi<BR>"<BR> at C:\TEXUTILS\L2H\BIN/latex2html.bat line=20
3849<BR>This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (<A=20
href=3D"http://www.radicaleye.com">www.radicaleye.com</A>)<BR>' TeX =
output=20
2001.12.11:0032' -> C:\xing\l2h371783\image<BR>(->=20
C:\xing\l2h371783\image001)=20
<texc.pro><special.pro><color.pro>[1] </DIV>
<DIV> </DIV>
<DIV>=3D=3D=3D=3D> (image001.ps is created and put in the indicated =
dir, I verified=20
this)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Converting image #1<BR>Debug (syswait): Running =
"C:\Perl\bin\perl.exe=20
C:\TEXUTILS\L2H\bin\pstoimg.bat -type gif -debug -tmp C:\xing\l2h371783 =
-discard=20
-interlace -antialias -depth 1 -scale 1.6 -geometry 25x15 -margins =
134,72 -crop=20
abls -transparent -out img1.gif =
C:\xing\l2h371783\image001.ps"<BR> at=20
C:\TEXUTILS\L2H\BIN/latex2html.bat line 4181<BR>pstoimg.bat V99.2beta6 =
(Revision=20
1.11, Perl 5.006001)<BR>pstoimg.bat: Temporary directory is=20
C:\xing\l2h371783<BR>pstoimg.bat: Processing=20
C:\xing\l2h371783\image001.ps<BR>pstoimg.bat: EPSF dimensions are=20
30x22<BR>pstoimg.bat: Running C:\GS\GS7.03\BIN\gswin32c.exe =20
-sDEVICE=3Dppmraw -g48x36 -r115 -dTextAlphaBits=3D4 =20
-sOutputFile=3DC:\xing\l2h371783\p374895.pnm <BR>GS>-133 -699=20
translate<BR>GS>(C:/xing/l2h371783/image001.ps)=20
run<BR>GS>showpage<BR>GS>quit</DIV>
<DIV> </DIV>
<DIV><BR>=3D=3D=3D=3D=3D> (Does above indicate an actual =
running of Ghostscript=20
or just the order in =
which<BR> =20
the things should be carried out? If it is a running of =
Ghostscript,=20
<BR> why there is no =
heder=20
<BR> info like "AFPL =
Ghostscript=20
7.03 (2001-10-20)....."?)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>AFPL Ghostscript 7.03 (2001-10-20)<BR>Copyright (C) 2001 artofcode =
LLC,=20
Benicia, CA. All rights reserved.<BR>This software comes with NO =
WARRANTY:=20
see the file PUBLIC for details.<BR>GS>GS>>>showpage, press=20
<return> to continue<<<BR>GS>>>showpage, press=20
<return> to continue<<<BR>GS>Running=20
"C:\TEXUTILS\NETPBM\BIN\pnmcrop.exe < =
C:\xing\l2h371783\p374895.pnm=20
> C:\xing\l2h371783\p374895.t01"<BR>Bad command or file name</DIV>
<DIV> </DIV>
<DIV><BR>=3D=3D=3D=3D> (Is this another call to Ghostscript or =
just a=20
continuation from the prvious one?=20
<BR> What bad command or file=20
name? Why there are two "showpage, press <return> to=20
....."?<BR> Shouldn't the last =
command=20
in GS> be quit? I tried the=20
<BR> =20
"C:\TEXUTILS\NETPBM\BIN\pnmcrop.exe < =
C:\xing\l2h371783\p374895.pnm=20
>=20
C:\xing\l2h371783\p374895.t01"<BR> &nb=
sp; at=20
shell level, I think it worked fine. Here is the script:</DIV>
<DIV> </DIV>
<DIV> =
C:\xing\l2h371783>pnmcrop=20
< p374895.pnm > p374895.t01 =
<BR> =20
PNMCROP.EXE: cropping 2 rows off the=20
top<BR> PNMCROP.EXE: cropping =
2 rows=20
off the bottom<BR> =
PNMCROP.EXE:=20
cropping 2 cols off the =
left<BR> =20
C:\xing\l2h371783></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>pstoimg.bat: Error: "C:\TEXUTILS\NETPBM\BIN\pnmcrop.exe <=20
C:\xing\l2h371783\p374895.pnm > C:\xing\l2h371783\p374895.t01" =
produced empty=20
file</DIV>
<DIV> </DIV>
<DIV>Error while converting image</DIV>
<DIV> </DIV>
<DIV>Error: Cannot read 'img1.gif': No such file or directory</DIV>
<DIV> </DIV>
<DIV><BR>=3D=3D=3D=3D=3D> (If other errors are fixed, this one =
will go away?, I=20
guess.)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Doing section links ......<BR> *** Adding document-specific =
styles ***=20
</DIV>
<DIV> </DIV>
<DIV>*********** WARNINGS *********** </DIV>
<DIV> </DIV>
<DIV>Failed to convert image C:\xing\l2h371783\image001.ps</DIV>
<DIV> </DIV>
<DIV>To resolve the image conversion problems please consult<BR>the=20
"Troubleshooting" section of your local User Manual<BR>or follow the =
links to it=20
at<BR><A=20
href=3D"http://www-math.mpce.mq.edu.au/texdev/LaTeX2HTML/docs/manual/">ht=
tp://www-math.mpce.mq.edu.au/texdev/LaTeX2HTML/docs/manual/</A></DIV>
<DIV> </DIV>
<DIV><BR>Done.<BR>Timing: 3 seconds<BR>C:\xing>exit<BR>Script =
completed Tue=20
Dec 11 00:32:59 2001</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0009_01C18228.39A45BE0--