Graphics, Figures & TablesFigures' numbers are not continuous

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ngvanduysn
Posts: 2
Joined: Fri Feb 24, 2012 5:09 am

Figures' numbers are not continuous

Post by ngvanduysn »

Dear all,
Figures in my *.dvi file are numberred as 1, 2, 3, 5, 7 ...:( Where did 4 and 6 go?
(ie., Figures shown in dvi file are Fig. 1 -> Fig. 3, then Fig. 5, Fig. 7 without Fig. 4 and Fig. 6)
Please teach me more.
Thanks alot.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Figures' numbers are not continuous

Post by Stefan Kottwitz »

Hi,

welcome to the board!
What is your code for producing the figures? Perhaps you use several captions in a figure environment or change the counter in another way - we probably can tell you that if we could see your code. Usually the best way to fix a problem together is starting with a Infominimal working example.

Stefan
LaTeX.org admin
ngvanduysn
Posts: 2
Joined: Fri Feb 24, 2012 5:09 am

Re: Figures' numbers are not continuous

Post by ngvanduysn »

Thank you very much Mr. Stefan,
Yes I have used many captions, I have tried to merge many small figures into one although it takes long time (combine many small plots from EPS files in a Latex file->convert dvi to pdf->snap shot to resize by AdobeReader->save with the type(convert to) EPS again, ...) :oops: .
Again, thanks so much for your reply.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Figures' numbers are not continuous

Post by Stefan Kottwitz »

So the problem with the numbering is solved?

I would not go this way via several conversions. I would convert the eps files to pdf once, and include only pdf files, with pdfLaTeX. There's the package epstopdf which can do this automatically.

Stefan
LaTeX.org admin
Post Reply