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.)
Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).
Use package xr.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
2 years ago