Re: Can't Export PDF from LyX

2014-02-03 Thread Stephan Witt
Am 03.02.2014 um 09:17 schrieb Rizwan khan Jadoon 
jadoon.rizwankha...@gmail.com:

 I just installed Lyx 2.0  and I can't export any PDFs, although the message 
 at the bottom says, Successful export to format: pdf2. I'm running Windows 
 7 32bit operating system and have both Acrobat Reader 10 and Foxit Reader 
 installed, with Foxit being the default.  Also, the only options I'm seeing 
 under Preferences  File Handling  File Formats  PDF (pdflatex) are None 
 and Custom.  Please help.

What does not work for you exactly?

Export produces an PDF file and saves it into the folder of the main document.

In case you're expecting the viewer opening your output document you shouldn't 
use Export.
Please use View for that task.

Stephan

Re: Can't Export PDF from LyX

2014-02-03 Thread Stephan Witt
Am 03.02.2014 um 09:17 schrieb Rizwan khan Jadoon 
jadoon.rizwankha...@gmail.com:

 I just installed Lyx 2.0  and I can't export any PDFs, although the message 
 at the bottom says, Successful export to format: pdf2. I'm running Windows 
 7 32bit operating system and have both Acrobat Reader 10 and Foxit Reader 
 installed, with Foxit being the default.  Also, the only options I'm seeing 
 under Preferences  File Handling  File Formats  PDF (pdflatex) are None 
 and Custom.  Please help.

What does not work for you exactly?

Export produces an PDF file and saves it into the folder of the main document.

In case you're expecting the viewer opening your output document you shouldn't 
use Export.
Please use View for that task.

Stephan

Re: Can't Export PDF from LyX

2014-02-03 Thread Stephan Witt
Am 03.02.2014 um 09:17 schrieb Rizwan khan Jadoon 
:

> I just installed Lyx 2.0  and I can't export any PDFs, although the message 
> at the bottom says, "Successful export to format: pdf2". I'm running Windows 
> 7 32bit operating system and have both Acrobat Reader 10 and Foxit Reader 
> installed, with Foxit being the default.  Also, the only options I'm seeing 
> under Preferences > File Handling > File Formats > PDF (pdflatex) are "None" 
> and "Custom".  Please help.

What does not work for you exactly?

Export produces an PDF file and saves it into the folder of the main document.

In case you're expecting the viewer opening your output document you shouldn't 
use "Export".
Please use "View" for that task.

Stephan

Re: Can't Export PDF from LyX

2011-09-04 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 3:53 PM, Paul Rubin ru...@msu.edu wrote:

 **
 On 09/03/2011 06:46 PM, Jane Shevtsov wrote:

 OK, even uninstalling doesn't work right. The error message says, The
 operation could not be completed for the following reasons: The IniTeXMF
 executable could not be found..

  Find the MiKTeX directory under C:\Program Files (86) and delete it
 manually.  Then find the MiKTeX directories under your roving profile and
 any other profile (if you refer back to the error message where it
 complained about no formats.ini, a bunch of paths were listed there).  Next,
 I would suggest you install the free version of CCleaner (
 http://www.piriform.com/ccleaner/download).  Once that's installed, it
 will offer to run itself -- do so, find the tab that cleans the registry,
 and use that to get rid of any problem keys (pointing to now-nonexistent
 directories).  Personally, I always just tell it fix all the problems it
 finds.  Once you've cleaned the registry, proceed with reinstalling.  You
 may wish to make a sacrifice to the Computing Gods to appease them before
 reinstalling.


The appropriate deities having been propitiated, I was able to uninstall
MiKTeX and then install the latest version (the basic installation). I then
successfully used pdflatex from the command prompt. Now, how do I connect
LyX to the new MiKTeX installation?

Thanks,
Jane


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-04 Thread Paul Rubin


On 09/04/2011 05:09 PM, Jane Shevtsov wrote:
The appropriate deities having been propitiated, I was able to 
uninstall MiKTeX and then install the latest version (the basic 
installation). I then successfully used pdflatex from the command 
prompt. Now, how do I connect LyX to the new MiKTeX installation?
Assuming the appropriate deities stay propitiated (they can be greedy 
little buggers), start LyX, click Tools  Reconfigure, close and restart 
LyX when the configuration is done and hope for the best.  As a sidebar, 
during reconfiguration LyX will attempt to create tiny test documents 
using a zillion different LaTeX classes, most of which you will probably 
never use yourself.  The MiKTeX settings utility gives three choices for 
what MiKTeX will do when it encounters a request for a class or style 
not currently installed:


  1. automatically attempt to find it on the Internet and install it;
  2. automatically skip it (so that the document does not compile); or
  3. ask you whether you want to install it.

During LyX reconfiguration, option #1 will slow reconfiguration to a 
crawl (which is okay if you want to go off and read War and Peace, in 
the original Russian, while reconfiguring).  Option #2 (my favorite) 
will hasten reconfiguration, and requires minimal involvement by you, 
but will leave you with a lengthy list of LyX classes marked 
unavailable.  Option #3 will result in incessant nagging during the 
installation.  My recommendation is to run the MiKTeX package manager 
before reconfiguring LyX.  Look for document classes you use frequently 
(for me, that's mainly article, amsarticle and beamer) and, if not 
already installed, install them.  Install docbook, too, even if you 
don't use it; I'm pretty sure the LyX help files (or at least some of 
them) do.  Don't worry about style files (things like titlesec or 
mdwtools); just get the key document classes.  Then set MiKTeX to option 
#2 and reconfigure LyX.  You should end up with all your preferred 
document classes available in LyX.  After reconfiguring, set MiKTeX to 
either option #1 or #3 (your choice), so that when you try to use a 
style package (such as titlesec) that isn't installed, MiKTeX goes and 
fetches it.  LyX does not need to be reconfigured after adding (most) 
style files, just after adding classes.  (I oversimplified slightly 
there -- I think some LyX layouts require both a base class and one or 
more style files -- but it's close enough for now.)


Paul



Re: Can't Export PDF from LyX

2011-09-04 Thread Jane Shevtsov
On Sun, Sep 4, 2011 at 2:23 PM, Paul Rubin ru...@msu.edu wrote:

 **
 Assuming the appropriate deities stay propitiated (they can be greedy
 little buggers), start LyX, click Tools  Reconfigure, close and restart LyX
 when the configuration is done and hope for the best.


OK, it works! Thanks a million, Paul.

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-04 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 3:53 PM, Paul Rubin ru...@msu.edu wrote:

 **
 On 09/03/2011 06:46 PM, Jane Shevtsov wrote:

 OK, even uninstalling doesn't work right. The error message says, The
 operation could not be completed for the following reasons: The IniTeXMF
 executable could not be found..

  Find the MiKTeX directory under C:\Program Files (86) and delete it
 manually.  Then find the MiKTeX directories under your roving profile and
 any other profile (if you refer back to the error message where it
 complained about no formats.ini, a bunch of paths were listed there).  Next,
 I would suggest you install the free version of CCleaner (
 http://www.piriform.com/ccleaner/download).  Once that's installed, it
 will offer to run itself -- do so, find the tab that cleans the registry,
 and use that to get rid of any problem keys (pointing to now-nonexistent
 directories).  Personally, I always just tell it fix all the problems it
 finds.  Once you've cleaned the registry, proceed with reinstalling.  You
 may wish to make a sacrifice to the Computing Gods to appease them before
 reinstalling.


The appropriate deities having been propitiated, I was able to uninstall
MiKTeX and then install the latest version (the basic installation). I then
successfully used pdflatex from the command prompt. Now, how do I connect
LyX to the new MiKTeX installation?

Thanks,
Jane


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-04 Thread Paul Rubin


On 09/04/2011 05:09 PM, Jane Shevtsov wrote:
The appropriate deities having been propitiated, I was able to 
uninstall MiKTeX and then install the latest version (the basic 
installation). I then successfully used pdflatex from the command 
prompt. Now, how do I connect LyX to the new MiKTeX installation?
Assuming the appropriate deities stay propitiated (they can be greedy 
little buggers), start LyX, click Tools  Reconfigure, close and restart 
LyX when the configuration is done and hope for the best.  As a sidebar, 
during reconfiguration LyX will attempt to create tiny test documents 
using a zillion different LaTeX classes, most of which you will probably 
never use yourself.  The MiKTeX settings utility gives three choices for 
what MiKTeX will do when it encounters a request for a class or style 
not currently installed:


  1. automatically attempt to find it on the Internet and install it;
  2. automatically skip it (so that the document does not compile); or
  3. ask you whether you want to install it.

During LyX reconfiguration, option #1 will slow reconfiguration to a 
crawl (which is okay if you want to go off and read War and Peace, in 
the original Russian, while reconfiguring).  Option #2 (my favorite) 
will hasten reconfiguration, and requires minimal involvement by you, 
but will leave you with a lengthy list of LyX classes marked 
unavailable.  Option #3 will result in incessant nagging during the 
installation.  My recommendation is to run the MiKTeX package manager 
before reconfiguring LyX.  Look for document classes you use frequently 
(for me, that's mainly article, amsarticle and beamer) and, if not 
already installed, install them.  Install docbook, too, even if you 
don't use it; I'm pretty sure the LyX help files (or at least some of 
them) do.  Don't worry about style files (things like titlesec or 
mdwtools); just get the key document classes.  Then set MiKTeX to option 
#2 and reconfigure LyX.  You should end up with all your preferred 
document classes available in LyX.  After reconfiguring, set MiKTeX to 
either option #1 or #3 (your choice), so that when you try to use a 
style package (such as titlesec) that isn't installed, MiKTeX goes and 
fetches it.  LyX does not need to be reconfigured after adding (most) 
style files, just after adding classes.  (I oversimplified slightly 
there -- I think some LyX layouts require both a base class and one or 
more style files -- but it's close enough for now.)


Paul



Re: Can't Export PDF from LyX

2011-09-04 Thread Jane Shevtsov
On Sun, Sep 4, 2011 at 2:23 PM, Paul Rubin ru...@msu.edu wrote:

 **
 Assuming the appropriate deities stay propitiated (they can be greedy
 little buggers), start LyX, click Tools  Reconfigure, close and restart LyX
 when the configuration is done and hope for the best.


OK, it works! Thanks a million, Paul.

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-04 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 3:53 PM, Paul Rubin  wrote:

> **
> On 09/03/2011 06:46 PM, Jane Shevtsov wrote:
>
> OK, even uninstalling doesn't work right. The error message says, "The
> operation could not be completed for the following reasons: The IniTeXMF
> executable could not be found.".
>
>  Find the MiKTeX directory under C:\Program Files (86) and delete it
> manually.  Then find the MiKTeX directories under your roving profile and
> any other profile (if you refer back to the error message where it
> complained about no formats.ini, a bunch of paths were listed there).  Next,
> I would suggest you install the free version of CCleaner (
> http://www.piriform.com/ccleaner/download).  Once that's installed, it
> will offer to run itself -- do so, find the tab that cleans the registry,
> and use that to get rid of any problem keys (pointing to now-nonexistent
> directories).  Personally, I always just tell it fix all the problems it
> finds.  Once you've cleaned the registry, proceed with reinstalling.  You
> may wish to make a sacrifice to the Computing Gods to appease them before
> reinstalling.
>
>
The appropriate deities having been propitiated, I was able to uninstall
MiKTeX and then install the latest version (the basic installation). I then
successfully used pdflatex from the command prompt. Now, how do I connect
LyX to the new MiKTeX installation?

Thanks,
Jane


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-04 Thread Paul Rubin


On 09/04/2011 05:09 PM, Jane Shevtsov wrote:
The appropriate deities having been propitiated, I was able to 
uninstall MiKTeX and then install the latest version (the basic 
installation). I then successfully used pdflatex from the command 
prompt. Now, how do I connect LyX to the new MiKTeX installation?
Assuming the appropriate deities stay propitiated (they can be greedy 
little buggers), start LyX, click Tools > Reconfigure, close and restart 
LyX when the configuration is done and hope for the best.  As a sidebar, 
during reconfiguration LyX will attempt to create tiny test documents 
using a zillion different LaTeX classes, most of which you will probably 
never use yourself.  The MiKTeX settings utility gives three choices for 
what MiKTeX will do when it encounters a request for a class or style 
not currently installed:


  1. automatically attempt to find it on the Internet and install it;
  2. automatically skip it (so that the document does not compile); or
  3. ask you whether you want to install it.

During LyX reconfiguration, option #1 will slow reconfiguration to a 
crawl (which is okay if you want to go off and read "War and Peace", in 
the original Russian, while reconfiguring).  Option #2 (my favorite) 
will hasten reconfiguration, and requires minimal involvement by you, 
but will leave you with a lengthy list of LyX classes marked 
"unavailable".  Option #3 will result in incessant nagging during the 
installation.  My recommendation is to run the MiKTeX package manager 
before reconfiguring LyX.  Look for document classes you use frequently 
(for me, that's mainly article, amsarticle and beamer) and, if not 
already installed, install them.  Install docbook, too, even if you 
don't use it; I'm pretty sure the LyX help files (or at least some of 
them) do.  Don't worry about style files (things like titlesec or 
mdwtools); just get the key document classes.  Then set MiKTeX to option 
#2 and reconfigure LyX.  You should end up with all your preferred 
document classes available in LyX.  After reconfiguring, set MiKTeX to 
either option #1 or #3 (your choice), so that when you try to use a 
style package (such as titlesec) that isn't installed, MiKTeX goes and 
fetches it.  LyX does not need to be reconfigured after adding (most) 
style files, just after adding classes.  (I oversimplified slightly 
there -- I think some LyX layouts require both a base class and one or 
more style files -- but it's close enough for now.)


Paul



Re: Can't Export PDF from LyX

2011-09-04 Thread Jane Shevtsov
On Sun, Sep 4, 2011 at 2:23 PM, Paul Rubin  wrote:

> **
> Assuming the appropriate deities stay propitiated (they can be greedy
> little buggers), start LyX, click Tools > Reconfigure, close and restart LyX
> when the configuration is done and hope for the best.
>

OK, it works! Thanks a million, Paul.

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul A . Rubin
Jane Shevtsov jane.eco at gmail.com writes:


 This is a game-changer.  It suggests that there is a problem with your MiKTeX
 installation (assuming MiKTeX is what you're using, which on Windows is quite
 likely).  Am I right that View  PDF (pdflatex) is also no longer available? 
 
 Yes, that's also gone. And this whole mess started when I ended up
reinstalling MiKTeX (and installing the latest version) because I was getting
errors in LyX about wasy fonts. 
 

Not sure if I answered this already -- I think the virtual dog ate one of my
replies.  Anyway, at the risk of being redundant ... Open a DOS prompt
(anywhere, the directory does not matter) and run 'pdflatex --version'. If
MiKTeX spits up some version information, at least we know it is installed.  If
Windows says it has no clue what 'pdflatex' is, add the MiKTeX bin directory to
your system path. (I seem to recall pointing you to the PathEdit utility
earlier.)

If pdflatex is present (and on your command path), export a small test document
(preferably a one-liner using article class) in LaTeX (pdflatex) format, open a
DOS prompt in the directory where the .tex file landed, run 'pdflatex
filename.tex' and report any errors. Maybe that will give clues.

Paul




Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 1:22 PM, Paul A. Rubin ru...@msu.edu wrote:

 Open a DOS prompt  (anywhere, the directory does not matter) and run
 'pdflatex --version'. If
 MiKTeX spits up some version information, at least we know it is installed.
  If
 Windows says it has no clue what 'pdflatex' is, add the MiKTeX bin
 directory to
 your system path. (I seem to recall pointing you to the PathEdit utility
 earlier.)

 If pdflatex is present (and on your command path), export a small test
 document
 (preferably a one-liner using article class) in LaTeX (pdflatex) format,
 open a
 DOS prompt in the directory where the .tex file landed, run 'pdflatex
 filename.tex' and report any errors. Maybe that will give clues.



I successfully added the MiKTeX bin directory to the system path and
exported a file. Running pdflatex gave this message:
This is pdfTeX, Version 3.1415926-1.40.10 MiKTeX 2.8
initexmf.exe: No formats.ini exists.
I can't find the default format file!

Interestingly, LyX is also saying (in Document  Settings) that all document
classes are unavailable.

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin

On 09/03/2011 05:00 PM, Jane Shevtsov wrote:


I successfully added the MiKTeX bin directory to the system path and 
exported a file. Running pdflatex gave this message:

This is pdfTeX, Version 3.1415926-1.40.10 MiKTeX 2.8
initexmf.exe: No formats.ini exists.
I can't find the default format file!
Okay, this may be progress.  In the Start menu, MiKTeX entry, there 
should be a folder labeled Maintenance, and in that a shortcut to an 
application that I think is labeled Settings.  I seem to recall that 
on Win 7 there are actually two of them, with either the program or 
folder name including Admin (I'm on Linux right now, so I'm working 
from memory).  I'm not sure it makes a difference if you're the only 
MiKTeX user on the machine, but run the Admin version just to be safe.  
On the first tab, click the second button (the label is something like 
Update Formats) and then the first button (Refresh FNDB).  Then 
repeat what you did above and see if the no formats.ini message goes 
away and (hopefully) the trivial document compiles.


Interestingly, LyX is also saying (in Document  Settings) that all 
document classes are unavailable.
That's because LyX thinks you don't have LaTeX installed.  Once we sort 
out your problems with MiKTeX, reconfiguring and restarting LyX should 
solve this.


Paul



Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 2:07 PM, Paul Rubin ru...@msu.edu wrote:

 On 09/03/2011 05:00 PM, Jane Shevtsov wrote:


 I successfully added the MiKTeX bin directory to the system path and
 exported a file. Running pdflatex gave this message:
 This is pdfTeX, Version 3.1415926-1.40.10 MiKTeX 2.8
 initexmf.exe: No formats.ini exists.
 I can't find the default format file!

 Okay, this may be progress.  In the Start menu, MiKTeX entry, there should
 be a folder labeled Maintenance, and in that a shortcut to an application
 that I think is labeled Settings.  I seem to recall that on Win 7 there
 are actually two of them, with either the program or folder name including
 Admin (I'm on Linux right now, so I'm working from memory).  I'm not sure
 it makes a difference if you're the only MiKTeX user on the machine, but run
 the Admin version just to be safe.  On the first tab, click the second
 button (the label is something like Update Formats) and then the first
 button (Refresh FNDB).


There's only one version of the Settings application. When I tried what you
described, I got the error message below.

MiKTeX Problem Report
Message: No formats.ini exists.
Data:
Source: Libraries\MiKTeX\Core\FormatInfo.cpp
Line: 216
MiKTeX: 2.8
OS: Microsoft Windows 7 Home Premium Edition, 64-bit Service Pack 1 (build
7601)
SystemAdmin: no
PowerUser: no
Root0: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
Root1: C:\Users\jaia\AppData\Local\MiKTeX\2.8
Root2: C:\ProgramData\MiKTeX\2.8
Root3: C:\Program Files (x86)\MiKTeX 2.8
UserInstall: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserConfig: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserData: C:\Users\jaia\AppData\Local\MiKTeX\2.8
CommonInstall: C:\Program Files (x86)\MiKTeX 2.8
CommonConfig: C:\ProgramData\MiKTeX\2.8
CommonData: C:\ProgramData\MiKTeX\2.8


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin



On 09/03/2011 05:18 PM, Jane Shevtsov wrote:


There's only one version of the Settings application. When I tried 
what you described, I got the error message below.


MiKTeX Problem Report
Message: No formats.ini exists.
Data:
Source: Libraries\MiKTeX\Core\FormatInfo.cpp
Line: 216
MiKTeX: 2.8
OS: Microsoft Windows 7 Home Premium Edition, 64-bit Service Pack 1 
(build 7601)

SystemAdmin: no
PowerUser: no
Root0: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
Root1: C:\Users\jaia\AppData\Local\MiKTeX\2.8
Root2: C:\ProgramData\MiKTeX\2.8
Root3: C:\Program Files (x86)\MiKTeX 2.8
UserInstall: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserConfig: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserData: C:\Users\jaia\AppData\Local\MiKTeX\2.8
CommonInstall: C:\Program Files (x86)\MiKTeX 2.8
CommonConfig: C:\ProgramData\MiKTeX\2.8
CommonData: C:\ProgramData\MiKTeX\2.8

Oh boy.  Just to add complicating factors, you've got a 64 bit version 
of Win 7.  Theoretically 32 bit apps run fine on the 64 bit version.  
Less theoretically, installers for 32 bit apps sometimes get confused by 
the 64 bit version (which installs them in a different place from where 
they think they're being installed).  At least I think that's what goes on.


Anyway, before panicking, let's try this.  Repeat what you just did, but 
instead of left-clicking the Settings icon on the Start menu, right 
click and pick run as administrator (wording approximate). Win 7 will 
ask you if you're sober (or something to that effect); tell it whatever 
it wants to hear.  Click the same two buttons in the same order and see 
if MiKTeX behaves itself this time.


Paul



Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 2:52 PM, Paul Rubin ru...@msu.edu wrote:

 Anyway, before panicking, let's try this.  Repeat what you just did, but
 instead of left-clicking the Settings icon on the Start menu, right click
 and pick run as administrator (wording approximate). Win 7 will ask you if
 you're sober (or something to that effect); tell it whatever it wants to
 hear.  Click the same two buttons in the same order and see if MiKTeX
 behaves itself this time.


No, I still get the error message saying formats.ini doesn't exist.

Should I uninstall LyX and MiKTeX and then installing an older version of
MiKTeX? I HAVE successfully exported PDFs from LyX on this computer with its
64-bit Windows 7.

Jane


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin


On 09/03/2011 06:10 PM, Jane Shevtsov wrote:

No, I still get the error message saying formats.ini doesn't exist.
I did a quick search and found a couple of posts (auf Deutsch, so it's a 
gamble whether I understood them correctly) by someone who experienced 
the same problem.  If my very rusty German served me, reinstalling 
MiKTeX solved it for him.


Should I uninstall LyX and MiKTeX

No need to uninstally LyX, but yes, I would uninstall MiKTeX.

and then installing an older version of MiKTeX?
No, I would go with a newer version.  The current version is 2.9.  I'm 
pretty sure I have that installed on Win 7 Home (64 bit) on one machine, 
and it works there.


I would suggest installing a minimal version of MiKTeX with the network 
installer, and then adding packages as needed.  That way, if it's still 
broken, you will have expended less time finding out.


Good luck.
Paul


Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 3:31 PM, Paul Rubin ru...@msu.edu wrote:

 No need to uninstally LyX, but yes, I would uninstall MiKTeX.


OK, even uninstalling doesn't work right. The error message says, The
operation could not be completed for the following reasons: The IniTeXMF
executable could not be found..

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin



On 09/03/2011 06:46 PM, Jane Shevtsov wrote:
On Sat, Sep 3, 2011 at 3:31 PM, Paul Rubin ru...@msu.edu 
mailto:ru...@msu.edu wrote:


No need to uninstally LyX, but yes, I would uninstall MiKTeX.


OK, even uninstalling doesn't work right. The error message says, The 
operation could not be completed for the following reasons: The 
IniTeXMF executable could not be found..


Find the MiKTeX directory under C:\Program Files (86) and delete it 
manually.  Then find the MiKTeX directories under your roving profile 
and any other profile (if you refer back to the error message where it 
complained about no formats.ini, a bunch of paths were listed there).  
Next, I would suggest you install the free version of CCleaner 
(http://www.piriform.com/ccleaner/download).  Once that's installed, it 
will offer to run itself -- do so, find the tab that cleans the 
registry, and use that to get rid of any problem keys (pointing to 
now-nonexistent directories).  Personally, I always just tell it fix all 
the problems it finds.  Once you've cleaned the registry, proceed with 
reinstalling.  You may wish to make a sacrifice to the Computing Gods to 
appease them before reinstalling.


Paul


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul A . Rubin
Jane Shevtsov jane.eco at gmail.com writes:


 This is a game-changer.  It suggests that there is a problem with your MiKTeX
 installation (assuming MiKTeX is what you're using, which on Windows is quite
 likely).  Am I right that View  PDF (pdflatex) is also no longer available? 
 
 Yes, that's also gone. And this whole mess started when I ended up
reinstalling MiKTeX (and installing the latest version) because I was getting
errors in LyX about wasy fonts. 
 

Not sure if I answered this already -- I think the virtual dog ate one of my
replies.  Anyway, at the risk of being redundant ... Open a DOS prompt
(anywhere, the directory does not matter) and run 'pdflatex --version'. If
MiKTeX spits up some version information, at least we know it is installed.  If
Windows says it has no clue what 'pdflatex' is, add the MiKTeX bin directory to
your system path. (I seem to recall pointing you to the PathEdit utility
earlier.)

If pdflatex is present (and on your command path), export a small test document
(preferably a one-liner using article class) in LaTeX (pdflatex) format, open a
DOS prompt in the directory where the .tex file landed, run 'pdflatex
filename.tex' and report any errors. Maybe that will give clues.

Paul




Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 1:22 PM, Paul A. Rubin ru...@msu.edu wrote:

 Open a DOS prompt  (anywhere, the directory does not matter) and run
 'pdflatex --version'. If
 MiKTeX spits up some version information, at least we know it is installed.
  If
 Windows says it has no clue what 'pdflatex' is, add the MiKTeX bin
 directory to
 your system path. (I seem to recall pointing you to the PathEdit utility
 earlier.)

 If pdflatex is present (and on your command path), export a small test
 document
 (preferably a one-liner using article class) in LaTeX (pdflatex) format,
 open a
 DOS prompt in the directory where the .tex file landed, run 'pdflatex
 filename.tex' and report any errors. Maybe that will give clues.



I successfully added the MiKTeX bin directory to the system path and
exported a file. Running pdflatex gave this message:
This is pdfTeX, Version 3.1415926-1.40.10 MiKTeX 2.8
initexmf.exe: No formats.ini exists.
I can't find the default format file!

Interestingly, LyX is also saying (in Document  Settings) that all document
classes are unavailable.

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin

On 09/03/2011 05:00 PM, Jane Shevtsov wrote:


I successfully added the MiKTeX bin directory to the system path and 
exported a file. Running pdflatex gave this message:

This is pdfTeX, Version 3.1415926-1.40.10 MiKTeX 2.8
initexmf.exe: No formats.ini exists.
I can't find the default format file!
Okay, this may be progress.  In the Start menu, MiKTeX entry, there 
should be a folder labeled Maintenance, and in that a shortcut to an 
application that I think is labeled Settings.  I seem to recall that 
on Win 7 there are actually two of them, with either the program or 
folder name including Admin (I'm on Linux right now, so I'm working 
from memory).  I'm not sure it makes a difference if you're the only 
MiKTeX user on the machine, but run the Admin version just to be safe.  
On the first tab, click the second button (the label is something like 
Update Formats) and then the first button (Refresh FNDB).  Then 
repeat what you did above and see if the no formats.ini message goes 
away and (hopefully) the trivial document compiles.


Interestingly, LyX is also saying (in Document  Settings) that all 
document classes are unavailable.
That's because LyX thinks you don't have LaTeX installed.  Once we sort 
out your problems with MiKTeX, reconfiguring and restarting LyX should 
solve this.


Paul



Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 2:07 PM, Paul Rubin ru...@msu.edu wrote:

 On 09/03/2011 05:00 PM, Jane Shevtsov wrote:


 I successfully added the MiKTeX bin directory to the system path and
 exported a file. Running pdflatex gave this message:
 This is pdfTeX, Version 3.1415926-1.40.10 MiKTeX 2.8
 initexmf.exe: No formats.ini exists.
 I can't find the default format file!

 Okay, this may be progress.  In the Start menu, MiKTeX entry, there should
 be a folder labeled Maintenance, and in that a shortcut to an application
 that I think is labeled Settings.  I seem to recall that on Win 7 there
 are actually two of them, with either the program or folder name including
 Admin (I'm on Linux right now, so I'm working from memory).  I'm not sure
 it makes a difference if you're the only MiKTeX user on the machine, but run
 the Admin version just to be safe.  On the first tab, click the second
 button (the label is something like Update Formats) and then the first
 button (Refresh FNDB).


There's only one version of the Settings application. When I tried what you
described, I got the error message below.

MiKTeX Problem Report
Message: No formats.ini exists.
Data:
Source: Libraries\MiKTeX\Core\FormatInfo.cpp
Line: 216
MiKTeX: 2.8
OS: Microsoft Windows 7 Home Premium Edition, 64-bit Service Pack 1 (build
7601)
SystemAdmin: no
PowerUser: no
Root0: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
Root1: C:\Users\jaia\AppData\Local\MiKTeX\2.8
Root2: C:\ProgramData\MiKTeX\2.8
Root3: C:\Program Files (x86)\MiKTeX 2.8
UserInstall: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserConfig: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserData: C:\Users\jaia\AppData\Local\MiKTeX\2.8
CommonInstall: C:\Program Files (x86)\MiKTeX 2.8
CommonConfig: C:\ProgramData\MiKTeX\2.8
CommonData: C:\ProgramData\MiKTeX\2.8


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin



On 09/03/2011 05:18 PM, Jane Shevtsov wrote:


There's only one version of the Settings application. When I tried 
what you described, I got the error message below.


MiKTeX Problem Report
Message: No formats.ini exists.
Data:
Source: Libraries\MiKTeX\Core\FormatInfo.cpp
Line: 216
MiKTeX: 2.8
OS: Microsoft Windows 7 Home Premium Edition, 64-bit Service Pack 1 
(build 7601)

SystemAdmin: no
PowerUser: no
Root0: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
Root1: C:\Users\jaia\AppData\Local\MiKTeX\2.8
Root2: C:\ProgramData\MiKTeX\2.8
Root3: C:\Program Files (x86)\MiKTeX 2.8
UserInstall: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserConfig: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserData: C:\Users\jaia\AppData\Local\MiKTeX\2.8
CommonInstall: C:\Program Files (x86)\MiKTeX 2.8
CommonConfig: C:\ProgramData\MiKTeX\2.8
CommonData: C:\ProgramData\MiKTeX\2.8

Oh boy.  Just to add complicating factors, you've got a 64 bit version 
of Win 7.  Theoretically 32 bit apps run fine on the 64 bit version.  
Less theoretically, installers for 32 bit apps sometimes get confused by 
the 64 bit version (which installs them in a different place from where 
they think they're being installed).  At least I think that's what goes on.


Anyway, before panicking, let's try this.  Repeat what you just did, but 
instead of left-clicking the Settings icon on the Start menu, right 
click and pick run as administrator (wording approximate). Win 7 will 
ask you if you're sober (or something to that effect); tell it whatever 
it wants to hear.  Click the same two buttons in the same order and see 
if MiKTeX behaves itself this time.


Paul



Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 2:52 PM, Paul Rubin ru...@msu.edu wrote:

 Anyway, before panicking, let's try this.  Repeat what you just did, but
 instead of left-clicking the Settings icon on the Start menu, right click
 and pick run as administrator (wording approximate). Win 7 will ask you if
 you're sober (or something to that effect); tell it whatever it wants to
 hear.  Click the same two buttons in the same order and see if MiKTeX
 behaves itself this time.


No, I still get the error message saying formats.ini doesn't exist.

Should I uninstall LyX and MiKTeX and then installing an older version of
MiKTeX? I HAVE successfully exported PDFs from LyX on this computer with its
64-bit Windows 7.

Jane


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin


On 09/03/2011 06:10 PM, Jane Shevtsov wrote:

No, I still get the error message saying formats.ini doesn't exist.
I did a quick search and found a couple of posts (auf Deutsch, so it's a 
gamble whether I understood them correctly) by someone who experienced 
the same problem.  If my very rusty German served me, reinstalling 
MiKTeX solved it for him.


Should I uninstall LyX and MiKTeX

No need to uninstally LyX, but yes, I would uninstall MiKTeX.

and then installing an older version of MiKTeX?
No, I would go with a newer version.  The current version is 2.9.  I'm 
pretty sure I have that installed on Win 7 Home (64 bit) on one machine, 
and it works there.


I would suggest installing a minimal version of MiKTeX with the network 
installer, and then adding packages as needed.  That way, if it's still 
broken, you will have expended less time finding out.


Good luck.
Paul


Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 3:31 PM, Paul Rubin ru...@msu.edu wrote:

 No need to uninstally LyX, but yes, I would uninstall MiKTeX.


OK, even uninstalling doesn't work right. The error message says, The
operation could not be completed for the following reasons: The IniTeXMF
executable could not be found..

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin



On 09/03/2011 06:46 PM, Jane Shevtsov wrote:
On Sat, Sep 3, 2011 at 3:31 PM, Paul Rubin ru...@msu.edu 
mailto:ru...@msu.edu wrote:


No need to uninstally LyX, but yes, I would uninstall MiKTeX.


OK, even uninstalling doesn't work right. The error message says, The 
operation could not be completed for the following reasons: The 
IniTeXMF executable could not be found..


Find the MiKTeX directory under C:\Program Files (86) and delete it 
manually.  Then find the MiKTeX directories under your roving profile 
and any other profile (if you refer back to the error message where it 
complained about no formats.ini, a bunch of paths were listed there).  
Next, I would suggest you install the free version of CCleaner 
(http://www.piriform.com/ccleaner/download).  Once that's installed, it 
will offer to run itself -- do so, find the tab that cleans the 
registry, and use that to get rid of any problem keys (pointing to 
now-nonexistent directories).  Personally, I always just tell it fix all 
the problems it finds.  Once you've cleaned the registry, proceed with 
reinstalling.  You may wish to make a sacrifice to the Computing Gods to 
appease them before reinstalling.


Paul


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul A . Rubin
Jane Shevtsov  gmail.com> writes:


>> This is a game-changer.  It suggests that there is a problem with your MiKTeX
>> installation (assuming MiKTeX is what you're using, which on Windows is quite
>> likely).  Am I right that View > PDF (pdflatex) is also no longer available? 
> 
> Yes, that's also gone. And this whole mess started when I ended up
reinstalling MiKTeX (and installing the latest version) because I was getting
errors in LyX about wasy fonts. 
> 

Not sure if I answered this already -- I think the virtual dog ate one of my
replies.  Anyway, at the risk of being redundant ... Open a DOS prompt
(anywhere, the directory does not matter) and run 'pdflatex --version'. If
MiKTeX spits up some version information, at least we know it is installed.  If
Windows says it has no clue what 'pdflatex' is, add the MiKTeX bin directory to
your system path. (I seem to recall pointing you to the PathEdit utility
earlier.)

If pdflatex is present (and on your command path), export a small test document
(preferably a one-liner using article class) in LaTeX (pdflatex) format, open a
DOS prompt in the directory where the .tex file landed, run 'pdflatex
.tex' and report any errors. Maybe that will give clues.

Paul




Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 1:22 PM, Paul A. Rubin  wrote:

> Open a DOS prompt  (anywhere, the directory does not matter) and run
> 'pdflatex --version'. If
> MiKTeX spits up some version information, at least we know it is installed.
>  If
> Windows says it has no clue what 'pdflatex' is, add the MiKTeX bin
> directory to
> your system path. (I seem to recall pointing you to the PathEdit utility
> earlier.)
>
> If pdflatex is present (and on your command path), export a small test
> document
> (preferably a one-liner using article class) in LaTeX (pdflatex) format,
> open a
> DOS prompt in the directory where the .tex file landed, run 'pdflatex
> .tex' and report any errors. Maybe that will give clues.
>


I successfully added the MiKTeX bin directory to the system path and
exported a file. Running pdflatex gave this message:
This is pdfTeX, Version 3.1415926-1.40.10 
initexmf.exe: No formats.ini exists.
I can't find the default format file!

Interestingly, LyX is also saying (in Document > Settings) that all document
classes are unavailable.

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin

On 09/03/2011 05:00 PM, Jane Shevtsov wrote:


I successfully added the MiKTeX bin directory to the system path and 
exported a file. Running pdflatex gave this message:

This is pdfTeX, Version 3.1415926-1.40.10 
initexmf.exe: No formats.ini exists.
I can't find the default format file!
Okay, this may be progress.  In the Start menu, MiKTeX entry, there 
should be a folder labeled "Maintenance", and in that a shortcut to an 
application that I think is labeled "Settings".  I seem to recall that 
on Win 7 there are actually two of them, with either the program or 
folder name including "Admin" (I'm on Linux right now, so I'm working 
from memory).  I'm not sure it makes a difference if you're the only 
MiKTeX user on the machine, but run the Admin version just to be safe.  
On the first tab, click the second button (the label is something like 
"Update Formats") and then the first button ("Refresh FNDB").  Then 
repeat what you did above and see if the "no formats.ini" message goes 
away and (hopefully) the trivial document compiles.


Interestingly, LyX is also saying (in Document > Settings) that all 
document classes are unavailable.
That's because LyX thinks you don't have LaTeX installed.  Once we sort 
out your problems with MiKTeX, reconfiguring and restarting LyX should 
solve this.


Paul



Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 2:07 PM, Paul Rubin  wrote:

> On 09/03/2011 05:00 PM, Jane Shevtsov wrote:
>
>>
>> I successfully added the MiKTeX bin directory to the system path and
>> exported a file. Running pdflatex gave this message:
>> This is pdfTeX, Version 3.1415926-1.40.10 
>> initexmf.exe: No formats.ini exists.
>> I can't find the default format file!
>>
> Okay, this may be progress.  In the Start menu, MiKTeX entry, there should
> be a folder labeled "Maintenance", and in that a shortcut to an application
> that I think is labeled "Settings".  I seem to recall that on Win 7 there
> are actually two of them, with either the program or folder name including
> "Admin" (I'm on Linux right now, so I'm working from memory).  I'm not sure
> it makes a difference if you're the only MiKTeX user on the machine, but run
> the Admin version just to be safe.  On the first tab, click the second
> button (the label is something like "Update Formats") and then the first
> button ("Refresh FNDB").


There's only one version of the Settings application. When I tried what you
described, I got the error message below.

MiKTeX Problem Report
Message: No formats.ini exists.
Data:
Source: Libraries\MiKTeX\Core\FormatInfo.cpp
Line: 216
MiKTeX: 2.8
OS: Microsoft Windows 7 Home Premium Edition, 64-bit Service Pack 1 (build
7601)
SystemAdmin: no
PowerUser: no
Root0: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
Root1: C:\Users\jaia\AppData\Local\MiKTeX\2.8
Root2: C:\ProgramData\MiKTeX\2.8
Root3: C:\Program Files (x86)\MiKTeX 2.8
UserInstall: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserConfig: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserData: C:\Users\jaia\AppData\Local\MiKTeX\2.8
CommonInstall: C:\Program Files (x86)\MiKTeX 2.8
CommonConfig: C:\ProgramData\MiKTeX\2.8
CommonData: C:\ProgramData\MiKTeX\2.8


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin



On 09/03/2011 05:18 PM, Jane Shevtsov wrote:


There's only one version of the Settings application. When I tried 
what you described, I got the error message below.


MiKTeX Problem Report
Message: No formats.ini exists.
Data:
Source: Libraries\MiKTeX\Core\FormatInfo.cpp
Line: 216
MiKTeX: 2.8
OS: Microsoft Windows 7 Home Premium Edition, 64-bit Service Pack 1 
(build 7601)

SystemAdmin: no
PowerUser: no
Root0: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
Root1: C:\Users\jaia\AppData\Local\MiKTeX\2.8
Root2: C:\ProgramData\MiKTeX\2.8
Root3: C:\Program Files (x86)\MiKTeX 2.8
UserInstall: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserConfig: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserData: C:\Users\jaia\AppData\Local\MiKTeX\2.8
CommonInstall: C:\Program Files (x86)\MiKTeX 2.8
CommonConfig: C:\ProgramData\MiKTeX\2.8
CommonData: C:\ProgramData\MiKTeX\2.8

Oh boy.  Just to add complicating factors, you've got a 64 bit version 
of Win 7.  Theoretically 32 bit apps run fine on the 64 bit version.  
Less theoretically, installers for 32 bit apps sometimes get confused by 
the 64 bit version (which installs them in a different place from where 
they think they're being installed).  At least I think that's what goes on.


Anyway, before panicking, let's try this.  Repeat what you just did, but 
instead of left-clicking the Settings icon on the Start menu, right 
click and pick "run as administrator" (wording approximate). Win 7 will 
ask you if you're sober (or something to that effect); tell it whatever 
it wants to hear.  Click the same two buttons in the same order and see 
if MiKTeX behaves itself this time.


Paul



Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 2:52 PM, Paul Rubin  wrote:

> Anyway, before panicking, let's try this.  Repeat what you just did, but
> instead of left-clicking the Settings icon on the Start menu, right click
> and pick "run as administrator" (wording approximate). Win 7 will ask you if
> you're sober (or something to that effect); tell it whatever it wants to
> hear.  Click the same two buttons in the same order and see if MiKTeX
> behaves itself this time.
>

No, I still get the error message saying formats.ini doesn't exist.

Should I uninstall LyX and MiKTeX and then installing an older version of
MiKTeX? I HAVE successfully exported PDFs from LyX on this computer with its
64-bit Windows 7.

Jane


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin


On 09/03/2011 06:10 PM, Jane Shevtsov wrote:

No, I still get the error message saying formats.ini doesn't exist.
I did a quick search and found a couple of posts (auf Deutsch, so it's a 
gamble whether I understood them correctly) by someone who experienced 
the same problem.  If my very rusty German served me, reinstalling 
MiKTeX solved it for him.


Should I uninstall LyX and MiKTeX

No need to uninstally LyX, but yes, I would uninstall MiKTeX.

and then installing an older version of MiKTeX?
No, I would go with a newer version.  The current version is 2.9.  I'm 
pretty sure I have that installed on Win 7 Home (64 bit) on one machine, 
and it works there.


I would suggest installing a minimal version of MiKTeX with the network 
installer, and then adding packages as needed.  That way, if it's still 
broken, you will have expended less time finding out.


Good luck.
Paul


Re: Can't Export PDF from LyX

2011-09-03 Thread Jane Shevtsov
On Sat, Sep 3, 2011 at 3:31 PM, Paul Rubin  wrote:

> No need to uninstally LyX, but yes, I would uninstall MiKTeX.
>

OK, even uninstalling doesn't work right. The error message says, "The
operation could not be completed for the following reasons: The IniTeXMF
executable could not be found.".

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin



On 09/03/2011 06:46 PM, Jane Shevtsov wrote:
On Sat, Sep 3, 2011 at 3:31 PM, Paul Rubin > wrote:


No need to uninstally LyX, but yes, I would uninstall MiKTeX.


OK, even uninstalling doesn't work right. The error message says, "The 
operation could not be completed for the following reasons: The 
IniTeXMF executable could not be found.".


Find the MiKTeX directory under C:\Program Files (86) and delete it 
manually.  Then find the MiKTeX directories under your roving profile 
and any other profile (if you refer back to the error message where it 
complained about no formats.ini, a bunch of paths were listed there).  
Next, I would suggest you install the free version of CCleaner 
(http://www.piriform.com/ccleaner/download).  Once that's installed, it 
will offer to run itself -- do so, find the tab that cleans the 
registry, and use that to get rid of any problem keys (pointing to 
now-nonexistent directories).  Personally, I always just tell it fix all 
the problems it finds.  Once you've cleaned the registry, proceed with 
reinstalling.  You may wish to make a sacrifice to the Computing Gods to 
appease them before reinstalling.


Paul


Re: Can't Export PDF from LyX

2011-09-02 Thread Jane Shevtsov
On Thu, Sep 1, 2011 at 2:06 PM, Paul Rubin ru...@msu.edu wrote:

 So, despite the message, the PDF file does not show up in the directory
 where
 the LyX doc lives?  Try exporting and (with LyX still running) use Windows
 Explorer to check the LyX temporary directory.  (If you're not sure where
 that
 is, check Tools  Preferences  Paths  Temporary directory.  I could
 pretty
 much tell you from memory where it is on XP, but Win 7 moved stuff around,
 and
 I'm not on a Win box right now.)  Assuming you can find the directory, if
 the
 PDF file is sitting in it, then the problem may be something with access
 permissions for the directory where the source document is (unlikely,
 but possible).


I tried that, changing the temp directory to Documents. I saw lots of
intermediate files but not the PDF.


 Are Acrobat Reader and Foxit on your system command path (meaning: can you
 run
 either one from a DOS prompt)?  If not, it's possible that adding one or
 both to
 your system path and then reconfiguring LyX might fix the problem.


How do I do that?

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-02 Thread Jane Shevtsov
On Thu, Sep 1, 2011 at 11:31 AM, Rich Shepard rshep...@appl-ecosys.comwrote:

  Look at the Edit menu. Second from the bottom it says, Reconfigure.
 Click on that, then exit LyX and restart it.


When I did that, even the option of exporting a PDF disappeared.


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-02 Thread Richard Heck
On 09/02/2011 01:24 PM, Jane Shevtsov wrote:
 On Thu, Sep 1, 2011 at 2:06 PM, Paul Rubin ru...@msu.edu
 mailto:ru...@msu.edu wrote:

 So, despite the message, the PDF file does not show up in the
 directory where
 the LyX doc lives?  Try exporting and (with LyX still running) use
 Windows
 Explorer to check the LyX temporary directory.  (If you're not
 sure where that
 is, check Tools  Preferences  Paths  Temporary directory.  I
 could pretty
 much tell you from memory where it is on XP, but Win 7 moved stuff
 around, and
 I'm not on a Win box right now.)  Assuming you can find the
 directory, if the
 PDF file is sitting in it, then the problem may be something with
 access
 permissions for the directory where the source document is (unlikely,
 but possible).


 I tried that, changing the temp directory to Documents. I saw lots of
 intermediate files but not the PDF.
  
Then it would seem the PDF is not being generated, though LyX seems to
think it is.

Can you run LyX from a terminal and post all the output here from when
you try to generate the PDF?

Richard



Re: Can't Export PDF from LyX

2011-09-02 Thread Paul Rubin



On 09/02/2011 01:24 PM, Jane Shevtsov wrote:
On Thu, Sep 1, 2011 at 2:06 PM, Paul Rubin ru...@msu.edu 
mailto:ru...@msu.edu wrote:


So, despite the message, the PDF file does not show up in the
directory where
the LyX doc lives?  Try exporting and (with LyX still running) use
Windows
Explorer to check the LyX temporary directory.  (If you're not
sure where that
is, check Tools  Preferences  Paths  Temporary directory.  I
could pretty
much tell you from memory where it is on XP, but Win 7 moved stuff
around, and
I'm not on a Win box right now.)  Assuming you can find the
directory, if the
PDF file is sitting in it, then the problem may be something with
access
permissions for the directory where the source document is (unlikely,
but possible).


I tried that, changing the temp directory to Documents. I saw lots of 
intermediate files but not the PDF.
So, as Richard points out, something went splat during the process of 
creating the PDF.  In addition to Richard's suggestion, you might try 
the following.  Once again try the export and, with LyX open:


  1. Check Document  LaTeX Log and see if any error messages are
 given. Click Next Error to cycle through error messages. If it's
 grayed out, there were no errors. If there are errors, copy the
 log to the clipboard and paste the parts with errors into a
 message here. (The log's likely to be lengthy, so it might be a
 good idea to lop out stuff not near an error message.)
  2. If there are no error messages,look in your redirected buffer
 directory.  One of the intermediate files should be doc.tex,
 where doc is your document name. Open a command prompt there
 (using Win-R to open the run dialog, and running 'cmd', is a quick
 way to get a command prompt; use 'cd my path' to get to the temp
 directory).  Once there, run 'pdflatex doc.tex'. Does it produce
 a PDF file?  (If it does, cross-references and bibliographic
 citations won't be correct, but at least we'll know you can
 generate a PDF.)



Are Acrobat Reader and Foxit on your system command path (meaning:
can you run
either one from a DOS prompt)?  If not, it's possible that adding
one or both to
your system path and then reconfiguring LyX might fix the problem.


How do I do that?
The easiest way is a free download: 
http://www.redfernplace.com/software-projects/patheditor/.  Just add the 
directories containing the .exe files for Reader and Foxit to either the 
system command path or your personal command path.


Note, though, that this has nothing to do with the lack of a PDF output 
file in the temp directory.  This only affects LyX not knowing about the 
reader programs.


Paul



Re: Can't Export PDF from LyX

2011-09-02 Thread Paul Rubin
Jane Shevtsov jane.eco at gmail.com writes:

   Look at the Edit menu. Second from the bottom it says, Reconfigure.
 Click on that, then exit LyX and restart it. 
 
 When I did that, even the option of exporting a PDF disappeared.-- 

This is a game-changer.  It suggests that there is a problem with your MiKTeX
installation (assuming MiKTeX is what you're using, which on Windows is quite
likely).  Am I right that View  PDF (pdflatex) is also no longer available?

After the reconfiguration, does LyX still offer View  DVI and Export  DVI?

If DVI still works but pdflatex is gone, try running the MiKTeX settings
application (should be in your Start menu, I think under MiKTeX  Maintenance).
Run Update Formats and Refresh FNDB on the general tab, then reconfigure LyX
again and see if that helps.

Paul




Re: Can't Export PDF from LyX

2011-09-02 Thread Jane Shevtsov
On Fri, Sep 2, 2011 at 2:13 PM, Paul Rubin ru...@msu.edu wrote:

 Jane Shevtsov jane.eco at gmail.com writes:

Look at the Edit menu. Second from the bottom it says, Reconfigure.
  Click on that, then exit LyX and restart it.
 
  When I did that, even the option of exporting a PDF disappeared.--

 This is a game-changer.  It suggests that there is a problem with your
 MiKTeX
 installation (assuming MiKTeX is what you're using, which on Windows is
 quite
 likely).  Am I right that View  PDF (pdflatex) is also no longer
 available?



Yes, that's also gone. And this whole mess started when I ended up
reinstalling MiKTeX (and installing the latest version) because I was
getting errors in LyX about wasy fonts.


 After the reconfiguration, does LyX still offer View  DVI and Export 
 DVI?


No, only LyXHTML is available.

BTW, when I opened the file I had been working with, I got an error message
starting with Selected document class article requires external files that
are not available. The file did open, but without graphics.

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-02 Thread Jane Shevtsov
On Thu, Sep 1, 2011 at 2:06 PM, Paul Rubin ru...@msu.edu wrote:

 So, despite the message, the PDF file does not show up in the directory
 where
 the LyX doc lives?  Try exporting and (with LyX still running) use Windows
 Explorer to check the LyX temporary directory.  (If you're not sure where
 that
 is, check Tools  Preferences  Paths  Temporary directory.  I could
 pretty
 much tell you from memory where it is on XP, but Win 7 moved stuff around,
 and
 I'm not on a Win box right now.)  Assuming you can find the directory, if
 the
 PDF file is sitting in it, then the problem may be something with access
 permissions for the directory where the source document is (unlikely,
 but possible).


I tried that, changing the temp directory to Documents. I saw lots of
intermediate files but not the PDF.


 Are Acrobat Reader and Foxit on your system command path (meaning: can you
 run
 either one from a DOS prompt)?  If not, it's possible that adding one or
 both to
 your system path and then reconfiguring LyX might fix the problem.


How do I do that?

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-02 Thread Jane Shevtsov
On Thu, Sep 1, 2011 at 11:31 AM, Rich Shepard rshep...@appl-ecosys.comwrote:

  Look at the Edit menu. Second from the bottom it says, Reconfigure.
 Click on that, then exit LyX and restart it.


When I did that, even the option of exporting a PDF disappeared.


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-02 Thread Richard Heck
On 09/02/2011 01:24 PM, Jane Shevtsov wrote:
 On Thu, Sep 1, 2011 at 2:06 PM, Paul Rubin ru...@msu.edu
 mailto:ru...@msu.edu wrote:

 So, despite the message, the PDF file does not show up in the
 directory where
 the LyX doc lives?  Try exporting and (with LyX still running) use
 Windows
 Explorer to check the LyX temporary directory.  (If you're not
 sure where that
 is, check Tools  Preferences  Paths  Temporary directory.  I
 could pretty
 much tell you from memory where it is on XP, but Win 7 moved stuff
 around, and
 I'm not on a Win box right now.)  Assuming you can find the
 directory, if the
 PDF file is sitting in it, then the problem may be something with
 access
 permissions for the directory where the source document is (unlikely,
 but possible).


 I tried that, changing the temp directory to Documents. I saw lots of
 intermediate files but not the PDF.
  
Then it would seem the PDF is not being generated, though LyX seems to
think it is.

Can you run LyX from a terminal and post all the output here from when
you try to generate the PDF?

Richard



Re: Can't Export PDF from LyX

2011-09-02 Thread Paul Rubin



On 09/02/2011 01:24 PM, Jane Shevtsov wrote:
On Thu, Sep 1, 2011 at 2:06 PM, Paul Rubin ru...@msu.edu 
mailto:ru...@msu.edu wrote:


So, despite the message, the PDF file does not show up in the
directory where
the LyX doc lives?  Try exporting and (with LyX still running) use
Windows
Explorer to check the LyX temporary directory.  (If you're not
sure where that
is, check Tools  Preferences  Paths  Temporary directory.  I
could pretty
much tell you from memory where it is on XP, but Win 7 moved stuff
around, and
I'm not on a Win box right now.)  Assuming you can find the
directory, if the
PDF file is sitting in it, then the problem may be something with
access
permissions for the directory where the source document is (unlikely,
but possible).


I tried that, changing the temp directory to Documents. I saw lots of 
intermediate files but not the PDF.
So, as Richard points out, something went splat during the process of 
creating the PDF.  In addition to Richard's suggestion, you might try 
the following.  Once again try the export and, with LyX open:


  1. Check Document  LaTeX Log and see if any error messages are
 given. Click Next Error to cycle through error messages. If it's
 grayed out, there were no errors. If there are errors, copy the
 log to the clipboard and paste the parts with errors into a
 message here. (The log's likely to be lengthy, so it might be a
 good idea to lop out stuff not near an error message.)
  2. If there are no error messages,look in your redirected buffer
 directory.  One of the intermediate files should be doc.tex,
 where doc is your document name. Open a command prompt there
 (using Win-R to open the run dialog, and running 'cmd', is a quick
 way to get a command prompt; use 'cd my path' to get to the temp
 directory).  Once there, run 'pdflatex doc.tex'. Does it produce
 a PDF file?  (If it does, cross-references and bibliographic
 citations won't be correct, but at least we'll know you can
 generate a PDF.)



Are Acrobat Reader and Foxit on your system command path (meaning:
can you run
either one from a DOS prompt)?  If not, it's possible that adding
one or both to
your system path and then reconfiguring LyX might fix the problem.


How do I do that?
The easiest way is a free download: 
http://www.redfernplace.com/software-projects/patheditor/.  Just add the 
directories containing the .exe files for Reader and Foxit to either the 
system command path or your personal command path.


Note, though, that this has nothing to do with the lack of a PDF output 
file in the temp directory.  This only affects LyX not knowing about the 
reader programs.


Paul



Re: Can't Export PDF from LyX

2011-09-02 Thread Paul Rubin
Jane Shevtsov jane.eco at gmail.com writes:

   Look at the Edit menu. Second from the bottom it says, Reconfigure.
 Click on that, then exit LyX and restart it. 
 
 When I did that, even the option of exporting a PDF disappeared.-- 

This is a game-changer.  It suggests that there is a problem with your MiKTeX
installation (assuming MiKTeX is what you're using, which on Windows is quite
likely).  Am I right that View  PDF (pdflatex) is also no longer available?

After the reconfiguration, does LyX still offer View  DVI and Export  DVI?

If DVI still works but pdflatex is gone, try running the MiKTeX settings
application (should be in your Start menu, I think under MiKTeX  Maintenance).
Run Update Formats and Refresh FNDB on the general tab, then reconfigure LyX
again and see if that helps.

Paul




Re: Can't Export PDF from LyX

2011-09-02 Thread Jane Shevtsov
On Fri, Sep 2, 2011 at 2:13 PM, Paul Rubin ru...@msu.edu wrote:

 Jane Shevtsov jane.eco at gmail.com writes:

Look at the Edit menu. Second from the bottom it says, Reconfigure.
  Click on that, then exit LyX and restart it.
 
  When I did that, even the option of exporting a PDF disappeared.--

 This is a game-changer.  It suggests that there is a problem with your
 MiKTeX
 installation (assuming MiKTeX is what you're using, which on Windows is
 quite
 likely).  Am I right that View  PDF (pdflatex) is also no longer
 available?



Yes, that's also gone. And this whole mess started when I ended up
reinstalling MiKTeX (and installing the latest version) because I was
getting errors in LyX about wasy fonts.


 After the reconfiguration, does LyX still offer View  DVI and Export 
 DVI?


No, only LyXHTML is available.

BTW, when I opened the file I had been working with, I got an error message
starting with Selected document class article requires external files that
are not available. The file did open, but without graphics.

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-02 Thread Jane Shevtsov
On Thu, Sep 1, 2011 at 2:06 PM, Paul Rubin  wrote:

> So, despite the message, the PDF file does not show up in the directory
> where
> the LyX doc lives?  Try exporting and (with LyX still running) use Windows
> Explorer to check the LyX temporary directory.  (If you're not sure where
> that
> is, check Tools > Preferences > Paths > Temporary directory.  I could
> pretty
> much tell you from memory where it is on XP, but Win 7 moved stuff around,
> and
> I'm not on a Win box right now.)  Assuming you can find the directory, if
> the
> PDF file is sitting in it, then the problem may be something with access
> permissions for the directory where the source document is (unlikely,
> but possible).
>
>
I tried that, changing the temp directory to Documents. I saw lots of
intermediate files but not the PDF.


> Are Acrobat Reader and Foxit on your system command path (meaning: can you
> run
> either one from a DOS prompt)?  If not, it's possible that adding one or
> both to
> your system path and then reconfiguring LyX might fix the problem.
>

How do I do that?

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-02 Thread Jane Shevtsov
On Thu, Sep 1, 2011 at 11:31 AM, Rich Shepard wrote:

>  Look at the Edit menu. Second from the bottom it says, "Reconfigure."
> Click on that, then exit LyX and restart it.
>

When I did that, even the option of exporting a PDF disappeared.


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-02 Thread Richard Heck
On 09/02/2011 01:24 PM, Jane Shevtsov wrote:
> On Thu, Sep 1, 2011 at 2:06 PM, Paul Rubin  > wrote:
>
> So, despite the message, the PDF file does not show up in the
> directory where
> the LyX doc lives?  Try exporting and (with LyX still running) use
> Windows
> Explorer to check the LyX temporary directory.  (If you're not
> sure where that
> is, check Tools > Preferences > Paths > Temporary directory.  I
> could pretty
> much tell you from memory where it is on XP, but Win 7 moved stuff
> around, and
> I'm not on a Win box right now.)  Assuming you can find the
> directory, if the
> PDF file is sitting in it, then the problem may be something with
> access
> permissions for the directory where the source document is (unlikely,
> but possible).
>
>
> I tried that, changing the temp directory to Documents. I saw lots of
> intermediate files but not the PDF.
>  
Then it would seem the PDF is not being generated, though LyX seems to
think it is.

Can you run LyX from a terminal and post all the output here from when
you try to generate the PDF?

Richard



Re: Can't Export PDF from LyX

2011-09-02 Thread Paul Rubin



On 09/02/2011 01:24 PM, Jane Shevtsov wrote:
On Thu, Sep 1, 2011 at 2:06 PM, Paul Rubin > wrote:


So, despite the message, the PDF file does not show up in the
directory where
the LyX doc lives?  Try exporting and (with LyX still running) use
Windows
Explorer to check the LyX temporary directory.  (If you're not
sure where that
is, check Tools > Preferences > Paths > Temporary directory.  I
could pretty
much tell you from memory where it is on XP, but Win 7 moved stuff
around, and
I'm not on a Win box right now.)  Assuming you can find the
directory, if the
PDF file is sitting in it, then the problem may be something with
access
permissions for the directory where the source document is (unlikely,
but possible).


I tried that, changing the temp directory to Documents. I saw lots of 
intermediate files but not the PDF.
So, as Richard points out, something went splat during the process of 
creating the PDF.  In addition to Richard's suggestion, you might try 
the following.  Once again try the export and, with LyX open:


  1. Check Document > LaTeX Log and see if any error messages are
 given. Click "Next Error" to cycle through error messages. If it's
 grayed out, there were no errors. If there are errors, copy the
 log to the clipboard and paste the parts with errors into a
 message here. (The log's likely to be lengthy, so it might be a
 good idea to lop out stuff not near an error message.)
  2. If there are no error messages,look in your redirected buffer
 directory.  One of the intermediate files should be .tex,
 where  is your document name. Open a command prompt there
 (using Win-R to open the run dialog, and running 'cmd', is a quick
 way to get a command prompt; use 'cd ' to get to the temp
 directory).  Once there, run 'pdflatex .tex'. Does it produce
 a PDF file?  (If it does, cross-references and bibliographic
 citations won't be correct, but at least we'll know you can
 generate a PDF.)



Are Acrobat Reader and Foxit on your system command path (meaning:
can you run
either one from a DOS prompt)?  If not, it's possible that adding
one or both to
your system path and then reconfiguring LyX might fix the problem.


How do I do that?
The easiest way is a free download: 
http://www.redfernplace.com/software-projects/patheditor/.  Just add the 
directories containing the .exe files for Reader and Foxit to either the 
system command path or your personal command path.


Note, though, that this has nothing to do with the lack of a PDF output 
file in the temp directory.  This only affects LyX not knowing about the 
reader programs.


Paul



Re: Can't Export PDF from LyX

2011-09-02 Thread Paul Rubin
Jane Shevtsov  gmail.com> writes:

>>   Look at the Edit menu. Second from the bottom it says, "Reconfigure."
>> Click on that, then exit LyX and restart it. 
> 
> When I did that, even the option of exporting a PDF disappeared.-- 

This is a game-changer.  It suggests that there is a problem with your MiKTeX
installation (assuming MiKTeX is what you're using, which on Windows is quite
likely).  Am I right that View > PDF (pdflatex) is also no longer available?

After the reconfiguration, does LyX still offer View > DVI and Export > DVI?

If DVI still works but pdflatex is gone, try running the MiKTeX settings
application (should be in your Start menu, I think under MiKTeX > Maintenance).
Run "Update Formats" and "Refresh FNDB" on the general tab, then reconfigure LyX
again and see if that helps.

Paul




Re: Can't Export PDF from LyX

2011-09-02 Thread Jane Shevtsov
On Fri, Sep 2, 2011 at 2:13 PM, Paul Rubin  wrote:

> Jane Shevtsov  gmail.com> writes:
>
> >>   Look at the Edit menu. Second from the bottom it says, "Reconfigure."
> >> Click on that, then exit LyX and restart it.
> >
> > When I did that, even the option of exporting a PDF disappeared.--
>
> This is a game-changer.  It suggests that there is a problem with your
> MiKTeX
> installation (assuming MiKTeX is what you're using, which on Windows is
> quite
> likely).  Am I right that View > PDF (pdflatex) is also no longer
> available?
>


Yes, that's also gone. And this whole mess started when I ended up
reinstalling MiKTeX (and installing the latest version) because I was
getting errors in LyX about wasy fonts.


> After the reconfiguration, does LyX still offer View > DVI and Export >
> DVI?
>

No, only LyXHTML is available.

BTW, when I opened the file I had been working with, I got an error message
starting with ""Selected document class article requires external files that
are not available." The file did open, but without graphics.

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-01 Thread Richard Heck
On 08/31/2011 08:07 PM, Jane Shevtsov wrote:
 I just installed Lyx 2.0 (upgraded from 1.6 because of a problem I was
 having, although I used it successfully for quite a while) and I can't
 export any PDFs, although the message at the bottom says, Successful
 export to format: pdf2. I'm running Windows 7 and have both Acrobat
 Reader 10 and Foxit Reader installed, with Foxit being the default. 
 Also, the only options I'm seeing under Preferences  File Handling 
 File Formats  PDF (pdflatex) are None and Custom.  Please help.

The first thing to try is reconfiguring. You may be a victim of some
bugs related to Python. I think these will be fixed in 2.0.1, which
should be out shortly.

Richard



Re: Can't Export PDF from LyX

2011-09-01 Thread Jane Shevtsov
What do I reconfigure? Or do you mean reinstalling? In that case, I've
already tried it.

Jane

On Thu, Sep 1, 2011 at 7:15 AM, Richard Heck rgh...@comcast.net wrote:

 On 08/31/2011 08:07 PM, Jane Shevtsov wrote:
  I just installed Lyx 2.0 (upgraded from 1.6 because of a problem I was
  having, although I used it successfully for quite a while) and I can't
  export any PDFs, although the message at the bottom says, Successful
  export to format: pdf2. I'm running Windows 7 and have both Acrobat
  Reader 10 and Foxit Reader installed, with Foxit being the default.
  Also, the only options I'm seeing under Preferences  File Handling 
  File Formats  PDF (pdflatex) are None and Custom.  Please help.
 
 The first thing to try is reconfiguring. You may be a victim of some
 bugs related to Python. I think these will be fixed in 2.0.1, which
 should be out shortly.

 Richard




-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-01 Thread Rich Shepard

On Thu, 1 Sep 2011, Jane Shevtsov wrote:


What do I reconfigure? Or do you mean reinstalling? In that case, I've
already tried it.


Jane,

  Look at the Edit menu. Second from the bottom it says, Reconfigure.
Click on that, then exit LyX and restart it.

Rich


Re: Can't Export PDF from LyX

2011-09-01 Thread Liviu Andronic
On Thu, Sep 1, 2011 at 8:31 PM, Rich Shepard rshep...@appl-ecosys.com wrote:
  Look at the Edit menu. Second from the bottom it says, Reconfigure.
 Click on that, then exit LyX and restart it.

In Windows it should be Tools  Reconfigure. But re-installing should
have already done that, so the issue might lay elsewhere.

Liviu


Re: Can't Export PDF from LyX

2011-09-01 Thread Paul Rubin
Jane Shevtsov jane.eco at gmail.com writes:

 
 I just installed Lyx 2.0 (upgraded from 1.6 because of a problem I was having,
although I used it successfully for quite a while) and I can't export any PDFs,
although the message at the bottom says, Successful export to format: pdf2.

So, despite the message, the PDF file does not show up in the directory where
the LyX doc lives?  Try exporting and (with LyX still running) use Windows
Explorer to check the LyX temporary directory.  (If you're not sure where that
is, check Tools  Preferences  Paths  Temporary directory.  I could pretty
much tell you from memory where it is on XP, but Win 7 moved stuff around, and
I'm not on a Win box right now.)  Assuming you can find the directory, if the
PDF file is sitting in it, then the problem may be something with access
permissions for the directory where the source document is (unlikely, 
but possible).

 I'm running Windows 7 and have both Acrobat Reader 10 and Foxit Reader
installed, with Foxit being the default.  Also, the only options I'm seeing
under Preferences  File Handling  File Formats  PDF (pdflatex) are None 
and Custom.

Are Acrobat Reader and Foxit on your system command path (meaning: can you run
either one from a DOS prompt)?  If not, it's possible that adding one or both to
your system path and then reconfiguring LyX might fix the problem.

Paul




Re: Can't Export PDF from LyX

2011-09-01 Thread Richard Heck
On 08/31/2011 08:07 PM, Jane Shevtsov wrote:
 I just installed Lyx 2.0 (upgraded from 1.6 because of a problem I was
 having, although I used it successfully for quite a while) and I can't
 export any PDFs, although the message at the bottom says, Successful
 export to format: pdf2. I'm running Windows 7 and have both Acrobat
 Reader 10 and Foxit Reader installed, with Foxit being the default. 
 Also, the only options I'm seeing under Preferences  File Handling 
 File Formats  PDF (pdflatex) are None and Custom.  Please help.

The first thing to try is reconfiguring. You may be a victim of some
bugs related to Python. I think these will be fixed in 2.0.1, which
should be out shortly.

Richard



Re: Can't Export PDF from LyX

2011-09-01 Thread Jane Shevtsov
What do I reconfigure? Or do you mean reinstalling? In that case, I've
already tried it.

Jane

On Thu, Sep 1, 2011 at 7:15 AM, Richard Heck rgh...@comcast.net wrote:

 On 08/31/2011 08:07 PM, Jane Shevtsov wrote:
  I just installed Lyx 2.0 (upgraded from 1.6 because of a problem I was
  having, although I used it successfully for quite a while) and I can't
  export any PDFs, although the message at the bottom says, Successful
  export to format: pdf2. I'm running Windows 7 and have both Acrobat
  Reader 10 and Foxit Reader installed, with Foxit being the default.
  Also, the only options I'm seeing under Preferences  File Handling 
  File Formats  PDF (pdflatex) are None and Custom.  Please help.
 
 The first thing to try is reconfiguring. You may be a victim of some
 bugs related to Python. I think these will be fixed in 2.0.1, which
 should be out shortly.

 Richard




-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-01 Thread Rich Shepard

On Thu, 1 Sep 2011, Jane Shevtsov wrote:


What do I reconfigure? Or do you mean reinstalling? In that case, I've
already tried it.


Jane,

  Look at the Edit menu. Second from the bottom it says, Reconfigure.
Click on that, then exit LyX and restart it.

Rich


Re: Can't Export PDF from LyX

2011-09-01 Thread Liviu Andronic
On Thu, Sep 1, 2011 at 8:31 PM, Rich Shepard rshep...@appl-ecosys.com wrote:
  Look at the Edit menu. Second from the bottom it says, Reconfigure.
 Click on that, then exit LyX and restart it.

In Windows it should be Tools  Reconfigure. But re-installing should
have already done that, so the issue might lay elsewhere.

Liviu


Re: Can't Export PDF from LyX

2011-09-01 Thread Paul Rubin
Jane Shevtsov jane.eco at gmail.com writes:

 
 I just installed Lyx 2.0 (upgraded from 1.6 because of a problem I was having,
although I used it successfully for quite a while) and I can't export any PDFs,
although the message at the bottom says, Successful export to format: pdf2.

So, despite the message, the PDF file does not show up in the directory where
the LyX doc lives?  Try exporting and (with LyX still running) use Windows
Explorer to check the LyX temporary directory.  (If you're not sure where that
is, check Tools  Preferences  Paths  Temporary directory.  I could pretty
much tell you from memory where it is on XP, but Win 7 moved stuff around, and
I'm not on a Win box right now.)  Assuming you can find the directory, if the
PDF file is sitting in it, then the problem may be something with access
permissions for the directory where the source document is (unlikely, 
but possible).

 I'm running Windows 7 and have both Acrobat Reader 10 and Foxit Reader
installed, with Foxit being the default.  Also, the only options I'm seeing
under Preferences  File Handling  File Formats  PDF (pdflatex) are None 
and Custom.

Are Acrobat Reader and Foxit on your system command path (meaning: can you run
either one from a DOS prompt)?  If not, it's possible that adding one or both to
your system path and then reconfiguring LyX might fix the problem.

Paul




Re: Can't Export PDF from LyX

2011-09-01 Thread Richard Heck
On 08/31/2011 08:07 PM, Jane Shevtsov wrote:
> I just installed Lyx 2.0 (upgraded from 1.6 because of a problem I was
> having, although I used it successfully for quite a while) and I can't
> export any PDFs, although the message at the bottom says, "Successful
> export to format: pdf2". I'm running Windows 7 and have both Acrobat
> Reader 10 and Foxit Reader installed, with Foxit being the default. 
> Also, the only options I'm seeing under Preferences > File Handling >
> File Formats > PDF (pdflatex) are "None" and "Custom".  Please help.
>
The first thing to try is reconfiguring. You may be a victim of some
bugs related to Python. I think these will be fixed in 2.0.1, which
should be out shortly.

Richard



Re: Can't Export PDF from LyX

2011-09-01 Thread Jane Shevtsov
What do I reconfigure? Or do you mean reinstalling? In that case, I've
already tried it.

Jane

On Thu, Sep 1, 2011 at 7:15 AM, Richard Heck  wrote:

> On 08/31/2011 08:07 PM, Jane Shevtsov wrote:
> > I just installed Lyx 2.0 (upgraded from 1.6 because of a problem I was
> > having, although I used it successfully for quite a while) and I can't
> > export any PDFs, although the message at the bottom says, "Successful
> > export to format: pdf2". I'm running Windows 7 and have both Acrobat
> > Reader 10 and Foxit Reader installed, with Foxit being the default.
> > Also, the only options I'm seeing under Preferences > File Handling >
> > File Formats > PDF (pdflatex) are "None" and "Custom".  Please help.
> >
> The first thing to try is reconfiguring. You may be a victim of some
> bugs related to Python. I think these will be fixed in 2.0.1, which
> should be out shortly.
>
> Richard
>
>


-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: Can't Export PDF from LyX

2011-09-01 Thread Rich Shepard

On Thu, 1 Sep 2011, Jane Shevtsov wrote:


What do I reconfigure? Or do you mean reinstalling? In that case, I've
already tried it.


Jane,

  Look at the Edit menu. Second from the bottom it says, "Reconfigure."
Click on that, then exit LyX and restart it.

Rich


Re: Can't Export PDF from LyX

2011-09-01 Thread Liviu Andronic
On Thu, Sep 1, 2011 at 8:31 PM, Rich Shepard  wrote:
>  Look at the Edit menu. Second from the bottom it says, "Reconfigure."
> Click on that, then exit LyX and restart it.
>
In Windows it should be Tools > Reconfigure. But re-installing should
have already done that, so the issue might lay elsewhere.

Liviu


Re: Can't Export PDF from LyX

2011-09-01 Thread Paul Rubin
Jane Shevtsov  gmail.com> writes:

> 
> I just installed Lyx 2.0 (upgraded from 1.6 because of a problem I was having,
although I used it successfully for quite a while) and I can't export any PDFs,
although the message at the bottom says, "Successful export to format: pdf2".

So, despite the message, the PDF file does not show up in the directory where
the LyX doc lives?  Try exporting and (with LyX still running) use Windows
Explorer to check the LyX temporary directory.  (If you're not sure where that
is, check Tools > Preferences > Paths > Temporary directory.  I could pretty
much tell you from memory where it is on XP, but Win 7 moved stuff around, and
I'm not on a Win box right now.)  Assuming you can find the directory, if the
PDF file is sitting in it, then the problem may be something with access
permissions for the directory where the source document is (unlikely, 
but possible).

> I'm running Windows 7 and have both Acrobat Reader 10 and Foxit Reader
installed, with Foxit being the default.  Also, the only options I'm seeing
under Preferences > File Handling > File Formats > PDF (pdflatex) are "None" 
and "Custom".

Are Acrobat Reader and Foxit on your system command path (meaning: can you run
either one from a DOS prompt)?  If not, it's possible that adding one or both to
your system path and then reconfiguring LyX might fix the problem.

Paul