GeneralCross-referencing among documents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ks-zadeh
Posts: 29
Joined: Tue Feb 23, 2010 9:19 am

Cross-referencing among documents

Post by ks-zadeh »

How is reference made in a document A to items in another document B, e.g., to chapters, sections, definitions, etc., in document B? Of the famous xr package, I found only a pdf-file describing what the package does, but not the package itself. Can anybody help?

Thank you, Thorsten, for resolving my problem. The package xr.sty is indeed included in LaTeX tools and can directly be used.
Last edited by ks-zadeh on Tue Aug 31, 2010 6:22 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Cross-referencing among documents

Post by localghost »

ks-zadeh wrote:[…] Of the famous xr package, I found only a pdf-file describing what the package does, but not the package itself. […]
The package manager of your LaTeX distribution should list the package and also manage to install it. But you can check on the command line whether the package is already installed.

Code: Select all

kpsewhich xr.sty
If you don't obtain the full path, the package is not installed and you have to install it subsequently. But since the xr package is part of the tools bundle, it should be already installed. Otherwise look after the bundle in the package list. After that the manual should also be accessible via command line.

Code: Select all

texdoc xr

Thorsten
ks-zadeh
Posts: 29
Joined: Tue Feb 23, 2010 9:19 am

Re: Cross-referencing among documents

Post by ks-zadeh »

Many thanks. I'll give a try.
ks-zadeh
Posts: 29
Joined: Tue Feb 23, 2010 9:19 am

Re: Cross-referencing among documents

Post by ks-zadeh »

Thank you, Thorsten. It works. (Indeed, xr.sty was included in my tools.)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Cross-referencing among documents

Post by localghost »

Now that the problem is solved, please be so kind and act as you have already been directed in my last reply.
Post Reply