How should I cite a reference from another document? Now I am using the xcite package, then \externalcitedocument{docname}, and with the help of \cite{}, I cite the reference that I need. But the problem is that my document compiles with error. It's an error, not a warning. The auxiliary files also exist but still I get this error.

closed as unclear what you're asking by lockstep, darthbith, user13907, Przemysław Scherwentke, Zarko Dec 31 '15 at 17:17

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – henrique Dec 24 '15 at 10:19
  • Is it a real error or a warning 'only'? – user31729 Dec 24 '15 at 10:26
  • 2
    the other document must have an auxiliary file otherdoc.aux. I f it doesn't exist then run first LaTeX on this other document to create it. – user2478 Dec 24 '15 at 10:33
  • 1
    Instead of “answering” your own (?!) question, you should comment on other user's comments or edit the original question to include the additional information. – Stephen Dec 25 '15 at 14:27
  • 1
    Your question is rather unclear. You've tagged it cross-referencing but the question itself mentions using xcite which has nothing to do with cross-referencing, and the text asks how to cite a reference from another document. reference is ambiguous, but cite suggests bibliographical citations rather than cross-references, although it isn't entirely clear. Note that xcite uses citation keys i.e. bibliographical references. If you really want to cross-reference a place in the other document marked by \label{} then you should use xr instead. – cfr Dec 25 '15 at 23:31

Browse other questions tagged or ask your own question.