Hi,
I wrote a long table with a label in a tex file and \input it into my main tex file. The reference in the main tex file to the table, however, does not show the numbering of the table but the one of the next table that are written directly in the main tex file. All long tables that are written directly in the main tex file have correct references. How to fix my problem? Must the label be defined in the same tex file as its reference?
Thanks and regards!
The label is \label{tab:yy}, and the reference is \ref{tab:yy}, and every table has a distinct label.