Re: Attaching References
On 01/28/2017 12:48 PM, William Hanson wrote: Here's the present situation: I use Windows. On Jan 25 I was unable to get LyX 2.0.5.1 to add just three new references to a document. (The document already had about 40 references that LyX had previously created.) I downloaded a new version of LyX (2.2.2), but I'm unable to use it. Specifically I can't even open my document in 2.2.2. When I try I get the following popup: "The selected document class Article (Standard Class) requires external files that are unavailable", and it says I must install article.cls. When I close that popup I immediately get another one that says I need to install fancyhdr.sty. Closing that popup I get a third that tells me to install enumitem.sty. I don't know where to find or how to install any of these files. And I don't know enough about LyX or LATEX to be able to follow the instructions in the User Guide and Customization Manual to solve the problem. The popups are basically saying that MiKTeX (the LaTeX distribution you are likely using, or trying to use), is either not installed at all or not installed correctly. I believe that Uwe just updated the Windows installers on the download page (http://www.lyx.org/Download). The (rather large) "bundle" version is the one that includes MiKTeX. You might try that one. So I've gone back to trying to make 2.0.5.1 work. I have a bib file that I created in Mendeley, but I can't get 2.0.5.1 to insert it into my document. Sometimes when I try (using Insert → List/TOC → BibTeX Bibliography) I'm unable to find this bib file. Specifically, the box that pops up in LyX (with the heading LyX: BibTex Bibliography) is empty, and when I hit the Browse button and then go to the Windows folder that contains my file its name doesn't appear. The "Browse" button looks for /style/ files (.bst extension). To find your bibliography (.bib extension), use the Add... button, then Browse..., and navigate. (I wasn't sure which Browse button you meant). Other times times I can find and insert this file, but when I try to create a pdf I can't. (Luatex, dvipdfm, and pdflatex do nothing. XeTeX and ps2pdf give error messages.) Before the present problems started appearing LuaTeX always created a pdf. Do you not get an error message for pdflatex? Is the Document > View [PDF (pdflatex)] menu item enabled? Does anything show up in the status bar (bottom of the window) when you click this? I wonder if the document might actually be compiling but then LyX either can't find a viewer to use (Acrobat Reader is a common choice on Windows) or can't get it to open. Paul
Re: Attaching References
Here's the present situation: I use Windows. On Jan 25 I was unable to get LyX 2.0.5.1 to add just three new references to a document. (The document already had about 40 references that LyX had previously created.) I downloaded a new version of LyX (2.2.2), but I'm unable to use it. Specifically I can't even open my document in 2.2.2. When I try I get the following popup: "The selected document class Article (Standard Class) requires external files that are unavailable", and it says I must install article.cls. When I close that popup I immediately get another one that says I need to install fancyhdr.sty. Closing that popup I get a third that tells me to install enumitem.sty. I don't know where to find or how to install any of these files. And I don't know enough about LyX or LATEX to be able to follow the instructions in the User Guide and Customization Manual to solve the problem. So I've gone back to trying to make 2.0.5.1 work. I have a bib file that I created in Mendeley, but I can't get 2.0.5.1 to insert it into my document. Sometimes when I try (using Insert → List/TOC → BibTeX Bibliography) I'm unable to find this bib file. Specifically, the box that pops up in LyX (with the heading LyX: BibTex Bibliography) is empty, and when I hit the Browse button and then go to the Windows folder that contains my file its name doesn't appear. Other times times I can find and insert this file, but when I try to create a pdf I can't. (Luatex, dvipdfm, and pdflatex do nothing. XeTeX and ps2pdf give error messages.) Before the present problems started appearing LuaTeX always created a pdf. So LyX is now doing less for me than it did a couple of days ago. Then it would create a bibliography for my document, and that bibliography contained all the references in the document except the three I needed to add. Now it won't create any bibliography at all, and it won't create a pdf. How can I get out of this mess? On Thu, Jan 26, 2017 at 11:04 AM, Richard Heckwrote: > On 01/26/2017 01:42 AM, William Hanson wrote: > > Chris, > > I'm using Windows and LyX 2.0.5.1. Since I've been unable to make LyX > > 2.2.2.2 work (more about that later), and since all I needed to do to > > complete my document was add three references, I tried to make 2.0.5.1 > > do that for me. > > > > However, since I first wrote the situation has changed somewhat. (I > > suppose that's due to the messing around I've been doing.) > > > > I do indeed have a BibTeX Generated Bibliography box at the end of my > > document. And when I click on it the window that opens contains a > > link to the .bib file I created with Mendeley. This sounds promising, > > but now when I try to insert a reference into the document (by > > choosing Citation) the box that pops up is empty. > > The most likely problem here is an encoding issue. I expect there is > some Unicode character in the Mendeley-generated bibfile that LyX is > choking on. My suggestion would to try bisecting the file to find the > offending character. First, make a backup of it in case something goes > wrong. Then open the file in Notepad or something and delete the last > half of it. Now see if it works in LyX. If so, the problem is in the > last half, so delete half of that, etc. If it doesn't work, delete more > of it, until you get something that does work. > > Alternatively, if you want to send me the bib file (use this email), I > can look at it and see what the problem might be. Feel free to send me > the LyX file that isn't working, too. It may again be some kind of > encoding issue. > > Richard > >
Re: Attaching References
On 01/26/2017 01:42 AM, William Hanson wrote: > Chris, > I'm using Windows and LyX 2.0.5.1. Since I've been unable to make LyX > 2.2.2.2 work (more about that later), and since all I needed to do to > complete my document was add three references, I tried to make 2.0.5.1 > do that for me. > > However, since I first wrote the situation has changed somewhat. (I > suppose that's due to the messing around I've been doing.) > > I do indeed have a BibTeX Generated Bibliography box at the end of my > document. And when I click on it the window that opens contains a > link to the .bib file I created with Mendeley. This sounds promising, > but now when I try to insert a reference into the document (by > choosing Citation) the box that pops up is empty. The most likely problem here is an encoding issue. I expect there is some Unicode character in the Mendeley-generated bibfile that LyX is choking on. My suggestion would to try bisecting the file to find the offending character. First, make a backup of it in case something goes wrong. Then open the file in Notepad or something and delete the last half of it. Now see if it works in LyX. If so, the problem is in the last half, so delete half of that, etc. If it doesn't work, delete more of it, until you get something that does work. Alternatively, if you want to send me the bib file (use this email), I can look at it and see what the problem might be. Feel free to send me the LyX file that isn't working, too. It may again be some kind of encoding issue. Richard
Re: Attaching References
Chris, I'm using Windows and LyX 2.0.5.1. Since I've been unable to make LyX 2.2.2.2 work (more about that later), and since all I needed to do to complete my document was add three references, I tried to make 2.0.5.1 do that for me. However, since I first wrote the situation has changed somewhat. (I suppose that's due to the messing around I've been doing.) I do indeed have a BibTeX Generated Bibliography box at the end of my document. And when I click on it the window that opens contains a link to the .bib file I created with Mendeley. This sounds promising, but now when I try to insert a reference into the document (by choosing Citation) the box that pops up is empty. And now, unlike earlier today, I'm no longer able to create a pdf using any of the pdf options under File→Export. (Some of those pdf commands now produce error messages, and the ones that don't do nothing. Previously LuaTeX produced pdfs.) So I'm still stuck. Thanks for responding. Nice eagle. Bill On Wed, Jan 25, 2017 at 4:02 PM, Christopher Menzelwrote: > Hi Bill, > > What platform? Mac? Windows? Linux? Also, what sorts of messages are you > getting? And, just to make sure, did you insert a pointer to your .bib file > at the end of your document by selecting Insert → List/TOC → BibTeX > bibliography? All you say is that you stuck the file somewhere but LaTeX > needs to know where to find it. > > In my experience with all three platforms, if you install the latest > version of TeX for your platform and then the latest version of LyX, things > generally should Just Work. So if you haven't upgraded your TeX > installation in a while I'd consider doing that and then installing Lyx > 2.2.2. (You should rename your copy of LyX 2.0.5.1 first to avoid having it > overwritten; it'll still work.) > > -chris > > > On 25 Jan 2017, at 3:16 PM, William Hanson wrote: > > > > Dear All, > > > > I've created a BibTeX (.bib) file in Mendeley Desktop and used the > Import option in Mendeley to get this file into a folder in my main > collection of folders (outside Mendeley Desktop). But I can't get LyX to > access this file and create citations in documents I'm working on. When I > try to insert a citation into a document I'm given access only to an old > list of citations, not to those in the new file just mentioned. And I > can't get LyX to let me add the citations in the new file to the old list. > > > > I'm using LyX 2.0.5.1, which I've used for years. I've downloaded > 2.2.2.2, but but I can barely get started with it. It keeps telling me > that I have to add new files to make things work, but I'm unable to do so, > and the Users Manual doesn't help. > > > > What should I do? > > > > Bill Hanson > >
Re: Attaching References
> On 25 Jan 2017, at 3:16 PM, William Hansonwrote: >> I'm using LyX 2.0.5.1, which I've used for years. I've downloaded 2.2.2.2, >> but but I can barely get started with it. It keeps telling me that I have >> to add new files to make things work, but I'm unable to do so, and the Users >> Manual doesn't help. When is LyX 2.2.2 telling you that you need to add new files? What files is it telling you that you need to add? Richard
Re: Attaching References
Hi Bill, What platform? Mac? Windows? Linux? Also, what sorts of messages are you getting? And, just to make sure, did you insert a pointer to your .bib file at the end of your document by selecting Insert → List/TOC → BibTeX bibliography? All you say is that you stuck the file somewhere but LaTeX needs to know where to find it. In my experience with all three platforms, if you install the latest version of TeX for your platform and then the latest version of LyX, things generally should Just Work. So if you haven't upgraded your TeX installation in a while I'd consider doing that and then installing Lyx 2.2.2. (You should rename your copy of LyX 2.0.5.1 first to avoid having it overwritten; it'll still work.) -chris > On 25 Jan 2017, at 3:16 PM, William Hansonwrote: > > Dear All, > > I've created a BibTeX (.bib) file in Mendeley Desktop and used the Import > option in Mendeley to get this file into a folder in my main collection of > folders (outside Mendeley Desktop). But I can't get LyX to access this file > and create citations in documents I'm working on. When I try to insert a > citation into a document I'm given access only to an old list of citations, > not to those in the new file just mentioned. And I can't get LyX to let me > add the citations in the new file to the old list. > > I'm using LyX 2.0.5.1, which I've used for years. I've downloaded 2.2.2.2, > but but I can barely get started with it. It keeps telling me that I have to > add new files to make things work, but I'm unable to do so, and the Users > Manual doesn't help. > > What should I do? > > Bill Hanson
Attaching References
Dear All, I've created a BibTeX (.bib) file in Mendeley Desktop and used the Import option in Mendeley to get this file into a folder in my main collection of folders (outside Mendeley Desktop). But I can't get LyX to access this file and create citations in documents I'm working on. When I try to insert a citation into a document I'm given access only to an old list of citations, not to those in the new file just mentioned. And I can't get LyX to let me add the citations in the new file to the old list. I'm using LyX 2.0.5.1, which I've used for years. I've downloaded 2.2.2.2, but but I can barely get started with it. It keeps telling me that I have to add new files to make things work, but I'm unable to do so, and the Users Manual doesn't help. What should I do? Bill Hanson