On Mon, 12 Apr 1999, Amir Karger wrote:

> The new reference feature and the new bibtex stuff are great. Now, is there
> any chance that we could put them together?
> 
> In my thesis, I include the bibtex file in my main thesis.lyx. But all of my
> citations are given in the included files. If I try Insert->Citation in
> thesis.lyx, I get the list of all the citations from the bibtex file
> (neat!). But if I try to insert a citation in one of the included files,
> the combobox has no entries. It would be really neat if the included file
> knew that its parent had a bibliography from bibtex.

These new features keep sneaking in.  So given a little longer I'm sure
it'll be made to work as you describe.  Alejandro has committed some new
changes overnight so maybe they cover this situation.

> Perhaps part of the problem is that the citation popup disappears when you
> switch documents. Why does it disappear but the reference popup doesn't?

Well they both used to disappear and people complained that they couldn't
use any dirty tricks to get references from other documents so I put
reference popup back again.  The reason the citation popup is hidden is
that it is buffer-specific like a lot of other popups.  For example,  if
you have a citation already in your document and you open the citation
popup then switch documents what should LyX do?  Insert in the new doc?
Blindly change the old doc?   I elected to hide such buffer-related popups
and there are a quite a few of them.

You'll also notice if you open the Document or Paper popups that they
update to the new buffers settings.  This scheme is fairly simple but not
all popups have been converted in 1.0.x whereas most have been in 1.1.x
where they have also been greatly modified.

> Hm. If I have two unrelated files (i.e. not parent and child) and I open 
> the references popup in one and then switch to the other file, I still have
> the references for the first file in the references popup. They stay until I

This is the dirty trick I mentioned above.

> hit Update. Should that update happen automatically when I go from one file
> to the next? (If I move between two *children* and type update, nothing
> happens, since they both have all of the references from their parent
> document.)

I started looking at automatically updating and determining parent docs
and such ages ago but never got finished.  I suspect Alejandro's recent
changes may be close to the functionality you describe.

Allan. (ARRae)

Reply via email to