Dekel Tsur wrote: > > On Sun, Sep 23, 2001 at 10:53:13AM +0200, Michael Schmitt wrote: > > This is good opportunity to plead (once again) for handling multipart > > documents identically in the citation and cross reference dialog. IMHO the > > citation ref dialog should have a buffer field such as the cross reference > > dialog - not an implicit mechanism that is not intelligible at first > > glance. > > I don't think that this is necessary: > > 1. You can currently use the "insert bibtex into each document" trick. > > 2. For the next version of LyX, we should implement better handling of > multi-part document: each document should know who is its parent. > For example, suppose that you have master.lyx which includes child-1.lyx, > child-2.lyx and child-3.lyx. > When you insert a citation in child-1.lyx, LyX will automatically load > master.lyx and scan it in order to find the bibtex citation. > (if the inset was not found in master.lyx, lyx will search the descendant of > master.lyx). > Since there is only one bibtex inset (assuming you don't use multiple > bibliographies), there is no need to specify a buffer. > > In contrast, when inserting a label in child-1.lyx, lyx will offer to list > the labels of either master.lyx, child-1.lyx (default), child-2.lyx, > child-3.lyx, or all labels. > Note that we don't want to always list all labels as this requires loading > all files into memory. What will you do with things like boiler-plate, which go in many documents. It seems that they might be referenced my multiple masters, but cannot reference any master. But they certainly could have labels. Garst Garst
