Working on editing bibliographies in LyX, I've arrived at this situation: it's convenient to attach to each bibliographic record a yellow note containing a (cross-reference) label e.g. a bib record beginning (say) @book{knuth, would have a yellow note containing the label book-knuth. For a large already existing bibliography, it's a substantial labour attaching such notes and labels to each entry and I've created a Python converter that does the job: it exports the LyX file containing the original bibliography to another LyX file, but this time with yellow notes containing labels. It means defining another LyX file format which I've called LyX (bib yl). Obviously LyX is the natural viewer for this file format. Now when I click on the View Other Formats button and select LyX (bib yl), in due course a second instance of LyX appears displaying the bibliography but this time with yellow notes and labels attached to the records. (The sorted labels provide a way of searching for duplicate records.)

But if I edit and change the original bibliography and click on the Update Other Formats button and select LyX (bib yl), although the status line tells me that a successful export has been made, the second LyX instance doesn't update. It's not a significant problem because I've assigned the L-FUN buffer-reload to a shortcut key combination, and simply pressing that key combination in the viewer-LyX updates the display, but it would be nice if, when LyX is used as a *viewer*, buffer-reload were automatically invoked. Overwriting the existing file displayed is not a concern in this case -- in fact it's exactly what one wants.

Andrew

Reply via email to