Re: pdfLaTeX 'not responding'

2008-01-22 Thread Paul A. Rubin

Joel Pedro wrote:
Thanks for the advice Paul. 
I am using MiKTeX. I tried running pdflatex from DOS prompt. This works ok - 
much faster than with LyX. I dont get any useful diagnostic. Does this suggest

the problem is with LyX? How do I determine if font generation is hosted on my
machine?


Sorry, that was hosed (American slang for broken) rather than 
hosted.  I need to watch my vernacular.  :-)


If pdflatex at the DOS prompt ran at what you would consider to be 
normal or acceptable speed, and did not produce any diagnostics, then 
font generation is not the culprit.  A quick test would be to retry the 
same document in LyX after successfully generating and view the PDF file 
from DOS.  Once the necessary fonts are generated, they are stored on 
your hard drive, and there is no need to generate them again.  So if 
font generation were an issue, previewing PDF (or DVI) from LyX would be 
fine once you had done it outside LyX.  My guess is that is not the problem.


You would seem to have enough RAM (more than I have; I'm jealous), but 
it's always possible that enough other junk is being loaded to make you 
RAM-tight.  When you preview from LyX and it takes a long time, is the 
hard drive thrashing (cycling continuously)?  That could be an 
indication that you are short of RAM and doing a lot of page-swapping.


Another possibility would be that there is a problem with where LyX is 
writing temporary files.  Tools - Preferences - Paths - Temporary 
directory will tell you where LyX is putting the temporary files.  Is it 
on your main hard drive, or is it perhaps set to use a network drive? 
If it's on your machine, does the partition containing that directory 
have a reasonable amount of free space?  (I think this is a stretch, but 
one difference between your running pdflatex at a DOS prompt and LyX 
running it is where the files are placed.)


One last thing that comes to mind:  Is MiKTeX the only LaTeX 
distribution on your machine?  In particular, do you have Cygwin 
installed?  I once had a problem on a machine that had Cygwin:  I 
installed MiKTeX without realizing that Cygwin came with its own version 
of latex, which was ahead of MiKTeX on the command path.  If you run 
'pdflatex --version' from a DOS prompt, does it identify itself as 
MiKTeX-pdfTeX?


/Paul



Re: pdfLaTeX 'not responding'

2008-01-22 Thread Paul A. Rubin

Joel Pedro wrote:
Thanks for the advice Paul. 
I am using MiKTeX. I tried running pdflatex from DOS prompt. This works ok - 
much faster than with LyX. I dont get any useful diagnostic. Does this suggest

the problem is with LyX? How do I determine if font generation is hosted on my
machine?


Sorry, that was hosed (American slang for broken) rather than 
hosted.  I need to watch my vernacular.  :-)


If pdflatex at the DOS prompt ran at what you would consider to be 
normal or acceptable speed, and did not produce any diagnostics, then 
font generation is not the culprit.  A quick test would be to retry the 
same document in LyX after successfully generating and view the PDF file 
from DOS.  Once the necessary fonts are generated, they are stored on 
your hard drive, and there is no need to generate them again.  So if 
font generation were an issue, previewing PDF (or DVI) from LyX would be 
fine once you had done it outside LyX.  My guess is that is not the problem.


You would seem to have enough RAM (more than I have; I'm jealous), but 
it's always possible that enough other junk is being loaded to make you 
RAM-tight.  When you preview from LyX and it takes a long time, is the 
hard drive thrashing (cycling continuously)?  That could be an 
indication that you are short of RAM and doing a lot of page-swapping.


Another possibility would be that there is a problem with where LyX is 
writing temporary files.  Tools - Preferences - Paths - Temporary 
directory will tell you where LyX is putting the temporary files.  Is it 
on your main hard drive, or is it perhaps set to use a network drive? 
If it's on your machine, does the partition containing that directory 
have a reasonable amount of free space?  (I think this is a stretch, but 
one difference between your running pdflatex at a DOS prompt and LyX 
running it is where the files are placed.)


One last thing that comes to mind:  Is MiKTeX the only LaTeX 
distribution on your machine?  In particular, do you have Cygwin 
installed?  I once had a problem on a machine that had Cygwin:  I 
installed MiKTeX without realizing that Cygwin came with its own version 
of latex, which was ahead of MiKTeX on the command path.  If you run 
'pdflatex --version' from a DOS prompt, does it identify itself as 
MiKTeX-pdfTeX?


/Paul



Re: pdfLaTeX 'not responding'

2008-01-22 Thread Paul A. Rubin

Joel Pedro wrote:
Thanks for the advice Paul. 
I am using MiKTeX. I tried running pdflatex from DOS prompt. This works ok - 
much faster than with LyX. I dont get any useful diagnostic. Does this suggest

the problem is with LyX? How do I determine if font generation is hosted on my
machine?


Sorry, that was "hosed" (American slang for "broken") rather than 
"hosted".  I need to watch my vernacular.  :-)


If pdflatex at the DOS prompt ran at what you would consider to be 
normal or acceptable speed, and did not produce any diagnostics, then 
font generation is not the culprit.  A quick test would be to retry the 
same document in LyX after successfully generating and view the PDF file 
from DOS.  Once the necessary fonts are generated, they are stored on 
your hard drive, and there is no need to generate them again.  So if 
font generation were an issue, previewing PDF (or DVI) from LyX would be 
fine once you had done it outside LyX.  My guess is that is not the problem.


You would seem to have enough RAM (more than I have; I'm jealous), but 
it's always possible that enough other junk is being loaded to make you 
RAM-tight.  When you preview from LyX and it takes a long time, is the 
hard drive thrashing (cycling continuously)?  That could be an 
indication that you are short of RAM and doing a lot of page-swapping.


Another possibility would be that there is a problem with where LyX is 
writing temporary files.  Tools -> Preferences -> Paths -> Temporary 
directory will tell you where LyX is putting the temporary files.  Is it 
on your main hard drive, or is it perhaps set to use a network drive? 
If it's on your machine, does the partition containing that directory 
have a reasonable amount of free space?  (I think this is a stretch, but 
one difference between your running pdflatex at a DOS prompt and LyX 
running it is where the files are placed.)


One last thing that comes to mind:  Is MiKTeX the only LaTeX 
distribution on your machine?  In particular, do you have Cygwin 
installed?  I once had a problem on a machine that had Cygwin:  I 
installed MiKTeX without realizing that Cygwin came with its own version 
of latex, which was ahead of MiKTeX on the command path.  If you run 
'pdflatex --version' from a DOS prompt, does it identify itself as 
MiKTeX-pdfTeX?


/Paul



pdfLaTeX 'not responding'

2008-01-21 Thread Joel Pedro
Hi,

I have recently installed LyX 1.5.3 on a Windows XP system. When i attempt to
use pdfLaTeX a pdf file is generated at best very slowly and at worst LyX
crashes. This happens for simple text only documents (even un-edited LyX
templates take several minutes to produce a pdf). Dvi preview is also very slow
and sometimes crashes. I do no think the problem is my computer speed (i am
using on an Intel T2300 machine 1.66GHz 980MHz .98GB Ram). 

I have spent a couple of hours looking through manuals and FAQ and searched the
forums but cannot find what the problem might be. 

Any help would be much appreciated.

thanks, Joel.   



Re: pdfLaTeX 'not responding'

2008-01-21 Thread Paul A. Rubin

Joel Pedro wrote:

Hi,

I have recently installed LyX 1.5.3 on a Windows XP system. When i attempt to
use pdfLaTeX a pdf file is generated at best very slowly and at worst LyX
crashes. This happens for simple text only documents (even un-edited LyX
templates take several minutes to produce a pdf). Dvi preview is also very slow
and sometimes crashes. I do no think the problem is my computer speed (i am
using on an Intel T2300 machine 1.66GHz 980MHz .98GB Ram). 


I have spent a couple of hours looking through manuals and FAQ and searched the
forums but cannot find what the problem might be. 


Any help would be much appreciated.

thanks, Joel.   





Are you using MiKTeX?  (Not that it should matter.)  Try exporting a 
smallish file from LyX to LaTeX (pdflatex) using File - Export.  Make 
sure the MiKTeX (or whatever) bin directory is on your command path, 
then run 'pdflatex file.tex' from a DOS prompt and see if you get any 
informative diagnostic messages (or screams for mercy).  In my 
experience, when MiKTeX grinds slowly on a less-than-Dickensian 
document, it's usually because it's cranking out fonts on the fly, so 
maybe font generation is hosed on your machine (?).


/Paul



Re: pdfLaTeX 'not responding'

2008-01-21 Thread Joel Pedro
Thanks for the advice Paul. 
I am using MiKTeX. I tried running pdflatex from DOS prompt. This works ok - 
much faster than with LyX. I dont get any useful diagnostic. Does this suggest
the problem is with LyX? How do I determine if font generation is hosted on my
machine?
cheers, Joel.   
   





pdfLaTeX 'not responding'

2008-01-21 Thread Joel Pedro
Hi,

I have recently installed LyX 1.5.3 on a Windows XP system. When i attempt to
use pdfLaTeX a pdf file is generated at best very slowly and at worst LyX
crashes. This happens for simple text only documents (even un-edited LyX
templates take several minutes to produce a pdf). Dvi preview is also very slow
and sometimes crashes. I do no think the problem is my computer speed (i am
using on an Intel T2300 machine 1.66GHz 980MHz .98GB Ram). 

I have spent a couple of hours looking through manuals and FAQ and searched the
forums but cannot find what the problem might be. 

Any help would be much appreciated.

thanks, Joel.   



Re: pdfLaTeX 'not responding'

2008-01-21 Thread Paul A. Rubin

Joel Pedro wrote:

Hi,

I have recently installed LyX 1.5.3 on a Windows XP system. When i attempt to
use pdfLaTeX a pdf file is generated at best very slowly and at worst LyX
crashes. This happens for simple text only documents (even un-edited LyX
templates take several minutes to produce a pdf). Dvi preview is also very slow
and sometimes crashes. I do no think the problem is my computer speed (i am
using on an Intel T2300 machine 1.66GHz 980MHz .98GB Ram). 


I have spent a couple of hours looking through manuals and FAQ and searched the
forums but cannot find what the problem might be. 


Any help would be much appreciated.

thanks, Joel.   





Are you using MiKTeX?  (Not that it should matter.)  Try exporting a 
smallish file from LyX to LaTeX (pdflatex) using File - Export.  Make 
sure the MiKTeX (or whatever) bin directory is on your command path, 
then run 'pdflatex file.tex' from a DOS prompt and see if you get any 
informative diagnostic messages (or screams for mercy).  In my 
experience, when MiKTeX grinds slowly on a less-than-Dickensian 
document, it's usually because it's cranking out fonts on the fly, so 
maybe font generation is hosed on your machine (?).


/Paul



Re: pdfLaTeX 'not responding'

2008-01-21 Thread Joel Pedro
Thanks for the advice Paul. 
I am using MiKTeX. I tried running pdflatex from DOS prompt. This works ok - 
much faster than with LyX. I dont get any useful diagnostic. Does this suggest
the problem is with LyX? How do I determine if font generation is hosted on my
machine?
cheers, Joel.   
   





pdfLaTeX 'not responding'

2008-01-21 Thread Joel Pedro
Hi,

I have recently installed LyX 1.5.3 on a Windows XP system. When i attempt to
use pdfLaTeX a pdf file is generated at best very slowly and at worst LyX
crashes. This happens for simple text only documents (even un-edited LyX
templates take several minutes to produce a pdf). Dvi preview is also very slow
and sometimes crashes. I do no think the problem is my computer speed (i am
using on an Intel T2300 machine 1.66GHz 980MHz .98GB Ram). 

I have spent a couple of hours looking through manuals and FAQ and searched the
forums but cannot find what the problem might be. 

Any help would be much appreciated.

thanks, Joel.   



Re: pdfLaTeX 'not responding'

2008-01-21 Thread Paul A. Rubin

Joel Pedro wrote:

Hi,

I have recently installed LyX 1.5.3 on a Windows XP system. When i attempt to
use pdfLaTeX a pdf file is generated at best very slowly and at worst LyX
crashes. This happens for simple text only documents (even un-edited LyX
templates take several minutes to produce a pdf). Dvi preview is also very slow
and sometimes crashes. I do no think the problem is my computer speed (i am
using on an Intel T2300 machine 1.66GHz 980MHz .98GB Ram). 


I have spent a couple of hours looking through manuals and FAQ and searched the
forums but cannot find what the problem might be. 


Any help would be much appreciated.

thanks, Joel.   





Are you using MiKTeX?  (Not that it should matter.)  Try exporting a 
smallish file from LyX to LaTeX (pdflatex) using File -> Export.  Make 
sure the MiKTeX (or whatever) bin directory is on your command path, 
then run 'pdflatex ' from a DOS prompt and see if you get any 
informative diagnostic messages (or screams for mercy).  In my 
experience, when MiKTeX grinds slowly on a less-than-Dickensian 
document, it's usually because it's cranking out fonts on the fly, so 
maybe font generation is hosed on your machine (?).


/Paul



Re: pdfLaTeX 'not responding'

2008-01-21 Thread Joel Pedro
Thanks for the advice Paul. 
I am using MiKTeX. I tried running pdflatex from DOS prompt. This works ok - 
much faster than with LyX. I dont get any useful diagnostic. Does this suggest
the problem is with LyX? How do I determine if font generation is hosted on my
machine?
cheers, Joel.