Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
You said that if you use File-Export-LaTeX and then run pdflatex manually, the document compiles correctly (nothing hangs), right? If so, then it shouldn't be the class file, because the same class file is being used in the manual run. If I'm wrong about exporting to LaTeX working, then that suggests either the class file or the document itself has something funny in it. Compiling the document manually works very well, in my case I do - pdflatex example.tex - bibtex example - pdflatex example.tex - pdflatex example.tex and it finishes successfully. If pdflatex is hanging while scanning the auxiliary file, it could be that the file is terminated incorrectly (so that pdflatex is waiting for more input), or it could be that something has a lock on the file (and pdflatex is waiting to begin reading it). This might be possible, but how to debug? In a posting from the texlipse mailing list I read about texify. So I replaced the pdflatex.exe command in LyX with texify.exe plus additional parameters for pdf generation and then I could export my LyX documents to pdf. And there were no errors... Do you have labels and cross-references in the document? IIRC, the .aux file is also used for cross-references, not just citations. I'm not sure what one could do with a cross-reference that would cause pdflatex to hang -- missing labels would not cause that -- but perhaps if a label contains a non-latin character it might cause a problem. (I'm groping in a very dark place here.) No, but the .aux file contains some data about footnotes (in my document class I use the footmisc package) as well as citation data. /Paul Thanks... Florian
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: Compiling the document manually works very well, in my case I do - pdflatex example.tex - bibtex example - pdflatex example.tex - pdflatex example.tex and it finishes successfully. I take that to mean that your class file is not the culprit, and there is nothing off in your .bib file. There have been reports of problems that traced back to a defective entry in a .bib file, but that would not seem to be the case here. If pdflatex is hanging while scanning the auxiliary file, it could be that the file is terminated incorrectly (so that pdflatex is waiting for more input), or it could be that something has a lock on the file (and pdflatex is waiting to begin reading it). This might be possible, but how to debug? In a posting from the texlipse mailing list I read about texify. So I replaced the pdflatex.exe command in LyX with texify.exe plus additional parameters for pdf generation and then I could export my LyX documents to pdf. And there were no errors... Did the additional parameters cause pdflatex to be run, or was the PDF output generated by a different mechanism (for instance, ps2pdf)? Do you have labels and cross-references in the document? IIRC, the .aux file is also used for cross-references, not just citations. I'm not sure what one could do with a cross-reference that would cause pdflatex to hang -- missing labels would not cause that -- but perhaps if a label contains a non-latin character it might cause a problem. (I'm groping in a very dark place here.) No, but the .aux file contains some data about footnotes (in my document class I use the footmisc package) as well as citation data. Hypothetically, an unreadable character in a footnote could cause problems -- I think I've seen reports that traced back to foreign (at least, non-English) characters in footnotes -- but that would not explain why you have no problem running the document manually. When you run manually, do you do it by exporting a .tex file and then running? If so, have you tried executing View-LaTeX (pdflatex), killing the job when it hangs, then running pdflatex (then bibtex, then pdflatex twice more) against the .tex file in the temp directory? If that hangs where running against an exported copy succeeds, that would suggest that there is something in the copy exported to the temp file (either in the .tex file or in the .bib file) causing the problem. The two exports are not identical: LyX modifies file names and paths in the copy exported to the temp directory. /Paul
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
You said that if you use File-Export-LaTeX and then run pdflatex manually, the document compiles correctly (nothing hangs), right? If so, then it shouldn't be the class file, because the same class file is being used in the manual run. If I'm wrong about exporting to LaTeX working, then that suggests either the class file or the document itself has something funny in it. Compiling the document manually works very well, in my case I do - pdflatex example.tex - bibtex example - pdflatex example.tex - pdflatex example.tex and it finishes successfully. If pdflatex is hanging while scanning the auxiliary file, it could be that the file is terminated incorrectly (so that pdflatex is waiting for more input), or it could be that something has a lock on the file (and pdflatex is waiting to begin reading it). This might be possible, but how to debug? In a posting from the texlipse mailing list I read about texify. So I replaced the pdflatex.exe command in LyX with texify.exe plus additional parameters for pdf generation and then I could export my LyX documents to pdf. And there were no errors... Do you have labels and cross-references in the document? IIRC, the .aux file is also used for cross-references, not just citations. I'm not sure what one could do with a cross-reference that would cause pdflatex to hang -- missing labels would not cause that -- but perhaps if a label contains a non-latin character it might cause a problem. (I'm groping in a very dark place here.) No, but the .aux file contains some data about footnotes (in my document class I use the footmisc package) as well as citation data. /Paul Thanks... Florian
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: Compiling the document manually works very well, in my case I do - pdflatex example.tex - bibtex example - pdflatex example.tex - pdflatex example.tex and it finishes successfully. I take that to mean that your class file is not the culprit, and there is nothing off in your .bib file. There have been reports of problems that traced back to a defective entry in a .bib file, but that would not seem to be the case here. If pdflatex is hanging while scanning the auxiliary file, it could be that the file is terminated incorrectly (so that pdflatex is waiting for more input), or it could be that something has a lock on the file (and pdflatex is waiting to begin reading it). This might be possible, but how to debug? In a posting from the texlipse mailing list I read about texify. So I replaced the pdflatex.exe command in LyX with texify.exe plus additional parameters for pdf generation and then I could export my LyX documents to pdf. And there were no errors... Did the additional parameters cause pdflatex to be run, or was the PDF output generated by a different mechanism (for instance, ps2pdf)? Do you have labels and cross-references in the document? IIRC, the .aux file is also used for cross-references, not just citations. I'm not sure what one could do with a cross-reference that would cause pdflatex to hang -- missing labels would not cause that -- but perhaps if a label contains a non-latin character it might cause a problem. (I'm groping in a very dark place here.) No, but the .aux file contains some data about footnotes (in my document class I use the footmisc package) as well as citation data. Hypothetically, an unreadable character in a footnote could cause problems -- I think I've seen reports that traced back to foreign (at least, non-English) characters in footnotes -- but that would not explain why you have no problem running the document manually. When you run manually, do you do it by exporting a .tex file and then running? If so, have you tried executing View-LaTeX (pdflatex), killing the job when it hangs, then running pdflatex (then bibtex, then pdflatex twice more) against the .tex file in the temp directory? If that hangs where running against an exported copy succeeds, that would suggest that there is something in the copy exported to the temp file (either in the .tex file or in the .bib file) causing the problem. The two exports are not identical: LyX modifies file names and paths in the copy exported to the temp directory. /Paul
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
You said that if you use File->Export->LaTeX and then run pdflatex manually, the document compiles correctly (nothing hangs), right? If so, then it shouldn't be the class file, because the same class file is being used in the manual run. If I'm wrong about exporting to LaTeX working, then that suggests either the class file or the document itself has something funny in it. Compiling the document manually works very well, in my case I do - pdflatex example.tex - bibtex example - pdflatex example.tex - pdflatex example.tex and it finishes successfully. If pdflatex is hanging while scanning the auxiliary file, it could be that the file is terminated incorrectly (so that pdflatex is waiting for more input), or it could be that something has a lock on the file (and pdflatex is waiting to begin reading it). This might be possible, but how to debug? In a posting from the texlipse mailing list I read about texify. So I replaced the pdflatex.exe command in LyX with texify.exe plus additional parameters for pdf generation and then I could export my LyX documents to pdf. And there were no errors... Do you have labels and cross-references in the document? IIRC, the .aux file is also used for cross-references, not just citations. I'm not sure what one could do with a cross-reference that would cause pdflatex to hang -- missing labels would not cause that -- but perhaps if a label contains a non-latin character it might cause a problem. (I'm groping in a very dark place here.) No, but the .aux file contains some data about footnotes (in my document class I use the footmisc package) as well as citation data. /Paul Thanks... Florian
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: Compiling the document manually works very well, in my case I do - pdflatex example.tex - bibtex example - pdflatex example.tex - pdflatex example.tex and it finishes successfully. I take that to mean that your class file is not the culprit, and there is nothing off in your .bib file. There have been reports of problems that traced back to a defective entry in a .bib file, but that would not seem to be the case here. If pdflatex is hanging while scanning the auxiliary file, it could be that the file is terminated incorrectly (so that pdflatex is waiting for more input), or it could be that something has a lock on the file (and pdflatex is waiting to begin reading it). This might be possible, but how to debug? In a posting from the texlipse mailing list I read about texify. So I replaced the pdflatex.exe command in LyX with texify.exe plus additional parameters for pdf generation and then I could export my LyX documents to pdf. And there were no errors... Did the additional parameters cause pdflatex to be run, or was the PDF output generated by a different mechanism (for instance, ps2pdf)? Do you have labels and cross-references in the document? IIRC, the .aux file is also used for cross-references, not just citations. I'm not sure what one could do with a cross-reference that would cause pdflatex to hang -- missing labels would not cause that -- but perhaps if a label contains a non-latin character it might cause a problem. (I'm groping in a very dark place here.) No, but the .aux file contains some data about footnotes (in my document class I use the footmisc package) as well as citation data. Hypothetically, an unreadable character in a footnote could cause problems -- I think I've seen reports that traced back to "foreign" (at least, non-English) characters in footnotes -- but that would not explain why you have no problem running the document manually. When you run manually, do you do it by exporting a .tex file and then running? If so, have you tried executing View->LaTeX (pdflatex), killing the job when it hangs, then running pdflatex (then bibtex, then pdflatex twice more) against the .tex file in the temp directory? If that hangs where running against an exported copy succeeds, that would suggest that there is something in the copy exported to the temp file (either in the .tex file or in the .bib file) causing the problem. The two exports are not identical: LyX modifies file names and paths in the copy exported to the temp directory. /Paul
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Paul A. Rubin schrieb: Florian Kamm wrote: the View-PDF (pdflatex) causes the same bahavior I described above. Then I looked into the temporary folder LyX was using during the run. Surprisingly I found a fine pdf-file, correctly put together (the toc, normal text and bibliography). But LyX still hangs and needs to killed via process manager. The log-file doesn't report any problems. Further launching from the command line works well. Does the document contain graphics and, if so, are they intact in the pdf output file? Someone had a problem similar to this generating LaTeX output -- turned out to be something pplatex was doing in post-processing -- but I have not seen this with pdflatex. You might try the following: Open a DOS prompt in the LyX bin directory, and start LyX with 'lyx -dbg latex'. Then open the document and either export or view using pdflatex. The DOS window will get a lot of debugging output, but only the chunk just before the hang will be of interest. When the hang occurs, take a look in the task list and see if you can see pdflatex still running. The most likely explanation for LyX hanging would be that pdflatex never exits. (If it exited with an error code, I assume LyX would register that, although I can't swear that it would.) /Paul Well, I followed your suggestions and it seems that LyX hangs while pdflatex is scanning the .aux file (which contains the correct information if I open it manually). For debugging reasons I deleted the bibliography stuff, but the problem still exists. If I stop the scanning by pressing Ctrl-C the pdf generation will succeed. Is it possible that the problems are caused by my - possibly buggy - cls style file? Florian
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: Well, I followed your suggestions and it seems that LyX hangs while pdflatex is scanning the .aux file (which contains the correct information if I open it manually). For debugging reasons I deleted the bibliography stuff, but the problem still exists. If I stop the scanning by pressing Ctrl-C the pdf generation will succeed. Is it possible that the problems are caused by my - possibly buggy - cls style file? You said that if you use File-Export-LaTeX and then run pdflatex manually, the document compiles correctly (nothing hangs), right? If so, then it shouldn't be the class file, because the same class file is being used in the manual run. If I'm wrong about exporting to LaTeX working, then that suggests either the class file or the document itself has something funny in it. If pdflatex is hanging while scanning the auxiliary file, it could be that the file is terminated incorrectly (so that pdflatex is waiting for more input), or it could be that something has a lock on the file (and pdflatex is waiting to begin reading it). Do you have labels and cross-references in the document? IIRC, the .aux file is also used for cross-references, not just citations. I'm not sure what one could do with a cross-reference that would cause pdflatex to hang -- missing labels would not cause that -- but perhaps if a label contains a non-latin character it might cause a problem. (I'm groping in a very dark place here.) /Paul
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Paul A. Rubin schrieb: Florian Kamm wrote: the View-PDF (pdflatex) causes the same bahavior I described above. Then I looked into the temporary folder LyX was using during the run. Surprisingly I found a fine pdf-file, correctly put together (the toc, normal text and bibliography). But LyX still hangs and needs to killed via process manager. The log-file doesn't report any problems. Further launching from the command line works well. Does the document contain graphics and, if so, are they intact in the pdf output file? Someone had a problem similar to this generating LaTeX output -- turned out to be something pplatex was doing in post-processing -- but I have not seen this with pdflatex. You might try the following: Open a DOS prompt in the LyX bin directory, and start LyX with 'lyx -dbg latex'. Then open the document and either export or view using pdflatex. The DOS window will get a lot of debugging output, but only the chunk just before the hang will be of interest. When the hang occurs, take a look in the task list and see if you can see pdflatex still running. The most likely explanation for LyX hanging would be that pdflatex never exits. (If it exited with an error code, I assume LyX would register that, although I can't swear that it would.) /Paul Well, I followed your suggestions and it seems that LyX hangs while pdflatex is scanning the .aux file (which contains the correct information if I open it manually). For debugging reasons I deleted the bibliography stuff, but the problem still exists. If I stop the scanning by pressing Ctrl-C the pdf generation will succeed. Is it possible that the problems are caused by my - possibly buggy - cls style file? Florian
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: Well, I followed your suggestions and it seems that LyX hangs while pdflatex is scanning the .aux file (which contains the correct information if I open it manually). For debugging reasons I deleted the bibliography stuff, but the problem still exists. If I stop the scanning by pressing Ctrl-C the pdf generation will succeed. Is it possible that the problems are caused by my - possibly buggy - cls style file? You said that if you use File-Export-LaTeX and then run pdflatex manually, the document compiles correctly (nothing hangs), right? If so, then it shouldn't be the class file, because the same class file is being used in the manual run. If I'm wrong about exporting to LaTeX working, then that suggests either the class file or the document itself has something funny in it. If pdflatex is hanging while scanning the auxiliary file, it could be that the file is terminated incorrectly (so that pdflatex is waiting for more input), or it could be that something has a lock on the file (and pdflatex is waiting to begin reading it). Do you have labels and cross-references in the document? IIRC, the .aux file is also used for cross-references, not just citations. I'm not sure what one could do with a cross-reference that would cause pdflatex to hang -- missing labels would not cause that -- but perhaps if a label contains a non-latin character it might cause a problem. (I'm groping in a very dark place here.) /Paul
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Paul A. Rubin schrieb: Florian Kamm wrote: the View->PDF (pdflatex) causes the same bahavior I described above. Then I looked into the temporary folder LyX was using during the run. Surprisingly I found a fine pdf-file, correctly put together (the toc, normal text and bibliography). But LyX still hangs and needs to killed via process manager. The log-file doesn't report any problems. Further launching from the command line works well. Does the document contain graphics and, if so, are they intact in the pdf output file? Someone had a problem similar to this generating LaTeX output -- turned out to be something pplatex was doing in post-processing -- but I have not seen this with pdflatex. You might try the following: Open a DOS prompt in the LyX bin directory, and start LyX with 'lyx -dbg latex'. Then open the document and either export or view using pdflatex. The DOS window will get a lot of debugging output, but only the chunk just before the hang will be of interest. When the hang occurs, take a look in the task list and see if you can see pdflatex still running. The most likely explanation for LyX hanging would be that pdflatex never exits. (If it exited with an error code, I assume LyX would register that, although I can't swear that it would.) /Paul Well, I followed your suggestions and it seems that LyX hangs while pdflatex is scanning the .aux file (which contains the correct information if I open it manually). For debugging reasons I deleted the bibliography stuff, but the problem still exists. If I stop the scanning by pressing Ctrl-C the pdf generation will succeed. Is it possible that the problems are caused by my - possibly buggy - cls style file? Florian
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: Well, I followed your suggestions and it seems that LyX hangs while pdflatex is scanning the .aux file (which contains the correct information if I open it manually). For debugging reasons I deleted the bibliography stuff, but the problem still exists. If I stop the scanning by pressing Ctrl-C the pdf generation will succeed. Is it possible that the problems are caused by my - possibly buggy - cls style file? You said that if you use File->Export->LaTeX and then run pdflatex manually, the document compiles correctly (nothing hangs), right? If so, then it shouldn't be the class file, because the same class file is being used in the manual run. If I'm wrong about exporting to LaTeX working, then that suggests either the class file or the document itself has something funny in it. If pdflatex is hanging while scanning the auxiliary file, it could be that the file is terminated incorrectly (so that pdflatex is waiting for more input), or it could be that something has a lock on the file (and pdflatex is waiting to begin reading it). Do you have labels and cross-references in the document? IIRC, the .aux file is also used for cross-references, not just citations. I'm not sure what one could do with a cross-reference that would cause pdflatex to hang -- missing labels would not cause that -- but perhaps if a label contains a non-latin character it might cause a problem. (I'm groping in a very dark place here.) /Paul
[WinXP, LyX 1.4.2] Export to pdf with pdflatex
Hello everybody, I encountered a problem when I tried to export a lyx document to pdf using pdflatex. The first run is correctly started but will never stop, so I have to kill lyx manually. I am wondering where the problem is, because I actually can launch pdflatex from texlipse (an eclipse plugin) with success and from the command line, of course. So what's going wrong with lyx here? I am currently using a customized cls/layout style file with the newest Miktex distribution. I hope someone out there could give me any hints or point me to a workaround. Regards Florian Kamm Humboldt-University Berlin, Germany
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: Hello everybody, I encountered a problem when I tried to export a lyx document to pdf using pdflatex. The first run is correctly started but will never stop, so I have to kill lyx manually. I am wondering where the problem is, because I actually can launch pdflatex from texlipse (an eclipse plugin) with success and from the command line, of course. So what's going wrong with lyx here? I am currently using a customized cls/layout style file with the newest Miktex distribution. I hope someone out there could give me any hints or point me to a workaround. Regards Florian Kamm Humboldt-University Berlin, Germany What happens if you view the document with View-PDF (pdflatex) in LyX? Does it display and, if not, does the LaTeX log file (Document-LaTeX log) reveal anything about the problem? If View-PDF (pdflatex) hangs with no log entry, try exporting the document as a LaTeX file and then run pdflatex against it from the command line. Does that work, and/or does the log reveal anything? /Paul
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Paul A. Rubin schrieb: Florian Kamm wrote: Hello everybody, I encountered a problem when I tried to export a lyx document to pdf using pdflatex. The first run is correctly started but will never stop, so I have to kill lyx manually. I am wondering where the problem is, because I actually can launch pdflatex from texlipse (an eclipse plugin) with success and from the command line, of course. So what's going wrong with lyx here? I am currently using a customized cls/layout style file with the newest Miktex distribution. I hope someone out there could give me any hints or point me to a workaround. Regards Florian Kamm Humboldt-University Berlin, Germany What happens if you view the document with View-PDF (pdflatex) in LyX? Does it display and, if not, does the LaTeX log file (Document-LaTeX log) reveal anything about the problem? If View-PDF (pdflatex) hangs with no log entry, try exporting the document as a LaTeX file and then run pdflatex against it from the command line. Does that work, and/or does the log reveal anything? /Paul Hi Paul, the View-PDF (pdflatex) causes the same bahavior I described above. Then I looked into the temporary folder LyX was using during the run. Surprisingly I found a fine pdf-file, correctly put together (the toc, normal text and bibliography). But LyX still hangs and needs to killed via process manager. The log-file doesn't report any problems. Further launching from the command line works well. Thanks for the quick answer... Florian
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: the View-PDF (pdflatex) causes the same bahavior I described above. Then I looked into the temporary folder LyX was using during the run. Surprisingly I found a fine pdf-file, correctly put together (the toc, normal text and bibliography). But LyX still hangs and needs to killed via process manager. The log-file doesn't report any problems. Further launching from the command line works well. Does the document contain graphics and, if so, are they intact in the pdf output file? Someone had a problem similar to this generating LaTeX output -- turned out to be something pplatex was doing in post-processing -- but I have not seen this with pdflatex. You might try the following: Open a DOS prompt in the LyX bin directory, and start LyX with 'lyx -dbg latex'. Then open the document and either export or view using pdflatex. The DOS window will get a lot of debugging output, but only the chunk just before the hang will be of interest. When the hang occurs, take a look in the task list and see if you can see pdflatex still running. The most likely explanation for LyX hanging would be that pdflatex never exits. (If it exited with an error code, I assume LyX would register that, although I can't swear that it would.) /Paul
[WinXP, LyX 1.4.2] Export to pdf with pdflatex
Hello everybody, I encountered a problem when I tried to export a lyx document to pdf using pdflatex. The first run is correctly started but will never stop, so I have to kill lyx manually. I am wondering where the problem is, because I actually can launch pdflatex from texlipse (an eclipse plugin) with success and from the command line, of course. So what's going wrong with lyx here? I am currently using a customized cls/layout style file with the newest Miktex distribution. I hope someone out there could give me any hints or point me to a workaround. Regards Florian Kamm Humboldt-University Berlin, Germany
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: Hello everybody, I encountered a problem when I tried to export a lyx document to pdf using pdflatex. The first run is correctly started but will never stop, so I have to kill lyx manually. I am wondering where the problem is, because I actually can launch pdflatex from texlipse (an eclipse plugin) with success and from the command line, of course. So what's going wrong with lyx here? I am currently using a customized cls/layout style file with the newest Miktex distribution. I hope someone out there could give me any hints or point me to a workaround. Regards Florian Kamm Humboldt-University Berlin, Germany What happens if you view the document with View-PDF (pdflatex) in LyX? Does it display and, if not, does the LaTeX log file (Document-LaTeX log) reveal anything about the problem? If View-PDF (pdflatex) hangs with no log entry, try exporting the document as a LaTeX file and then run pdflatex against it from the command line. Does that work, and/or does the log reveal anything? /Paul
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Paul A. Rubin schrieb: Florian Kamm wrote: Hello everybody, I encountered a problem when I tried to export a lyx document to pdf using pdflatex. The first run is correctly started but will never stop, so I have to kill lyx manually. I am wondering where the problem is, because I actually can launch pdflatex from texlipse (an eclipse plugin) with success and from the command line, of course. So what's going wrong with lyx here? I am currently using a customized cls/layout style file with the newest Miktex distribution. I hope someone out there could give me any hints or point me to a workaround. Regards Florian Kamm Humboldt-University Berlin, Germany What happens if you view the document with View-PDF (pdflatex) in LyX? Does it display and, if not, does the LaTeX log file (Document-LaTeX log) reveal anything about the problem? If View-PDF (pdflatex) hangs with no log entry, try exporting the document as a LaTeX file and then run pdflatex against it from the command line. Does that work, and/or does the log reveal anything? /Paul Hi Paul, the View-PDF (pdflatex) causes the same bahavior I described above. Then I looked into the temporary folder LyX was using during the run. Surprisingly I found a fine pdf-file, correctly put together (the toc, normal text and bibliography). But LyX still hangs and needs to killed via process manager. The log-file doesn't report any problems. Further launching from the command line works well. Thanks for the quick answer... Florian
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: the View-PDF (pdflatex) causes the same bahavior I described above. Then I looked into the temporary folder LyX was using during the run. Surprisingly I found a fine pdf-file, correctly put together (the toc, normal text and bibliography). But LyX still hangs and needs to killed via process manager. The log-file doesn't report any problems. Further launching from the command line works well. Does the document contain graphics and, if so, are they intact in the pdf output file? Someone had a problem similar to this generating LaTeX output -- turned out to be something pplatex was doing in post-processing -- but I have not seen this with pdflatex. You might try the following: Open a DOS prompt in the LyX bin directory, and start LyX with 'lyx -dbg latex'. Then open the document and either export or view using pdflatex. The DOS window will get a lot of debugging output, but only the chunk just before the hang will be of interest. When the hang occurs, take a look in the task list and see if you can see pdflatex still running. The most likely explanation for LyX hanging would be that pdflatex never exits. (If it exited with an error code, I assume LyX would register that, although I can't swear that it would.) /Paul
[WinXP, LyX 1.4.2] Export to pdf with pdflatex
Hello everybody, I encountered a problem when I tried to export a lyx document to pdf using pdflatex. The first run is correctly started but will never stop, so I have to kill lyx manually. I am wondering where the problem is, because I actually can launch pdflatex from texlipse (an eclipse plugin) with success and from the command line, of course. So what's going wrong with lyx here? I am currently using a customized cls/layout style file with the newest Miktex distribution. I hope someone out there could give me any hints or point me to a workaround. Regards Florian Kamm Humboldt-University Berlin, Germany
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: Hello everybody, I encountered a problem when I tried to export a lyx document to pdf using pdflatex. The first run is correctly started but will never stop, so I have to kill lyx manually. I am wondering where the problem is, because I actually can launch pdflatex from texlipse (an eclipse plugin) with success and from the command line, of course. So what's going wrong with lyx here? I am currently using a customized cls/layout style file with the newest Miktex distribution. I hope someone out there could give me any hints or point me to a workaround. Regards Florian Kamm Humboldt-University Berlin, Germany What happens if you view the document with View->PDF (pdflatex) in LyX? Does it display and, if not, does the LaTeX log file (Document->LaTeX log) reveal anything about the problem? If View->PDF (pdflatex) hangs with no log entry, try exporting the document as a LaTeX file and then run pdflatex against it from the command line. Does that work, and/or does the log reveal anything? /Paul
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Paul A. Rubin schrieb: Florian Kamm wrote: Hello everybody, I encountered a problem when I tried to export a lyx document to pdf using pdflatex. The first run is correctly started but will never stop, so I have to kill lyx manually. I am wondering where the problem is, because I actually can launch pdflatex from texlipse (an eclipse plugin) with success and from the command line, of course. So what's going wrong with lyx here? I am currently using a customized cls/layout style file with the newest Miktex distribution. I hope someone out there could give me any hints or point me to a workaround. Regards Florian Kamm Humboldt-University Berlin, Germany What happens if you view the document with View->PDF (pdflatex) in LyX? Does it display and, if not, does the LaTeX log file (Document->LaTeX log) reveal anything about the problem? If View->PDF (pdflatex) hangs with no log entry, try exporting the document as a LaTeX file and then run pdflatex against it from the command line. Does that work, and/or does the log reveal anything? /Paul Hi Paul, the View->PDF (pdflatex) causes the same bahavior I described above. Then I looked into the temporary folder LyX was using during the run. Surprisingly I found a fine pdf-file, correctly put together (the toc, normal text and bibliography). But LyX still hangs and needs to killed via process manager. The log-file doesn't report any problems. Further launching from the command line works well. Thanks for the quick answer... Florian
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: the View->PDF (pdflatex) causes the same bahavior I described above. Then I looked into the temporary folder LyX was using during the run. Surprisingly I found a fine pdf-file, correctly put together (the toc, normal text and bibliography). But LyX still hangs and needs to killed via process manager. The log-file doesn't report any problems. Further launching from the command line works well. Does the document contain graphics and, if so, are they intact in the pdf output file? Someone had a problem similar to this generating LaTeX output -- turned out to be something pplatex was doing in post-processing -- but I have not seen this with pdflatex. You might try the following: Open a DOS prompt in the LyX bin directory, and start LyX with 'lyx -dbg latex'. Then open the document and either export or view using pdflatex. The DOS window will get a lot of debugging output, but only the chunk just before the hang will be of interest. When the hang occurs, take a look in the task list and see if you can see pdflatex still running. The most likely explanation for LyX hanging would be that pdflatex never exits. (If it exited with an error code, I assume LyX would register that, although I can't swear that it would.) /Paul