On Thu, 22 Oct 1998, Allan Rae wrote: > On Wed, 21 Oct 1998, Bernhard Kohn wrote: > > > 2. Multiple LyX-files > > > > > > I'd like some method to include a reference to LyX-file into another > > > LyX-file. This would allow me to split large documents into smaller > > > ones. (If there already is a way, I'd sure like to know). > > > > Here exist a "workaraound": You have lets say 2 chapters in seperate > > files. To insert in chapter 1 a reference to a label of chapter 2 you need > > to open both chapters in lyx. then you go to chapter 2 and open the > > cross-reference dialogbox, so you see the label you need, then change the > > document to chapter 1 (without closing the reference box) and place the > > cursor where you want to have the reference and press the insert reference > > button. > > > > hope it helps > > Have you tried this with the latest prereleases? > I don't have any files with includes in but in the tests I've done the > references dialog is cleared or replaced with labels from the new document > when I switch buffers. And this is the correct behaviour when compared to > all other buffer dependent popups. I have only tested this on the 12.1pre8 release. > > So, I think your workaround has been squashed by my > updateAllVisibleBufferDependentPopups() routine. > > Disabling the update of the insert-reference popup would be a bad idea I > think. Unless we actually added an update button to the popup itself. > But this would be annoying for people who don't use multipart documents. > So I think we need a different solution. > > How about a "Insert Reference Other Document" option? or what about a little list (in the reference dialog) were every open document is listed. Then you can choose the document from which you want the label, couldn't be so difficult (but I know its easy to say, if you don't make it by yourself). > Although I prefer Alejandro's idea in his "Possible Solution..." email > > Allan. (ARRae) > > >
