Hi,

In certain situations, image conversion doesn't work with L2H 98.1p1
(and earlier versions) and LaTeX2e on Linux, i.e. no images are
generated.

The problem arises in certain combinations of \latexhtml, \newcommand,
the url and epsfig packages, and BibTeX. I have attached three files
that you can use to reproduce the error:

1. l2hproblem.tex
2. l2htest.bib
3. fig1-1.eps

Save the files somewhere, then do this:

latex l2hproblem.tex
bibtex l2hproblem
latex l2hproblem.tex
latex l2hproblem.tex
latex2html l2hproblem.tex

L2H will then report something like this (irrelevant parts snipped):

[snip]
Writing image file ...

This is TeX, Version 3.14159 (C version 6.1)
(images.tex
LaTeX2e <1996/12/01> patch level 1
Babel <v3.6h> and hyphenation patterns for american, german, loaded.



 *** LaTeX produced no output ***
 *** no new images can be created
 *** Examine the  images.log  file.
[snip]

The images.log file contains the following message repeated many
times:

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

There are also other error messages following this one. You should be
able to get the same messages if you try converting the attached
files.

Hope someone can help me sort this problem out.

Robert.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Robert P Biuk-Aghai, University of Macau, Faculty of Science and Technology
http://hyperg.sftw.umac.mo/robert/    tel: +853-3974365    fax: +853-838314
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Microsoft isn't the answer. Microsoft is the question and the answer is no.
\documentclass{article}

\usepackage{epsfig}
\usepackage{html}
\usepackage{url}

\latexhtml{\urldef{\RGNinetyFiveURL}\url{ftp://www.aaii.com.au/pub/aaii-technotes/technote56.ps.gz}}{\newcommand{\RGNinetyFiveURL}{\htmladdnormallink{\url{ftp://www.aaii.com.au/pub/aaii-technotes/technote56.ps.gz}}{ftp://www.aaii.com.au/pub/aaii-technotes/technote56.ps.gz}}}


\begin{document}

Figure \ref{fig1-1} shows the direct agent-to-agent
communication. Details of BDI agents are given in \cite{RG:95}.

\begin{figure}[tb]
\begin{center}
   \epsfig{file=fig1-1.eps}
   \caption{Direct communication between component agents}
   \label{fig1-1}
\end{center}
\end{figure}

\bibliographystyle{unsrt}
\bibliography{l2htest}

\end{document}
@TechReport{RG:95,
  author =       {Anand S. Rao and Michael P. Georgeff},
  title =        {{BDI} agents: From theory to practice},
  institution =  {Australian Artificial Intelligence Institute},
  year =         1995,
  number =       56,
  address =      {Melbourne, Australia},
  month =        apr,
  note =         {\RGNinetyFiveURL}
}

fig1-1.eps

Reply via email to