I have application with which I am generating my PDF from various chapters and sections, by adding and removing chapter and sections. So I found problem with example numbers and image numbers. For example I am writing in chapter 2 that Something is shown on example image (2.1) and there is image 2.1. But if I remove chapter 1, my chapter 2, becomes chapter 1 and my image number is 1.1, not 2.1 . How can I set my example numbers correct?
Thanks.
Something is shown in image (image number)– Mantas Nov 25 '15 at 15:02\label{fig:image15}maybe I should rename it somehow every label in different name? – Mantas Nov 25 '15 at 15:15\label{<whatever>}within your environment - after\captionif inside afigureortable- and\ref{<whatever>}within your document body. – Werner Nov 25 '15 at 15:17\labels, especially since they may change. For example,\label{fig:trees}is more descriptive than\label{fig:image15}. You have to choose a unique\labelfor each object. That's the law. – Werner Nov 25 '15 at 15:18\label{fig:name}name? – Mantas Nov 25 '15 at 15:19