<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19393"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT size=2 face=Arial>Hello. I tried to automatically number
figures using commands like "Fig.~\ref{....}" and in text and \label{...}
commands within figure environments in my .tex file. I might have tried to
include figure captions within \caption and/or \parbox commands.
Anyhow, my figure numbers were incorrect in the figure captions.
Another variable is that I have been using both pdflatex and latex plus
latex2html commands in recent weeks; so there is a question whether I was
examining a Portable Document Format (.pdf) output file produced by a
pdflatex command or a .html file produced by executing a latex2html
command. Recently I gave up on getting the figure numbers within captions
correct by attempting to have the figures automatically numbered via
the use of ~\ref{....} commands.---That is I numbered the figures myself
everywhere within a .tex file. Would someone please guide me or refer
me to a guide of consistent \caption or \parbox commands together with
~\ref{...} in text and \label{...} commands within figure environments for
automatic figure numbering in text that will enable both the figure numbers
within figure captions and the figure numbers within text to be correct? A
desirable solution for the automatic numbering of figures within both the figure
captions and the text of a document would be one which would work in a .tex file
with either pdflatex or latex2html commands.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>
<DIV><FONT size=2 face=Arial>
<DIV><FONT size=2 face=Arial>Here are the versions and/or dates and/or years of
the relevant codes I found I have installed on my computer:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2
face=Arial><U>Code
Version
Date or year</U></FONT></DIV>
<DIV><FONT size=2
face=Arial>pdflatex
pdfTeX version 3.1415926-2.3-1.40.12 in TeX Live 2011 (I am not certain
about the ending "12" in my notes.)</FONT></DIV>
<DIV><FONT size=2
face=Arial>LaTeX2e September 24, 2009</FONT></DIV>
<DIV><FONT size=2
face=Arial>LaTeX2HTML 1.71
2008</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I have updated software in my installation of the
openSUSE-12.2, Linux operating system a number of times since I had the
above problem within recent weeks or months of time. But based on the
above dates, I suppose that the LaTeX2e and LaTeX2HTML versions I have been
using during the past few months may been the above ones.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Pat</FONT></FONT><FONT size=2 face=Arial>
</FONT></DIV></DIV></DIV></BODY></HTML>