General ⇒ Cross-referencing equations from another document
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Cross-referencing equations from another document
Is it possible to reference equations from another document? For example, if I am responding to referees in one document, can I refer to equations from my manuscript, which is a different document?
Thanks very much.
Thanks very much.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Cross-referencing equations from another document
Try the xr package.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Cross-referencing equations from another document
That package looks great. Will try it out. Thanks very much.
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Cross-referencing equations from another document
I tried that. The problem is that the package also adds the section name of the other document. For example, if section name is "Abc def" and I say
(where Name refers to say, 3, then that is replaced by
Proposition 3Abc defproposition.3.
Can someone please suggest a way out?
Thanks.
Code: Select all
Proposition \ref{Name}
(where Name refers to say, 3, then that is replaced by
Proposition 3Abc defproposition.3.
Can someone please suggest a way out?
Thanks.
Re: Cross-referencing equations from another document
The hyperref package has been loaded In the document which is cited, but not in that where citation happens. Hence the \newlabel macro has a different definition in each document. Load hyperref in both documents or unload it in both.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Cross-referencing equations from another document
Juanjo, you are simply unbelievable. Thanks a ton. How did you figure that out??
Cross-referencing equations from another document
I've been playing with \newlabel and hyperref in a recent thread.curiouslearn wrote: How did you figure that out??

The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.