I have an issue similar to this one. In oppose to that thread, I use xelatex. Don't know, though, if this is the issue or not. I have two files. In the first one (Characteristics.tex) I have:

% Language specific stuff
\usepackage[cm-default]{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{Times New Roman}
\newfontfamily\cyrillicfont{Times New Roman}
\usepackage{polyglossia}
\setdefaultlanguage{russian}
\setotherlanguage{english}

% Cross-referencing stuff
\usepackage{hyperref}
\usepackage{nameref}
\usepackage{zref-xr,zref-user}
\zexternaldocument*{Names}


Similarly in the second one (Names.tex):

% Language specific stuff
\usepackage[cm-default]{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{Times New Roman}
\newfontfamily\cyrillicfont{Times New Roman}
\usepackage{polyglossia}
\setdefaultlanguage{russian}
\setotherlanguage{english}

% Cross-referencing stuff
\usepackage{hyperref}
\usepackage{nameref}
\usepackage{zref-xr,zref-user}
\zexternaldocument*{Characteristics}


Actually, it is only second file that contains references to the first file so far. So when I compile it with xelatex I get

Package zref-xr Warning: File Characteristics.aux' not found or empty


that results into

LaTeX Warning: There were undefined references.


I have checked, the .aux file exists and is not empty. In case this is important, I use \label{} to indicate the label (only in Characteristics.tex so far) and \ref{},\zref{} or \nameref{} to call the reference. These work perfect in the same file, but do not work for cross-referencing between two files. Does anyone know how to resolve the issue?

-

closed as off-topic by barbara beeton, mafp, Marco Daniel, Werner, Claudio FiandrinoJun 27 '13 at 17:12

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Does the file exist in a directory in the tex input path? such as the current directory? –  David Carlisle Jun 27 '13 at 13:21
Yes, all files are in the same directory. –  Eugene B Jun 27 '13 at 13:44
Well if \input` doesn't find the aux then it is not in the current directory. Check the spelling. –  Ulrike Fischer Jun 27 '13 at 15:46
Banged head in the wall. It was all about spelling! Thank you very much! –  Eugene B Jun 27 '13 at 16:04
This question appears to be out of scope because it was about a user error, found by the user (with the help of a comment). –  barbara beeton Jun 27 '13 at 16:24