I am dealing with a problem connected with referencing figures in different *.tex file.
I have a few *.tex files which are pointed (included) in the
main.tex
file.One of these files (
AppendixA.tex
) has few figures which I want to make reference to in another file (i.e. A.tex
).I have tried using
xr
package and in A.tex
file I added this command: \externaldocument[05-]{AppendixA}
but I am receiving ?? in a place where the number of reference should be.Does anyone have any idea how to solve this issue

Marta