Re: PDF Update fails, LyX 1.5.7 (WinXP)
I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything is fine except that update PDF does not work. When I try to update an open PDF, which always worked fine before, I get an error from LaTeX: --- I can't write on file `test.pdf' --- The snippet of the Log file is here: LaTeX Info: Redefining \ref on input line 49. LaTeX Info: Redefining \pageref on input line 49. (test.out) (test.out ! I can't write on file `test.pdf'. Please type another file name for output ! Emergency stop. [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4} l.1 \BOOKMARK [1][-]{section.1}{Introduction}{} Any help is appreciated. For the record, I updated MikTeX, refreshed it, and re-created the format files, and also ran Reconfigure in LyX. I suspect you're using Acrobat Reader, which locks the file while it's open. Check in the LyX bin directory and see if you have pdfview.exe installed. If yes, go to Tools - Preferences... - File formats, highlight in turn each PDF format you use, such as PDF (pdflatex), change the Viewer from 'auto' to 'pdfview' and click Modify and then Save. Then I think you'll need to restart LyX (but not reconfigure). As usual, Paul points the way to the promised land. A couple things: (1) I hope that the process of changing the formats in 1.6.0 is changed so that you don't have to type, then click 'Modify', then Save. This is not very intuitive. Why not click 'Modify', enter new value, click 'OK'? (2) I have always used Adobe Reader in many past versions and never had this issue. AND, even with the format viewer changed to 'pdfview', Adobe Reader is the viewer that is started, but DOES allow me to update. Huh?? Basically everything just operates the way it used to, so I presume that with the upgrade something changed the viewer from 'pdfview' to 'auto' for me, which then broke my ability to update the PDF displayed in Adobe Reader. Overall, I am confused as to what 'pdfview' does, particularly because when I double-click the pdfview.exe file from explorer I get an error that no PDF viewer is installed, with a subsequent abort. (3) For the record, you don't even have to restart (or reconfigure) to make this work. Thanks Paul! - Dave
Re: PDF Update fails, LyX 1.5.7 (WinXP)
David Hewitt wrote: (2) I have always used Adobe Reader in many past versions and never had this issue. AND, even with the format viewer changed to 'pdfview', Adobe Reader is the viewer that is started, but DOES allow me to update. Huh?? Basically everything just operates the way it used to, so I presume that with the upgrade something changed the viewer from 'pdfview' to 'auto' for me, which then broke my ability to update the PDF displayed in Adobe Reader. Overall, I am confused as to what 'pdfview' does, particularly because when I double-click the pdfview.exe file from explorer I get an error that no PDF viewer is installed, with a subsequent abort. pdfview allows you to use Adobe Reader without the file locking issue. The error is normal because pdfview requires a valid PDF file as parameter. Joost
Re: PDF Update fails, LyX 1.5.7 (WinXP)
David Hewitt wrote: As usual, Paul points the way to the promised land. I think you're confusing me with my (much) older brother Moses. ;-) (2) I have always used Adobe Reader in many past versions and never had this issue. You probably were using pdfview in earlier versions; I know I was. I'm not positive (about anything, in fact), but I think Uwe's installer might have made pdfview the default. AND, even with the format viewer changed to 'pdfview', Adobe Reader is the viewer that is started, but DOES allow me to update. Huh?? Basically everything just operates the way it used to, so I presume that with the upgrade something changed the viewer from 'pdfview' to 'auto' for me, Seems likely. which then broke my ability to update the PDF displayed in Adobe Reader. Overall, I am confused as to what 'pdfview' does, It runs pdfclose.exe (also in your LyX\bin directory) to close the existing Acroread window, then runs pdfopen.exe (yep, bin directory again) to open the modified file in Acroread. If you contrast this with Update - DVI, the difference is that Yap (the DVI viewer) doesn't lock the DVI file. So LaTeX can overwrite the DVI file even while Yap is open, and then either LaTeX gooses Yap or Yap figures out on its own that the file has changed (not sure which) and updates its display. I think this also works with some off brand PDF viewers. Acroread, however, puts a lock on the PDF file while it's open, so when pdflatex goes to output the revised version, the OS won't let it overwrite the file, and pdflatex crabs about it and bails out. Hence the need for pdfview to close the initial window (and thus break the file lock) in a timely manner. particularly because when I double-click the pdfview.exe file from explorer I get an error that no PDF viewer is installed, with a subsequent abort. As Joost pointed out, pdfview requires a file as an argument (which LyX supplies).
Re: PDF Update fails, LyX 1.5.7 (WinXP)
I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything is fine except that update PDF does not work. When I try to update an open PDF, which always worked fine before, I get an error from LaTeX: --- I can't write on file `test.pdf' --- The snippet of the Log file is here: LaTeX Info: Redefining \ref on input line 49. LaTeX Info: Redefining \pageref on input line 49. (test.out) (test.out ! I can't write on file `test.pdf'. Please type another file name for output ! Emergency stop. [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4} l.1 \BOOKMARK [1][-]{section.1}{Introduction}{} Any help is appreciated. For the record, I updated MikTeX, refreshed it, and re-created the format files, and also ran Reconfigure in LyX. I suspect you're using Acrobat Reader, which locks the file while it's open. Check in the LyX bin directory and see if you have pdfview.exe installed. If yes, go to Tools - Preferences... - File formats, highlight in turn each PDF format you use, such as PDF (pdflatex), change the Viewer from 'auto' to 'pdfview' and click Modify and then Save. Then I think you'll need to restart LyX (but not reconfigure). As usual, Paul points the way to the promised land. A couple things: (1) I hope that the process of changing the formats in 1.6.0 is changed so that you don't have to type, then click 'Modify', then Save. This is not very intuitive. Why not click 'Modify', enter new value, click 'OK'? (2) I have always used Adobe Reader in many past versions and never had this issue. AND, even with the format viewer changed to 'pdfview', Adobe Reader is the viewer that is started, but DOES allow me to update. Huh?? Basically everything just operates the way it used to, so I presume that with the upgrade something changed the viewer from 'pdfview' to 'auto' for me, which then broke my ability to update the PDF displayed in Adobe Reader. Overall, I am confused as to what 'pdfview' does, particularly because when I double-click the pdfview.exe file from explorer I get an error that no PDF viewer is installed, with a subsequent abort. (3) For the record, you don't even have to restart (or reconfigure) to make this work. Thanks Paul! - Dave
Re: PDF Update fails, LyX 1.5.7 (WinXP)
David Hewitt wrote: (2) I have always used Adobe Reader in many past versions and never had this issue. AND, even with the format viewer changed to 'pdfview', Adobe Reader is the viewer that is started, but DOES allow me to update. Huh?? Basically everything just operates the way it used to, so I presume that with the upgrade something changed the viewer from 'pdfview' to 'auto' for me, which then broke my ability to update the PDF displayed in Adobe Reader. Overall, I am confused as to what 'pdfview' does, particularly because when I double-click the pdfview.exe file from explorer I get an error that no PDF viewer is installed, with a subsequent abort. pdfview allows you to use Adobe Reader without the file locking issue. The error is normal because pdfview requires a valid PDF file as parameter. Joost
Re: PDF Update fails, LyX 1.5.7 (WinXP)
David Hewitt wrote: As usual, Paul points the way to the promised land. I think you're confusing me with my (much) older brother Moses. ;-) (2) I have always used Adobe Reader in many past versions and never had this issue. You probably were using pdfview in earlier versions; I know I was. I'm not positive (about anything, in fact), but I think Uwe's installer might have made pdfview the default. AND, even with the format viewer changed to 'pdfview', Adobe Reader is the viewer that is started, but DOES allow me to update. Huh?? Basically everything just operates the way it used to, so I presume that with the upgrade something changed the viewer from 'pdfview' to 'auto' for me, Seems likely. which then broke my ability to update the PDF displayed in Adobe Reader. Overall, I am confused as to what 'pdfview' does, It runs pdfclose.exe (also in your LyX\bin directory) to close the existing Acroread window, then runs pdfopen.exe (yep, bin directory again) to open the modified file in Acroread. If you contrast this with Update - DVI, the difference is that Yap (the DVI viewer) doesn't lock the DVI file. So LaTeX can overwrite the DVI file even while Yap is open, and then either LaTeX gooses Yap or Yap figures out on its own that the file has changed (not sure which) and updates its display. I think this also works with some off brand PDF viewers. Acroread, however, puts a lock on the PDF file while it's open, so when pdflatex goes to output the revised version, the OS won't let it overwrite the file, and pdflatex crabs about it and bails out. Hence the need for pdfview to close the initial window (and thus break the file lock) in a timely manner. particularly because when I double-click the pdfview.exe file from explorer I get an error that no PDF viewer is installed, with a subsequent abort. As Joost pointed out, pdfview requires a file as an argument (which LyX supplies).
Re: PDF Update fails, LyX 1.5.7 (WinXP)
>> I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything >> is fine except that update PDF does not work. When I try to update an >> open PDF, which always worked fine before, I get an error from LaTeX: >> --- >> I can't write on file `test.pdf' >> --- >> >> The snippet of the Log file is here: >> >> LaTeX Info: Redefining \ref on input line 49. >> LaTeX Info: Redefining \pageref on input line 49. >> (test.out) (test.out >> ! I can't write on file `test.pdf'. >> Please type another file name for output >> ! Emergency stop. >> [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4} >> >> l.1 \BOOKMARK [1][-]{section.1}{Introduction}{} >> >> Any help is appreciated. For the record, I updated MikTeX, refreshed >> it, and re-created the format files, and also ran Reconfigure in LyX. > > I suspect you're using Acrobat Reader, which locks the file while it's open. > Check in the LyX bin directory and see if you have pdfview.exe installed. > If yes, go to Tools -> Preferences... -> File formats, highlight in turn each > PDF format you use, such as PDF (pdflatex), change the Viewer from 'auto' > to 'pdfview' and click Modify and then Save. Then I think you'll need to > restart > LyX (but not reconfigure). As usual, Paul points the way to the promised land. A couple things: (1) I hope that the process of changing the formats in 1.6.0 is changed so that you don't have to type, then click 'Modify', then Save. This is not very intuitive. Why not click 'Modify', enter new value, click 'OK'? (2) I have always used Adobe Reader in many past versions and never had this issue. AND, even with the format viewer changed to 'pdfview', Adobe Reader is the viewer that is started, but DOES allow me to update. Huh?? Basically everything just operates the way it used to, so I presume that with the upgrade something changed the viewer from 'pdfview' to 'auto' for me, which then broke my ability to update the PDF displayed in Adobe Reader. Overall, I am confused as to what 'pdfview' does, particularly because when I double-click the pdfview.exe file from explorer I get an error that no PDF viewer is installed, with a subsequent abort. (3) For the record, you don't even have to restart (or reconfigure) to make this work. Thanks Paul! - Dave
Re: PDF Update fails, LyX 1.5.7 (WinXP)
David Hewitt wrote: (2) I have always used Adobe Reader in many past versions and never had this issue. AND, even with the format viewer changed to 'pdfview', Adobe Reader is the viewer that is started, but DOES allow me to update. Huh?? Basically everything just operates the way it used to, so I presume that with the upgrade something changed the viewer from 'pdfview' to 'auto' for me, which then broke my ability to update the PDF displayed in Adobe Reader. Overall, I am confused as to what 'pdfview' does, particularly because when I double-click the pdfview.exe file from explorer I get an error that no PDF viewer is installed, with a subsequent abort. pdfview allows you to use Adobe Reader without the file locking issue. The error is normal because pdfview requires a valid PDF file as parameter. Joost
Re: PDF Update fails, LyX 1.5.7 (WinXP)
David Hewitt wrote: As usual, Paul points the way to the promised land. I think you're confusing me with my (much) older brother Moses. ;-) (2) I have always used Adobe Reader in many past versions and never had this issue. You probably were using pdfview in earlier versions; I know I was. I'm not positive (about anything, in fact), but I think Uwe's installer might have made pdfview the default. AND, even with the format viewer changed to 'pdfview', Adobe Reader is the viewer that is started, but DOES allow me to update. Huh?? Basically everything just operates the way it used to, so I presume that with the upgrade something changed the viewer from 'pdfview' to 'auto' for me, Seems likely. which then broke my ability to update the PDF displayed in Adobe Reader. Overall, I am confused as to what 'pdfview' does, It runs pdfclose.exe (also in your LyX\bin directory) to close the existing Acroread window, then runs pdfopen.exe (yep, bin directory again) to open the modified file in Acroread. If you contrast this with Update -> DVI, the difference is that Yap (the DVI viewer) doesn't lock the DVI file. So LaTeX can overwrite the DVI file even while Yap is open, and then either LaTeX gooses Yap or Yap figures out on its own that the file has changed (not sure which) and updates its display. I think this also works with some "off brand" PDF viewers. Acroread, however, puts a lock on the PDF file while it's open, so when pdflatex goes to output the revised version, the OS won't let it overwrite the file, and pdflatex crabs about it and bails out. Hence the need for pdfview to close the initial window (and thus break the file lock) in a timely manner. particularly because when I double-click the pdfview.exe file from explorer I get an error that no PDF viewer is installed, with a subsequent abort. As Joost pointed out, pdfview requires a file as an argument (which LyX supplies).
PDF Update fails, LyX 1.5.7 (WinXP)
I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything is fine except that update PDF does not work. When I try to update an open PDF, which always worked fine before, I get an error from LaTeX: --- I can't write on file `test.pdf' --- The snippet of the Log file is here: LaTeX Info: Redefining \ref on input line 49. LaTeX Info: Redefining \pageref on input line 49. (test.out) (test.out ! I can't write on file `test.pdf'. Please type another file name for output ! Emergency stop. [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4} l.1 \BOOKMARK [1][-]{section.1}{Introduction}{} Any help is appreciated. For the record, I updated MikTeX, refreshed it, and re-created the format files, and also ran Reconfigure in LyX. Dave Hewitt
Re: PDF Update fails, LyX 1.5.7 (WinXP)
David Hewitt wrote: I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything is fine except that update PDF does not work. When I try to update an open PDF, which always worked fine before, I get an error from LaTeX: --- I can't write on file `test.pdf' --- The snippet of the Log file is here: LaTeX Info: Redefining \ref on input line 49. LaTeX Info: Redefining \pageref on input line 49. (test.out) (test.out ! I can't write on file `test.pdf'. Please type another file name for output ! Emergency stop. [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4} l.1 \BOOKMARK [1][-]{section.1}{Introduction}{} Any help is appreciated. For the record, I updated MikTeX, refreshed it, and re-created the format files, and also ran Reconfigure in LyX. Dave Hewitt Dave, I suspect you're using Acrobat Reader, which locks the file while it's open. Check in the LyX bin directory and see if you have pdfview.exe installed. If yes, go to Tools - Preferences... - File formats, highlight in turn each PDF format you use, such as PDF (pdflatex), change the Viewer from 'auto' to 'pdfview' and click Modify and then Save. Then I think you'll need to restart LyX (but not reconfigure). /Paul
PDF Update fails, LyX 1.5.7 (WinXP)
I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything is fine except that update PDF does not work. When I try to update an open PDF, which always worked fine before, I get an error from LaTeX: --- I can't write on file `test.pdf' --- The snippet of the Log file is here: LaTeX Info: Redefining \ref on input line 49. LaTeX Info: Redefining \pageref on input line 49. (test.out) (test.out ! I can't write on file `test.pdf'. Please type another file name for output ! Emergency stop. [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4} l.1 \BOOKMARK [1][-]{section.1}{Introduction}{} Any help is appreciated. For the record, I updated MikTeX, refreshed it, and re-created the format files, and also ran Reconfigure in LyX. Dave Hewitt
Re: PDF Update fails, LyX 1.5.7 (WinXP)
David Hewitt wrote: I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything is fine except that update PDF does not work. When I try to update an open PDF, which always worked fine before, I get an error from LaTeX: --- I can't write on file `test.pdf' --- The snippet of the Log file is here: LaTeX Info: Redefining \ref on input line 49. LaTeX Info: Redefining \pageref on input line 49. (test.out) (test.out ! I can't write on file `test.pdf'. Please type another file name for output ! Emergency stop. [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4} l.1 \BOOKMARK [1][-]{section.1}{Introduction}{} Any help is appreciated. For the record, I updated MikTeX, refreshed it, and re-created the format files, and also ran Reconfigure in LyX. Dave Hewitt Dave, I suspect you're using Acrobat Reader, which locks the file while it's open. Check in the LyX bin directory and see if you have pdfview.exe installed. If yes, go to Tools - Preferences... - File formats, highlight in turn each PDF format you use, such as PDF (pdflatex), change the Viewer from 'auto' to 'pdfview' and click Modify and then Save. Then I think you'll need to restart LyX (but not reconfigure). /Paul
PDF Update fails, LyX 1.5.7 (WinXP)
I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything is fine except that update PDF does not work. When I try to update an open PDF, which always worked fine before, I get an error from LaTeX: --- I can't write on file `test.pdf' --- The snippet of the Log file is here: LaTeX Info: Redefining \ref on input line 49. LaTeX Info: Redefining \pageref on input line 49. (test.out) (test.out ! I can't write on file `test.pdf'. Please type another file name for output ! Emergency stop. [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4} l.1 \BOOKMARK [1][-]{section.1}{Introduction}{} Any help is appreciated. For the record, I updated MikTeX, refreshed it, and re-created the format files, and also ran Reconfigure in LyX. Dave Hewitt
Re: PDF Update fails, LyX 1.5.7 (WinXP)
David Hewitt wrote: I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything is fine except that update PDF does not work. When I try to update an open PDF, which always worked fine before, I get an error from LaTeX: --- I can't write on file `test.pdf' --- The snippet of the Log file is here: LaTeX Info: Redefining \ref on input line 49. LaTeX Info: Redefining \pageref on input line 49. (test.out) (test.out ! I can't write on file `test.pdf'. Please type another file name for output ! Emergency stop. [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4} l.1 \BOOKMARK [1][-]{section.1}{Introduction}{} Any help is appreciated. For the record, I updated MikTeX, refreshed it, and re-created the format files, and also ran Reconfigure in LyX. Dave Hewitt Dave, I suspect you're using Acrobat Reader, which locks the file while it's open. Check in the LyX bin directory and see if you have pdfview.exe installed. If yes, go to Tools -> Preferences... -> File formats, highlight in turn each PDF format you use, such as PDF (pdflatex), change the Viewer from 'auto' to 'pdfview' and click Modify and then Save. Then I think you'll need to restart LyX (but not reconfigure). /Paul