Hi Les,

On 7/02/2013 2:49 AM, Les Denham wrote:
Yesterday I had a friend call me for advice on a Windows XP
installation of Lyx. He had been using LyX for several years without
any problems, and had just updated to 2.0.5.1. Now he could work in
LyX, but could not generate a PDF output. He is running Windows XP on a
netbook.
Had a similar problem myself just recently.
Had an installation of MikTex/Lyx on my Win7 computer at work.
Had
Lyx 2.0.3-1
MikTex 2.9.4407 (from March last year)

Worked fine in converting my Lyx documents into pdf's

Upgraded both MikTex and Lyx
Lyx 2.0.5.1
MikTex -  updated packages only (something I hadn't done in a while)

Now I could not create pdf's
Seemed to be getting errors that some packages where not installed - but everything was working before?
I re-checked that the packages were up to date in MikTex.
Then I checked the settings on MikTex, and I had the setting
Install-Missing-packages-on-fly set for YES

But still I could not generate pdf's, .. recheck Lyx function Tools->Reconfigure
   restart Lyx app - no pdf's
   restart PC - no pdf's

So I tried another file (the User's Guide, doc/UserGuide.lyx). This
also worked without any errors, but I observed that before generating
the PDF MikTeX downloaded some additional packages.

Dont know why but I changed MikTex setting
Install-Missing-packages-on-fly set to ASK-ME-FIRST

Next time I tried to generate a pdf, dialogs boxes started popping up asking if to install package, . of course I answered yes.
I guess there was about 5~10 packages installed, then my pdf came out.

Can generate all my lyx files on that PC now.

I am left to speculate what happened, and why automatic and prompted updates on fly behaved differently. My only thought was being a work PC they have security policies that may have somehow interfered. Also why did I all of a sudden I need new packages without changing anything in my Lyx files, was that because of new dependencies during the MikTex update or did the new version of Lyx require the new packages?

Since you found a different work around for what seemed like a similar problem (not downloading missing packages properly), I thought I share my experience.

Steve

Reply via email to