TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Sometimes I want to refer (using \ref) a \label from some other tex file. What is the right way to do it?

(It's, of course, possible to \include all files in one and then use \includeonly — but it breaks e.g. page and section numbering.)

share|improve this question

marked as duplicate by lockstep, Papiro, Svend Tveskæg, Zarko, Kurt Nov 26 '15 at 19:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 24 down vote accepted

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=extref

Referring to labels in other documents

When producing a set of inter-related documents, you’ll often want to refer to labels in another document of the set; but LaTeX, of its own accord, doesn’t permit this.

So the package xr was written: if you say

\usepackage{xr}
\externaldocument{volume1}

will load all the references from volume1 into your present document.

(...)

share|improve this answer
    
The package looks for the aux file, so it does not work in all settings and, more importantly, without a full document. (Which is fair, but noteworthy for unwary readers.) – Raphael Nov 7 '13 at 16:38

Use package xr.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.