[SOLVED] Why many figures are missing in cross-reference dialog?

Hi everybody,

I’m writing a document with Write with more than 1000 pictures. When typing the text I need sometime to refer to one figure, so I open the Cross-Reference dialog box where about one third of the images are not listed.
cross ref-2023-04-09_231742

As you can see in the uploaded images I cannot cross references figures 1,2 and 3; even 9 and 12 to 15 cannot be cross-referenced.
About half of the images were inserted by “insert image” mode and the other half by copying and pasting from imaging editing software, but that seems not the reason why some are listed in the cross-reference box and many others not.
Can’t find any solution. Please help me !

That is a lot of images. Close the Fields dialogue, click Tools > Update > Update All and wait until it has finished updating.

1 Like

You don’t cross-reference images but captions. A caption is defined as a paragraph containing a field of type number range. In your case this number range is “Figura”.

Follow @EarnestAl’s advice first. In case of failure, give us more information about your document structure. The list of “Figura” captions is presented in document order, but if your captions are inside frames their numbering is done in insertion order, not document order. This means the “missing” numbers may in fact be present later in the document. So check also if the numbers are really missing and where they are located relative to the others.

1 Like

Update All did not solve, but something changed: ajlittoz is right when write that all the images all listed, but not in order.
So now I can address all the pictures but with wrong number. For example: in the text you’ll read “Fig. 713” but when clicking on it you’ll reach Caption 975 (that is the right picture, only the number in the text is wrong).
Can you help me in solving even the last part of the matter ?

(hope my english is quite ok). For now thanks to you both

In the lower left of the dialog, make sure to select “Numero” to reference the figure number. Currently, you are referencing the page number of the figure (“Numero di pagina”).

Give more information about your document structure: how did you caption your figures? Manually? With Insert>Caption? Apart from the latter case, have you frames within frames?

Found it !
I repeated the UPDATE, but just Indexes and Tables: The path is Tools > Update > Indexes and Tables.
Now the text refers to the right number in the caption.

Thanks you all

That’s curious. I use Update All because when editing the document for layout I usually want to update the Table of Contents but also sometimes the cross-references get a bit out of step if I cut and paste their targets elsewhere so the command updates them too. The only drawback (or advantage) that I have found is that it takes you to the Table of Contents. Maybe it is only with very long documents or many images that the issue occurred.