[l2h] Wrong figure numbers in figure captions when I attempted to have my figures automatically numbered using ~\ref..... commands in my .tex file
Pat Somerville
l_pat_s at hotmail.com
Tue Jan 15 07:56:25 CET 2013
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.
Here are the versions and/or dates and/or years of the relevant codes I found I have installed on my computer:
Code Version Date or year
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.)
LaTeX2e September 24, 2009
LaTeX2HTML 1.71 2008
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.
Pat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/latex2html/attachments/20130115/0608001b/attachment.html>
More information about the latex2html
mailing list