Hi, As a first note - I am absolutely not a tex, latex or perl expert. As the subject might tell you, I have a problem with converting lyx files (especially with included graphics). Here are the details:
I have written some documentation in lyx and want to have it in a nice set of HTML pages. I exported the file from lyx into a tex file. Here is the output of the test file I created for this problem/bug report (the real file is "really" long) : -------------- start ------------------ %% LyX 1.1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{babel} \usepackage{graphics} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} \makeatother \begin{document} bild \includegraphics{EditKnopf.ps} ende \end{document} -------------- stop ------------------ To create the latex files I run: $ latex < test.tex $ mv texput.aux test.aux To create the HTML pages I run: $ latex2html test.tex This produces a lot of messages which are mostly Greek to me: -------------- start ------------------ This is LaTeX2HTML Version 2K.1beta (1.62) 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 Loading /usr/lib/latex2html/versions/html3_2.pl *** processing declarations *** Loading /usr/lib/latex2html/versions/latin1.pl OPENING /home/ronny/tmp/test.tex Note: Working directory is /home/ronny/tmp/test Note: Images will be generated in /tmp/l2h5696 texexpand V2K.1beta (Revision 1.11) Loading /usr/lib/latex2html/styles/texdefs.perl... Loading /usr/lib/latex2html/styles/article.perl Warning: No implementation found for option: `english' for `article' package Warning: No implementation found for option: `T1' for `fontenc' package Loading /usr/lib/latex2html/styles/inputenc.perl Loading /usr/lib/latex2html/styles/babel.perl Loading /usr/lib/latex2html/versions/lang.pl Loading /usr/lib/latex2html/styles/graphics.perl Reading ... %%%,++ @@@@ Translating ... 0/1:top of test: for test.html *** translating preamble *** . *** redefining \LyX *** . Warning: No implementation found for option: `english' for `article' package . Warning: No implementation found for package: fontenc...... *** preamble done *** ;;. 1/1:sectionstar:.."About this document ..." for node1.html ;;. Writing image file ... This is TeX, Version 3.14159 (Web2C 7.3.1) (./images.tex LaTeX2e <2001/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b asque, italian, portuges, spanish, swedish, nohyphenation, loaded. *** LaTeX produced no output *** *** no new images can be created *** Examine the images.log file. *** LaTeXERROR Doing section links ...... *** Adding document-specific styles *** *********** WARNINGS *********** No implementation found for style `fontenc' Done. -------------- stop ------------------ Here is the contents of the created images.log file: -------------- start ------------------ This is TeX, Version 3.14159 (Web2C 7.3.1) (format=latex 2002.3.12) 31 JUL 2002 16:06 **./images.tex (./images.tex LaTeX2e <2001/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b asque, italian, portuges, spanish, swedish, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf/tex/latex/base/ifthen.sty Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) ) (/usr/share/texmf/tex/latex/base/fontenc.sty Package: fontenc 2001/06/05 v1.94 Standard LaTeX package (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2001/06/05 v1.94 Standard LaTeX file LaTeX Font Info: Redeclaring font encoding T1 on input line 38. )) (/usr/share/texmf/tex/latex/base/inputenc.sty Package: inputenc 2001/07/10 v0.99a Input encoding file (/usr/share/texmf/tex/latex/base/latin1.def File: latin1.def 2001/07/10 v0.99a Input encoding file )) (/usr/share/texmf/tex/generic/babel/babel.sty Package: babel 2001/03/01 v3.7h The Babel package (/usr/share/texmf/tex/generic/babel/english.ldf Language: english 2001/04/15 v3.3l English support from the babel system (/usr/share/texmf/tex/generic/babel/babel.def File: babel.def 2001/03/01 v3.7h Babel common definitions \babel@savecnt=\count87 \U@D=\dimen103 ) \l@canadian = a dialect from \language\l@english )) (/usr/share/texmf/tex/latex/graphics/graphics.sty Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR) (/usr/share/texmf/tex/latex/graphics/trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (/usr/share/texmf/tex/latex/config/graphics.cfg) Package graphics Info: Driver file: dvips.def on input line 80. (/usr/share/texmf/tex/latex/graphics/dvips.def File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) )) (/usr/share/texmf/tex/latex/graphics/color.sty Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC) (/usr/share/texmf/tex/latex/config/color.cfg) Package color Info: Driver file: dvips.def on input line 125. (/usr/share/texmf/tex/latex/graphics/dvipsnam.def File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) )) \sizebox=\box26 \lthtmlwrite=\write3 (images.aux) \openout1 = `images.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 119. LaTeX Font Info: ... okay on input line 119. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 119. LaTeX Font Info: ... okay on input line 119. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 119. LaTeX Font Info: ... okay on input line 119. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 119. LaTeX Font Info: ... okay on input line 119. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 119. LaTeX Font Info: ... okay on input line 119. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 119. LaTeX Font Info: ... okay on input line 119. latex2htmlLength hsize=349.0pt latex2htmlLength vsize=633.0pt latex2htmlLength hoffset=0.0pt latex2htmlLength voffset=0.0pt latex2htmlLength topmargin=0.0pt latex2htmlLength topskip=0.00003pt latex2htmlLength headheight=0.0pt latex2htmlLength headsep=0.0pt latex2htmlLength parskip=0.0pt plus 1.0pt latex2htmlLength oddsidemargin=62.0pt latex2htmlLength evensidemargin=62.0pt ! Argument of \Gin@iii has an extra }. <inserted text> \par l.145 \lthtmlcheckvsize\clearpage} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Runaway argument? ]{EditKnopf.ps}\lthtmlpictureZ \lthtmlcheckvsize \clearpage ! Paragraph ended before \Gin@iii was complete. <to be read again> \par l.145 \lthtmlcheckvsize\clearpage} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. (images.aux) ) (\end occurred inside a group at level 1) Here is how much of TeX's memory you used: 1202 strings out of 20866 13237 string characters out of 195710 58630 words of memory out of 350001 4196 multiletter control sequences out of 10000+15000 4403 words of font info for 15 fonts, out of 400000 for 1000 16 hyphenation exceptions out of 1000 25i,1n,19p,178b,72s stack positions out of 1500i,100n,500p,50000b,4000s No pages of output. -------------- stop ------------------ As I am not a tex/latex/perl expert the error/warning messages just confuse me. What went wrong? Where did it fail? What can I do? The relevant part of the created "test.html" is here: -------------- start ------------------ <BR> <!--End of Navigation Panel--> bild 1#1 ende <BR><HR> <!--Table of Child-Links--> -------------- stop ------------------ Please tell me what I have to do to get latex2html to successfully produce HTML pages with inline images included. Long time ago I used the lyx + latex2html combination to write my thesis and it worked very well. Now its the first time I had to use inline graphics in a document and excactly at the first occurence latex2html stops producing references to the pictures in the HTML output... Please tell me what went wrong and how can I fix it. Thank you very much for your help! Greetings Ronny Standtke _______________________________________________ latex2html mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/latex2html
