[XeTeX] known problem with cross-references?

brindle at stud.ntnu.no brindle at stud.ntnu.no
Fri Sep 12 14:40:28 CEST 2008

I was facing this problem lately. The cross-reference of tables  
(\label and \ref) would print the number/counter of the section in  
which the table was placed instead of its own number/counter. Then I  
found this strange solution on the net, which worked!!


Fixing wrong labels

A label may sometimes pick up the section or list number instead of  
the figure number. In this case, put the label inside the caption to  
ensure correct numbering:

     \caption{Close-up of a gull \label{fig:gull} }

Can someone explain to me WHY?

More information about the XeTeX mailing list