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 Heck <rgh...@lyx.org> wrote:

> 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
>
>

Reply via email to