Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7
Hi Cas, Sorry for not answering sooner, I'm away from computer for a week. Zotero is great for collecting and managing my bibliography, but it is really not made for bibtex export. I heard that others have the problem you and I have. I think Zotero is amazing, though!! What I do is quite primitive, I must admit. I export zotero to bibtex, and then import to Jabref, and clean up. But many times, it works without any problem. You probably know that in Zotero, you can build a folder with all the bibliography you want, and export that specific folder. So sometimes it works. If LyX crashes, I import to Jabref and fix it until LyX works. Primitive - I know. Specifically, Zotero doesn't like the symbol ':' in a title. If you have : in a title, LyX's bibtex goes crazy and crashes. I don't know why. There is also a plugin for Zotero and LyX called Lytero, but I think it works only on Linux. http://forums.zotero.org/discussion/6333/lytero-for-windows/ Best, Erez On Mon, May 18, 2009 at 4:23 PM, wrote: > Hi Erez > > You said "I use also zotero to collect the citations, and export it as > bibtex file." > > The exported bibtex file does not appear to be fully compatible. A LyX (or > MikTex?) dialogue with a host of errors is blocking me from either viewing > or pdf-ing the document: 'missing $ inserted, extra } or forgotten $' > > What did I miss? > > /Cas > > -Original Message- > From: Erez Yerushalmi > To: castelol...@aim.com > Cc: lyx-users@lists.lyx.org > Sent: Sun, 17 May 2009 2:57 pm > Subject: Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7 > > Maybe this will help. > > A bib file is just a certain type of format, which can be saved in notepad. > Jabref opens it up an shows it to you in an easiser way. So, > > 1. In Jabref, you create bib file called mylib.bib. You can save it > anywhere. So lets say you created a folder where your current lyx project is > located. Save this bib file there. > > 2.Go to the place in your lyx document where you want the references to be > presented (presumably, the end). Click Insert/ Lists & TOC/ BibT E X > Bibliography. Point the LyX document to that specific file, by browsing for > the mylib.bib file. > > 3. Click Lyx's Layout/Document setting, choose Bibliography. Here you > specify the style of citations you want. > 4. Now, suppose you are writing a document and you want to cite something. > Click LyX insert/ Citation button. A menu should open and you should > see the list of reference , > > I use also zotero to collect the citations, and export it as bibtex file. > > Erez > > On Sun, May 17, 2009 at 2:31 AM, wrote: > >> I just started using LyX 1.6 and JabRef 2.4 and I read here that you >> cannot push refs from Jab into Lyx in windows xp. >> >> Here's the strange thing (coming from a beginner's perspective), I can >> create a bibliography because there are .bib files already in the >> appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with its >> database. I can also manually put my JabRef .bib into that same subdirectory >> (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it appears in the >> dialogue box along with the others (examples that installed with Lyx). >> >> But, insert>citation does not show any references in my .bib, though the >> others do appear and can be inserted as citations and appear in the >> references at the end of the doc. >> >> There must be, at the very least, a way to put the .bib files in the >> right directory manually? >> >> thnx, >> Casper de Tello >> >> > > > -- > Erez Yerushalmi > PhD Student > Warwick University, UK > homepage: > http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi > > -- > We found the real 'Hotel California' and the 'Seinfeld' diner. What will > you find? Explore > *WhereItsAt.com*<http://www.whereitsat.com/?ncid=emlwenew0001> > . > -- Erez Yerushalmi PhD Student Warwick University, UK homepage: http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi
Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7
castelol...@aim.com wrote: The exported bibtex file does not appear to be fully compatible. A LyX (or MikTex?) dialogue with a host of errors is blocking me from either viewing or pdf-ing the document: 'missing $ inserted, extra } or forgotten $' Keep an eye out for underscores (_) in BibTeX entries -- I think it's possible for LaTeX to see them and think you're trying to enter a subscript, which makes it try to put you in math mode, which in turn causes assorted evils. (Other symbols, such as carets (^), might also do this, but in my experience the culprit is usually an underscore.) /Paul
Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7
Hi Erez You said "I use also zotero to collect the citations, and export it as bibtex file." The exported bibtex file does not appear to be fully compatible. A LyX (or MikTex?) dialogue with a host of errors is blocking me from either viewing or pdf-ing the document: 'missing $ inserted, extra } or forgotten $' What did I miss? /Cas -Original Message- From: Erez Yerushalmi To: castelol...@aim.com Cc: lyx-users@lists.lyx.org Sent: Sun, 17 May 2009 2:57 pm Subject: Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7 Maybe this will help. ? A bib file is just a certain type of format, which can be saved in notepad. Jabref opens it up an shows it to you in an easiser way.? So, ? 1. In Jabref, you create bib file called mylib.bib. You can save it anywhere. So lets say you created a folder where your current lyx project is located. Save this bib file there. ? 2.Go to the place in your lyx document where you want the references to be presented (presumably, the end). Click Insert/ Lists & TOC/ BibT E X Bibliography. Point the LyX document to that specific file, by browsing for the mylib.bib file. ? 3. Click Lyx's Layout/Document setting, choose Bibliography. Here you specify the style of citations you want. 4. Now, suppose you are writing a document and you want to cite something. Click LyX insert/ Citation button. A menu should open and you should see the list of reference , ? I use also zotero to collect the citations, and export it as bibtex file.? ? Erez On Sun, May 17, 2009 at 2:31 AM, wrote: I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot push refs from Jab into Lyx in windows xp. Here's the strange thing (coming from a beginner's perspective), I can create a bibliography because there are .bib files already in the appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with its database. I can also manually put my JabRef .bib into that same subdirectory (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it appears in the dialogue box along with the others (examples that installed with Lyx). But, insert>citation does not show any references in my .bib, though the others do appear and can be inserted as citations and appear in the references at the end of the doc. There must be, at the very least, ?a way to put the .bib files in the right directory manually? thnx, Casper de Tello -- Erez Yerushalmi PhD Student Warwick University, UK homepage: http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi
Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7
Thx to you and Erez, for your comments. Great to know there's support for newbies when needed : ) /Cas -Original Message- From: Uwe Stöhr To: castelol...@aim.com Cc: lyx-users@lists.lyx.org Sent: Sun, 17 May 2009 5:32 pm Subject: Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7 castelol...@aim.com schrieb: > I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot > push refs from Jab into Lyx in windows xp. Yes and there's also no need to. > Here's the strange thing (coming from a beginner's perspective), I can create > a bibliography > because there are .bib files already in the appropriate MiKTeX 2.7 > folder that appears to be supplying Lyx with its database. LyX just takes this folder as default folder to look for BibTeX files, but you can store your BibTeX file wherever you want. > I can also manually put my JabRef .bib into that same subdirectory > (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) I recommend not to do this, to keep your MiKTeX installation unchanged and to avoid possible problems. > But, insert>citation does not show any references in my .bib, though the > others do appear and can be inserted as citations and appear in the > references at the end of the doc. > > There must be, at the very least, a way to put the .bib files in the right > directory manually? I guess you haven't loaded your BibTeX file in your LyX document. How this is done is explained in LyX's User's Guide that you find in LyX's Help menu. If you still have problems, look for example at the file "achemso.lyx" that you find in LyX's examples folder to see how there the BibTeX file "biblioExample.bib" is loaded. regards Uwe
Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7
castelol...@aim.com schrieb: I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot push refs from Jab into Lyx in windows xp. Yes and there's also no need to. Here's the strange thing (coming from a beginner's perspective), I can create a bibliography > because there are .bib files already in the appropriate MiKTeX 2.7 > folder that appears to be supplying Lyx with its database. LyX just takes this folder as default folder to look for BibTeX files, but you can store your BibTeX file wherever you want. > I can also manually put my JabRef .bib into that same subdirectory > (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) I recommend not to do this, to keep your MiKTeX installation unchanged and to avoid possible problems. But, insert>citation does not show any references in my .bib, though the others do appear and can be inserted as citations and appear in the references at the end of the doc. There must be, at the very least, a way to put the .bib files in the right directory manually? I guess you haven't loaded your BibTeX file in your LyX document. How this is done is explained in LyX's User's Guide that you find in LyX's Help menu. If you still have problems, look for example at the file "achemso.lyx" that you find in LyX's examples folder to see how there the BibTeX file "biblioExample.bib" is loaded. regards Uwe
Re: Fwd: JabRef and LyX, manually putting .bib files into MiKTeX 2.7
castelol...@aim.com wrote: "To fix this, you have to run the MiKTeX Settings application, click the "Refresh FNDB" button (FNDB = file name database), then restart LyX." Cool beans. It works. Just to be clear(er), though, I really do advocate keeping your .bib files with your documents, research, etc. and not migrating them to MiKTeX directories. There's no advantage to copying them over to the MiKTeX directories, and one disadvantage: if you update your MiKTeX distribution (there will probably be a 2.8 one of these days, and presumably a 3.0 at some point), you're liable to lose those copies, and your docs will be broken until you recopy the .bib files. Cheers, Paul
Fwd: JabRef and LyX, manually putting .bib files into MiKTeX 2.7
"Technically, they installed with MiKTeX; LyX is not responsible for them." My bad. "To fix this, you have to run the MiKTeX Settings application, click the "Refresh FNDB" button (FNDB = file name database), then restart LyX." Cool beans. It works. I am greatly relieved to see that with minor tweaking JabRef and LyX do co-mingle perfectly in windows. From looking at past posts, I started to think I had to migrate my dissertation to linux (not really an option at my department) for them to work together fully. Thanks! -Original Message- From: Paul A. Rubin To: castelol...@aim.com Cc: lyx-users@lists.lyx.org Sent: Sun, 17 May 2009 07:02:28 -0700 Subject: Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7 castelol...@aim.com wrote: ??? I just started using LyX 1.6 and JabRef 2.4 and I read here that you ??? cannot push refs from Jab into Lyx in windows xp. Correct. ??? Here's the strange thing (coming from a beginner's perspective), I ??? can create a bibliography because there are .bib files already in the ??? appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with ??? its database. I can also manually put my JabRef .bib into that same ??? subdirectory (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it ??? appears in the dialogue box along with the others (examples that ??? installed with Lyx). Technically, they installed with MiKTeX; LyX is not responsible for them. ??? But, insert>citation does not show any references in my .bib, though ??? the others do appear and can be inserted as citations and appear in ??? the references at the end of the doc. Confirmed. To fix this, you have to run the MiKTeX Settings application, click the "Refresh FNDB" button (FNDB = file name database), then restart LyX. In general, dropping a file somewhere in MiKTeX's directory does not make MiKTeX aware of it; you have to refresh the file name database to let MiKTeX know it's there. (The same is true for all LaTeX distributions, by the way.) The curious thing here is that LyX apparently relies on MiKTeX to find the .bib file when looking for its contents, but not when listing it in the bibliography insertion dialog. Quoting Emerson: "A foolish consistency is the hobgoblin of little minds ..." In any event, this is not the preferred way to access your own BibTeX files (see below). ??? There must be, at the very least,? a way to put the .bib files in the ??? right directory manually? The "right directory" is wherever your .bib files would normally live (typically but not necessarily somewhere in the vast morass of My Documents). In the bibliography insertion dialog, click Add... > Browse..., drill down to your .bib file (which can be anywhere), then click Add. /Paul We found the real 'Hotel California' and the 'Seinfeld' diner. What will you find? Explore WhereItsAt.com.
Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7
castelol...@aim.com wrote: I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot push refs from Jab into Lyx in windows xp. Correct. Here's the strange thing (coming from a beginner's perspective), I can create a bibliography because there are .bib files already in the appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with its database. I can also manually put my JabRef .bib into that same subdirectory (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it appears in the dialogue box along with the others (examples that installed with Lyx). Technically, they installed with MiKTeX; LyX is not responsible for them. But, insert>citation does not show any references in my .bib, though the others do appear and can be inserted as citations and appear in the references at the end of the doc. Confirmed. To fix this, you have to run the MiKTeX Settings application, click the "Refresh FNDB" button (FNDB = file name database), then restart LyX. In general, dropping a file somewhere in MiKTeX's directory does not make MiKTeX aware of it; you have to refresh the file name database to let MiKTeX know it's there. (The same is true for all LaTeX distributions, by the way.) The curious thing here is that LyX apparently relies on MiKTeX to find the .bib file when looking for its contents, but not when listing it in the bibliography insertion dialog. Quoting Emerson: "A foolish consistency is the hobgoblin of little minds ..." In any event, this is not the preferred way to access your own BibTeX files (see below). There must be, at the very least, a way to put the .bib files in the right directory manually? The "right directory" is wherever your .bib files would normally live (typically but not necessarily somewhere in the vast morass of My Documents). In the bibliography insertion dialog, click Add... > Browse..., drill down to your .bib file (which can be anywhere), then click Add. /Paul
Re: JabRef and LyX, manually putting .bib files into MiKTeX 2.7
Maybe this will help. A bib file is just a certain type of format, which can be saved in notepad. Jabref opens it up an shows it to you in an easiser way. So, 1. In Jabref, you create bib file called mylib.bib. You can save it anywhere. So lets say you created a folder where your current lyx project is located. Save this bib file there. 2.Go to the place in your lyx document where you want the references to be presented (presumably, the end). Click Insert/ Lists & TOC/ BibT E X Bibliography. Point the LyX document to that specific file, by browsing for the mylib.bib file. 3. Click Lyx's Layout/Document setting, choose Bibliography. Here you specify the style of citations you want. 4. Now, suppose you are writing a document and you want to cite something. Click LyX insert/ Citation button. A menu should open and you should see the list of reference , I use also zotero to collect the citations, and export it as bibtex file. Erez On Sun, May 17, 2009 at 2:31 AM, wrote: > I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot > push refs from Jab into Lyx in windows xp. > > Here's the strange thing (coming from a beginner's perspective), I can > create a bibliography because there are .bib files already in the > appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with its > database. I can also manually put my JabRef .bib into that same subdirectory > (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it appears in the > dialogue box along with the others (examples that installed with Lyx). > > But, insert>citation does not show any references in my .bib, though the > others do appear and can be inserted as citations and appear in the > references at the end of the doc. > > There must be, at the very least, a way to put the .bib files in the right > directory manually? > > thnx, > Casper de Tello > > -- Erez Yerushalmi PhD Student Warwick University, UK homepage: http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi
JabRef and LyX, manually putting .bib files into MiKTeX 2.7
I just started using LyX 1.6 and JabRef 2.4 and I read here that you cannot push refs from Jab into Lyx in windows xp. Here's the strange thing (coming from a beginner's perspective), I can create a bibliography because there are .bib files already in the appropriate MiKTeX 2.7 folder that appears to be supplying Lyx with its database. I can also manually put my JabRef .bib into that same subdirectory (C:\Program Files\MiKTeX 2.7\bibtex\bib\bibtopic) and it appears in the dialogue box along with the others (examples that installed with Lyx). But, insert>citation does not show any references in my .bib, though the others do appear and can be inserted as citations and appear in the references at the end of the doc. There must be, at the very least, a way to put the .bib files in the right directory manually? thnx, Casper de Tello