I have upgraded latex2html v98.2 beta as per a suggestion from Ross Moore
(thanks) and have been able to somewhat better diagnose the problems.

It has to do with a few things:
1. My use of the subfigure environment. If I use this environment my
images.tex ends up with something silly in it:
\begin{figure}[htbp]
  \begin{center}
    \subfigure[$\mu$Mechanical boost converter circuit. Variable
    capacitor symbol represents a capacitive $\mu$mechanical element
    (for example a one-port comb drive resonator \cite{tang}).
    Practical implementations of switches S1 and S2 are MOSFETs.]{
  \label{fig:boostckt}
  \leavevmode
\includegraphics[height=2in,width=0.45\columnwidth]{fig/simple_boost.hpgl.eps}
}
\subfigure[Typical Waveforms. T1 and T2 are 'pump' cycles, while T3 is
a 'boost' cycle. S1 and S2 are the control waveforms for the switches.
The bottom graph is the instantaneous MEM device voltage.]
\DeclareGraphicsRule{.tiff}{eps}{.tiff.bb}{`convert #1 'eps2:-'
}\DeclareGraphic
sRule{.tif}{eps}{.tif.bb}{`convert #1 'eps2:-' }\typeout{Declaring rules
for inc
luding tif and tiff files.}
\DeclareGraphicsRule{.gif}{eps}{.gif.bb}{`convert #1 'eps2:-'
}\typeout{Declarin
g rules for including gif files.}
\DeclareGraphicsRule{.jpeg}{eps}{.jpeg.bb}{`convert #1 'eps2:-'
}\DeclareGraphic
sRule{.jpg}{eps}{.jpg.bb}{`convert #1 'eps2:-' }\typeout{Declaring rules
for inc
luding jpg and jpeg files.}
--------------------
This breaks latex.

2. All of my figures are kept in subdirectories from where the main latex
file is. It appears that when the images.tex file is created it doesn't
know to look one directory down from where it currently resides. If I
manually do the reflevant symbolic links in the latex2html generated 
directory things basically appear to work.

3. The eepic style figures look like there are some formatting comments
that break. I can provide more details upon request.

4. Any largish jpeg (actually, all of my jpgs do this) images seem to
break during the gs ppmraw generation step - a hand run of gs on the
postscript files in question gives the following: 
 /ioerror in --%image_file_continue--
(gs -v is Aladdin Ghostscript 5.10 (1997-11-23))
However, I can view the images using gs without problems. It looks like 
something in the ppm generation step breaks in gs.

On the surface, the stupidity of what latex2html does in step 4 is quite
impressive- although portable - I guess. It takes my jpegs, makes them
into postscript, then ppm, then gif. If it could parse the Declaregraphics
definition (or, better yet, assume ImageMagick is installed it could
convert images to gifs or jpgs directly). Eg: execute the following
commands:  convert some_image.eps some_image.jpg
convert some_image.tiff some_image.gif
etc. 

mark

Reply via email to