On Wed, Feb 21, 2001 at 05:32:49PM +1030, Robert Koehler wrote:
> Hi all,
> 
> In my thesis, I have a main lyx file which "includes" other lyx files.
> So basically I have broken my chapters up that way. I was wondering how
> exactly to crossreference in a chapter a reference label in one of the
> included lyx files. At the moment lyx can't find any references other
> than the ones in the current lyx file. I know this can be done, I have
> seen a friends thesis, although he isn't around to ask anymore. :(
> 
> Can anyone point me in the right direction?

Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
and you want to insert a label from chap2.lyx to chap1.lyx.
There are three methods:

1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
Now, whenever you open the insert reference dialog in chap1.lyx, you will
get a list of all labels in all the files.

2. Open chap2.lyx, open the insert reference dialog, and without closing the
dialog, return to chap1.lyx, and then insert the reference.
This doesn't work in LyX 1.1.6.

3. In LyX 1.1.6, type M-x reference-insert ref|++||++|<label>
where <label> is the required label.

Reply via email to