Re: citation in multiple files document
On Tue, Feb 19, 2002 at 03:33:46PM -0800, Bolin Hsu wrote: > 1) place cursor in a bibliography item > 2) select "comment" from paragraph style pull-down menu, the bibliography >item changes color and becomes a comment. mini-windows shows (M-p S-C) > > Citation pop-up window doesn't show the label or key of this bibliography > item. it works to me are you using bibtex? infact this works only if the bibliography item is a bibtex reference -- Cheers, Davide Cavallari One nuclear bomb can ruin your whole day.
Re: citation in multiple files document
> > On Sun, 18 Feb 2001 12:52:57 -0800 (PST) wrote Bolin Hsu ><[EMAIL PROTECTED]>: > > > Hi, > > > > I have a question about citation. I am writing a dissertation with > > several chapters. Every chapter is stored in it's own file and included > > in a main file. > > ... > > When I try to cite an item in the bibliography from a chapter file, > > no key shows up in the pop-up window. > > ... > > So, is there a > > way I can cite a bibliography item in chapter files? > > Duplicate the bibliography in the chapter files and set to Comment-Style > (Alt-a Shift-C in my LyX). Then LyX will know the keys and LaTeX will > ignore it. > > GM > > -- > [EMAIL PROTECTED] > After reading this reply, I tried these: 1) place cursor in a bibliography item 2) press Alt-a then Shift-C I inserted a capital C. 1) place cursor in a bibliography item 2) select "comment" from paragraph style pull-down menu, the bibliography item changes color and becomes a comment. mini-windows shows (M-p S-C) Citation pop-up window doesn't show the label or key of this bibliography item. I also tried to open citation pop-up window in main.lyx, then switch to chapter1.lyx using the Documents pull-down menu and re-open citation pop-up window. Nothing shows up in the pop-up window. Please point out what I am doing wrong. I am using lyx-1.1.6fix4. Thanks. Bolin --- <[EMAIL PROTECTED]>
WISH (was: Re: citation in multiple files document)
Steve M. Robbins wrote: > Someone has posted one solution. There is another work-around that > I think I found on the lyx "tips and tricks" pages. > > 1. Open the main.lyx file. > 2. Open the citation pop-up (i.e. pretend you are going to insert >a citation, but don't click "close" or "OK") > 3. Open the chapter1.lyx. > > Now you can insert citations using the bibliography from main. > > It would be nice if whatever step #2 is doing got done automatically > upon loading main.lyx... While we're on this subject, I thought I'd drop a suggestion for future versions of LyX. It's also related to multipart documents. Currently, when adding a cross reference to a section that is in another file you have to use ERT "\vref{sec:whatever}". Along with checking for bibliographies as mentioned above, it would be nice to check for labels as well. I know it's not simple, as that would imply reading (if not opening) all the lyx files in the document. But I thought adding it to the end of the wish list would do no harm. Roberto
Re: citation in multiple files document
On Tue, Feb 19, 2002 at 02:26:02PM -0300, Roberto Hernandez wrote: > Steve M. Robbins wrote: > >Someone has posted one solution. There is another work-around that > >I think I found on the lyx "tips and tricks" pages. > > > >1. Open the main.lyx file. > >2. Open the citation pop-up (i.e. pretend you are going to insert > > a citation, but don't click "close" or "OK") > >3. Open the chapter1.lyx. > > I read that too, but when open chapter1.lyx the citation pop-up is > automatically closed (1.1.6fix4). True. You just have to open another citation popup once you're editing "chapter1.lyx". > >Now you can insert citations using the bibliography from main. > > > >It would be nice if whatever step #2 is doing got done automatically > >upon loading main.lyx... > > Yes it would! -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants
Re: citation in multiple files document
Steve M. Robbins wrote: > Someone has posted one solution. There is another work-around that > I think I found on the lyx "tips and tricks" pages. > > 1. Open the main.lyx file. > 2. Open the citation pop-up (i.e. pretend you are going to insert >a citation, but don't click "close" or "OK") > 3. Open the chapter1.lyx. I read that too, but when open chapter1.lyx the citation pop-up is automatically closed (1.1.6fix4). > Now you can insert citations using the bibliography from main. > > It would be nice if whatever step #2 is doing got done automatically > upon loading main.lyx... Yes it would!
Re: citation in multiple files document
On Sun, Feb 18, 2001 at 12:52:57PM -0800, Bolin Hsu wrote: > I have a question about citation. I am writing a dissertation with > several chapters. Every chapter is stored in it's own file and included > in a main file. Bibliography is in the main file. So I have > main.lyx > chapter1.lyx > chapter2.lyx > ... > > I can load main.lyx in lyx and do View->Update->Postscript and lyx > loads all chapter files. It knows main file needs chapter files. > When I try to cite an item in the bibliography from a chapter file, > no key shows up in the pop-up window. Someone has posted one solution. There is another work-around that I think I found on the lyx "tips and tricks" pages. 1. Open the main.lyx file. 2. Open the citation pop-up (i.e. pretend you are going to insert a citation, but don't click "close" or "OK") 3. Open the chapter1.lyx. Now you can insert citations using the bibliography from main. It would be nice if whatever step #2 is doing got done automatically upon loading main.lyx... -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants
Re: citation in multiple files document
On Sun, 18 Feb 2001 12:52:57 -0800 (PST) wrote Bolin Hsu <[EMAIL PROTECTED]>: > Hi, > > I have a question about citation. I am writing a dissertation with > several chapters. Every chapter is stored in it's own file and included > in a main file. > ... > When I try to cite an item in the bibliography from a chapter file, > no key shows up in the pop-up window. > ... > So, is there a > way I can cite a bibliography item in chapter files? Duplicate the bibliography in the chapter files and set to Comment-Style (Alt-a Shift-C in my LyX). Then LyX will know the keys and LaTeX will ignore it. GM -- [EMAIL PROTECTED]
citation in multiple files document
Hi, I have a question about citation. I am writing a dissertation with several chapters. Every chapter is stored in it's own file and included in a main file. Bibliography is in the main file. So I have main.lyx chapter1.lyx chapter2.lyx ... I can load main.lyx in lyx and do View->Update->Postscript and lyx loads all chapter files. It knows main file needs chapter files. When I try to cite an item in the bibliography from a chapter file, no key shows up in the pop-up window. The program doesn't show me keys defined in main.lyx. Make sense because there's no links in chapter files to main file. I tried to duplicate bibliography in chapter files and get multiple bibliography in the result document. So, is there a way I can cite a bibliography item in chapter files? Thanks Bolin