On Mon, Oct 21, 2002 at 07:02:13AM -0400, Nirmal Govind wrote:
> Hi.. how do I include a cross reference from file1 in file2? I tried
> opening both the files and then while in file2, in the insert -> cross
> reference dialog, selected file1 and the fig: reference in file1 that I
> wanted to insert. The reference was inserted in file2 but when I look at
> the DVI or PS output, all I get is "??". Is there a way to do this?
Are these two files part of a big file ?
If yes, then when you create a DVI for the large file, the references will be
correct.
If not, then you need to use the xr package:
In file2 add to the preamble
\usepackage{xr}
\externaldocument{file1}
and you also need to disable the "use temp. directory" in the preferences
dialog.