Re: cross-document references?

2003-01-03 Thread Dr. Richard E. Hawkins
On Fri, Jan 03, 2003 at 05:02:48PM +0100, Juergen Spitzmueller wrote:
> Dr. Richard E. Hawkins wrote:
> > I've put

> > \usepackage{xr}

> > into each preamble, saved, and still no dice.  I seem to have xr where
> > it belongs:

> You need
> \externaldocument{refered_doc}


> Furthermore, I think, xr needs the aux file of the document on which you 
> refer. Therefore you might have to export the second doc to LaTeX and run 
> latex on it. I have never tried xr, so you have to play around a little bit.

All of these, and more :)

With both magics added (and leave off the .tex or .lyx suffix!), I can
latex them both and latex produces a correct file.  However, they still
don't get picked up from within lyx.  But at least I can print :)

hawk



Re: cross-document references?

2003-01-03 Thread Juergen Spitzmueller
Dr. Richard E. Hawkins wrote:
> I've put
>
> \usepackage{xr}
>
> into each preamble, saved, and still no dice.  I seem to have xr where
> it belongs:

You need
\externaldocument{refered_doc}
in the preamble (see xr.dvi)

Furthermore, I think, xr needs the aux file of the document on which you 
refer. Therefore you might have to export the second doc to LaTeX and run 
latex on it. I have never tried xr, so you have to play around a little bit.

Good luck,
Jürgen.



Re: cross-document references?

2003-01-03 Thread Dr. Richard E. Hawkins
On Fri, Jan 03, 2003 at 08:35:34AM +0100, Juergen Spitzmueller wrote:
> Dr. Richard E. Hawkins wrote:
> > I have companion documents, one of which needs to refer to appendices of
> > the other.

> You have to use the xr package (standard tools).

I've put 

\usepackage{xr}

into each preamble, saved, and still no dice.  I seem to have xr where
it belongs:

slytherin ttyp2:y3>ls /usr/local/share/texmf/tex/latex/tools/xr.sty 
/usr/local/share/texmf/tex/latex/tools/xr.sty

I've also exported to latex and tried that way, but get 

LaTeX Warning: Reference `sec:Sample-Trials' on page 3 undefined
on input line 226.

and so forth (but no warning about the package.)

thanks

hawk



-- 
Richard E. Hawkins, Asst. Prof. of Economics/"\   ASCII ribbon campaign
[EMAIL PROTECTED]  Smeal 178  (814) 375-4700  \ /   against HTML mail
These opinions will not be those of  Xand postings. 
Penn State until it pays my retainer.   / \   



Re: cross-document references?

2003-01-02 Thread Juergen Spitzmueller
Dr. Richard E. Hawkins wrote:
> I have companion documents, one of which needs to refer to appendices of
> the other.

You have to use the xr package (standard tools).

Jürgen



cross-document references?

2003-01-02 Thread Dr. Richard E. Hawkins
I have companion documents, one of which needs to refer to appendices of
the other.

The Insert Reference dialog quite kindly allows me to insert the
reference to a label in the other document, but puts a ?? in the output
rather than the reference.

I'm assuming that I'm missing something obvious again . . .

hawk
-- 
Richard E. Hawkins, Asst. Prof. of Economics/"\   ASCII ribbon campaign
[EMAIL PROTECTED]  Smeal 178  (814) 375-4700  \ /   against HTML mail
These opinions will not be those of  Xand postings. 
Penn State until it pays my retainer.   / \