Re: Path problem pdf output in Lyx for Win32
Paul A. Rubin wrote: Sounds likely. One other thing to keep in mind about PDFs on Windows v. Unix (using Acrobat Reader): if you try to View-PDF (regular, dvipdfm or pdflatex) while Reader is open, the operation will fail with an error message saying that Reader can't find the file. There are two workarounds: either close Reader before issuing View-PDF, or set up a custom export command 'acrord32 %%FName' and then use File-Export-Custom to export the PDF to Reader (which will display it even if Reader is already open). And speaking of Windows quirks, you can't type 'acrord32 %%FName' into the File-Export-Custom dialog for some reason; Isn't the syntax 'AcroRd32 $$FName' ? Leastways, 'kghostview $$FName' works for me on a linux box. -- Angus
Re: Path problem pdf output in Lyx for Win32
Angus Leeming wrote: Paul A. Rubin wrote: Sounds likely. One other thing to keep in mind about PDFs on Windows v. Unix (using Acrobat Reader): if you try to View-PDF (regular, dvipdfm or pdflatex) while Reader is open, the operation will fail with an error message saying that Reader can't find the file. There are two workarounds: either close Reader before issuing View-PDF, or set up a custom export command 'acrord32 %%FName' and then use File-Export-Custom to export the PDF to Reader (which will display it even if Reader is already open). And speaking of Windows quirks, you can't type 'acrord32 %%FName' into the File-Export-Custom dialog for some reason; Isn't the syntax 'AcroRd32 $$FName' ? Leastways, 'kghostview $$FName' works for me on a linux box. Sorry, yes, that's a typo -- %% should have been $$. I also retract my comment about not being able to type it directly into the dialog window. I tried that on my office machine and got a cryptic error (and, if memory serves, someone else with whom I was e-mailing failed in an attempt to use the dialog). I *think* I used dollar signs that time, but I just tried the dialog on my laptop and it worked. So perhaps I hallucinated the whole thing (end-of-semester syndrome). -- Paul (I think)
Re: Path problem pdf output in Lyx for Win32
Paul A. Rubin wrote: Sounds likely. One other thing to keep in mind about PDFs on Windows v. Unix (using Acrobat Reader): if you try to View-PDF (regular, dvipdfm or pdflatex) while Reader is open, the operation will fail with an error message saying that Reader can't find the file. There are two workarounds: either close Reader before issuing View-PDF, or set up a custom export command 'acrord32 %%FName' and then use File-Export-Custom to export the PDF to Reader (which will display it even if Reader is already open). And speaking of Windows quirks, you can't type 'acrord32 %%FName' into the File-Export-Custom dialog for some reason; Isn't the syntax 'AcroRd32 $$FName' ? Leastways, 'kghostview $$FName' works for me on a linux box. -- Angus
Re: Path problem pdf output in Lyx for Win32
Angus Leeming wrote: Paul A. Rubin wrote: Sounds likely. One other thing to keep in mind about PDFs on Windows v. Unix (using Acrobat Reader): if you try to View-PDF (regular, dvipdfm or pdflatex) while Reader is open, the operation will fail with an error message saying that Reader can't find the file. There are two workarounds: either close Reader before issuing View-PDF, or set up a custom export command 'acrord32 %%FName' and then use File-Export-Custom to export the PDF to Reader (which will display it even if Reader is already open). And speaking of Windows quirks, you can't type 'acrord32 %%FName' into the File-Export-Custom dialog for some reason; Isn't the syntax 'AcroRd32 $$FName' ? Leastways, 'kghostview $$FName' works for me on a linux box. Sorry, yes, that's a typo -- %% should have been $$. I also retract my comment about not being able to type it directly into the dialog window. I tried that on my office machine and got a cryptic error (and, if memory serves, someone else with whom I was e-mailing failed in an attempt to use the dialog). I *think* I used dollar signs that time, but I just tried the dialog on my laptop and it worked. So perhaps I hallucinated the whole thing (end-of-semester syndrome). -- Paul (I think)
Re: Path problem & pdf output in Lyx for Win32
Paul A. Rubin wrote: > Sounds likely. One other thing to keep in mind about PDFs on Windows v. > Unix (using Acrobat Reader): if you try to View->PDF (regular, dvipdfm > or pdflatex) while Reader is open, the operation will fail with an error > message saying that Reader can't find the file. There are two > workarounds: either close Reader before issuing View->PDF, or set up a > custom export command 'acrord32 %%FName' and then use > File->Export->Custom to "export" the PDF to Reader (which will display > it even if Reader is already open). And speaking of Windows quirks, you > can't type 'acrord32 %%FName' into the File->Export->Custom dialog for > some reason; Isn't the syntax 'AcroRd32 $$FName' ? Leastways, 'kghostview $$FName' works for me on a linux box. -- Angus
Re: Path problem & pdf output in Lyx for Win32
Angus Leeming wrote: Paul A. Rubin wrote: Sounds likely. One other thing to keep in mind about PDFs on Windows v. Unix (using Acrobat Reader): if you try to View->PDF (regular, dvipdfm or pdflatex) while Reader is open, the operation will fail with an error message saying that Reader can't find the file. There are two workarounds: either close Reader before issuing View->PDF, or set up a custom export command 'acrord32 %%FName' and then use File->Export->Custom to "export" the PDF to Reader (which will display it even if Reader is already open). And speaking of Windows quirks, you can't type 'acrord32 %%FName' into the File->Export->Custom dialog for some reason; Isn't the syntax 'AcroRd32 $$FName' ? Leastways, 'kghostview $$FName' works for me on a linux box. Sorry, yes, that's a typo -- %% should have been $$. I also retract my comment about not being able to type it directly into the dialog window. I tried that on my office machine and got a cryptic error (and, if memory serves, someone else with whom I was e-mailing failed in an attempt to use the dialog). I *think* I used dollar signs that time, but I just tried the dialog on my laptop and it worked. So perhaps I hallucinated the whole thing (end-of-semester syndrome). -- Paul (I think)
Path problem pdf output in Lyx for Win32
I'm a Unix user, but have to set up 2 windows computers for LyX. The 1.3.5 edition of Lyx for Win32 works very well as far as I can tell. I can enter equations and view them in dvi. For some reason, yap always opens minimized, but that's OK by me. I think the troubles I find are caused by the fact that the user home dir has spaces in it. User home directories are in C:\Documents And Settings\username. Users want to put lyx files under My Documents in there and then lyx does not work there. So, what to do? Has anybody found a way to reconfigure windows and rename the home dir to C:\DocumentsAndSettings for all users? In Edit/Preferences/Path, I changed the working directory to C:\Windows\Temp. But it will not do to have all users writing in there. Pdf output fails, no matter what i do. It fails either if I want to view in acrord32 or save to disk. I believe it is due to path problems, because lyx keeps creating a directory C:\Documents but that is empty. -- Paul E. Johnson email: [EMAIL PROTECTED] Dept. of Political Sciencehttp://lark.cc.ku.edu/~pauljohn 1541 Lilac Lane, Rm 504 University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66044-3177 FAX: (785) 864-5700
Re: Path problem pdf output in Lyx for Win32
Paul Johnson wrote: I'm a Unix user, but have to set up 2 windows computers for LyX. The 1.3.5 edition of Lyx for Win32 works very well as far as I can tell. I can enter equations and view them in dvi. For some reason, yap always opens minimized, but that's OK by me. I think the troubles I find are caused by the fact that the user home dir has spaces in it. User home directories are in C:\Documents And Settings\username. Users want to put lyx files under My Documents in there and then lyx does not work there. So, what to do? For the time being, I think that the only solution is to put your lyx files elsewhere. We've fixed LyX 1.3.6 all over the place in our attempts to get it to run 'as expected' on Windows. Two problems are still to be addressed: * lyx2lyx doesn't like file names with spaces * you can't input such a file in the graphics etc dialogs using the browser. Note, however, that .dvi files will need to be post-processed if they refer to graphics files containing spaces. See http://wiki.lyx.org/LaTeX/FilesWithSpecialChars and the clean_dvi.py script. Basically, spaces in file names lead to all sorts of problems that we've tried hard to resolve. Only real-world usage will show whether we've been successful or not. Other than the remaining issues described above, it looks like the merger of Ruurd's LyX/Win port into the official LyX sources is just about complete. In Edit/Preferences/Path, I changed the working directory to C:\Windows\Temp. But it will not do to have all users writing in there. I'm currently playing with LyX 1.3.6 which I have installed in C:\Program Files\LyX. It tries to use the proper Windows locations for its various paths, although you can reset the document and temp directories in your preferences file. The default settings (as output by lyx -dbg init running from a MinGW console) are: package binary_dir c:/Program Files/LyX/bin/ system_support c:/Program Files/LyX/Resources/lyx/ user_support C:/Documents and Settings/Angus/Application Data/lyx/ locale_dir c:/Program Files/LyX/Resources/locale/ document_dir C:/Documents and Settings/Angus/My Documents temp_dir C:/Documents and Settings/Angus/Local Settings/Temp/ home_dir C:/Documents and Settings/Angus /package I have no difficulty viewing a pdf of the UserGuide (generated by pdflatex (MikTeX 2.4) from C:\Documents and Settings\Angus\Desktop\UserGuide.lyx) using gsview32 (version 4.6) or AcroRd32 (version 7.0), so it looks like we're making progress. Pdf output fails, no matter what i do. It fails either if I want to view in acrord32 or save to disk. I believe it is due to path problems, because lyx keeps creating a directory C:\Documents but that is empty. Yes, LyX 1.3.5 really isn't set up to handle spaces in paths. Kind regards, Angus
Re: Path problem pdf output in Lyx for Win32
Paul Johnson wrote: I'm a Unix user, but have to set up 2 windows computers for LyX. The 1.3.5 edition of Lyx for Win32 works very well as far as I can tell. I can enter equations and view them in dvi. For some reason, yap always opens minimized, but that's OK by me. I think the troubles I find are caused by the fact that the user home dir has spaces in it. User home directories are in C:\Documents And Settings\username. Users want to put lyx files under My Documents in there and then lyx does not work there. So, what to do? Has anybody found a way to reconfigure windows and rename the home dir to C:\DocumentsAndSettings for all users? In Edit/Preferences/Path, I changed the working directory to C:\Windows\Temp. But it will not do to have all users writing in there. I've tried using '\ ' and '%20' in lieu of spaces, but neither worked consistently. I've also tried the 8.3 version of the path name, but it contains a tilde that throws off some Unix tools. Finally gave up and created a separate, space-free path for LyX docs. As a workaround until the much-anticipated 1.3.6 arrives, you might set up separate LyX doc directories for each user (with user-specific permissions, if desired) and then use a file synchronization utility to synch a user's LyX directory with an appropriate subdirectory under My Docs. I use SynchronX, but there's a few of them out there. Pdf output fails, no matter what i do. It fails either if I want to view in acrord32 or save to disk. I believe it is due to path problems, because lyx keeps creating a directory C:\Documents but that is empty. Sounds likely. One other thing to keep in mind about PDFs on Windows v. Unix (using Acrobat Reader): if you try to View-PDF (regular, dvipdfm or pdflatex) while Reader is open, the operation will fail with an error message saying that Reader can't find the file. There are two workarounds: either close Reader before issuing View-PDF, or set up a custom export command 'acrord32 %%FName' and then use File-Export-Custom to export the PDF to Reader (which will display it even if Reader is already open). And speaking of Windows quirks, you can't type 'acrord32 %%FName' into the File-Export-Custom dialog for some reason; you have to manually hack your preferences file and insert the line custom_export_command acrord32 %%FName (one more reason 1.3.6 is *eagerly* anticipated). -- Paul
Path problem pdf output in Lyx for Win32
I'm a Unix user, but have to set up 2 windows computers for LyX. The 1.3.5 edition of Lyx for Win32 works very well as far as I can tell. I can enter equations and view them in dvi. For some reason, yap always opens minimized, but that's OK by me. I think the troubles I find are caused by the fact that the user home dir has spaces in it. User home directories are in C:\Documents And Settings\username. Users want to put lyx files under My Documents in there and then lyx does not work there. So, what to do? Has anybody found a way to reconfigure windows and rename the home dir to C:\DocumentsAndSettings for all users? In Edit/Preferences/Path, I changed the working directory to C:\Windows\Temp. But it will not do to have all users writing in there. Pdf output fails, no matter what i do. It fails either if I want to view in acrord32 or save to disk. I believe it is due to path problems, because lyx keeps creating a directory C:\Documents but that is empty. -- Paul E. Johnson email: [EMAIL PROTECTED] Dept. of Political Sciencehttp://lark.cc.ku.edu/~pauljohn 1541 Lilac Lane, Rm 504 University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66044-3177 FAX: (785) 864-5700
Re: Path problem pdf output in Lyx for Win32
Paul Johnson wrote: I'm a Unix user, but have to set up 2 windows computers for LyX. The 1.3.5 edition of Lyx for Win32 works very well as far as I can tell. I can enter equations and view them in dvi. For some reason, yap always opens minimized, but that's OK by me. I think the troubles I find are caused by the fact that the user home dir has spaces in it. User home directories are in C:\Documents And Settings\username. Users want to put lyx files under My Documents in there and then lyx does not work there. So, what to do? For the time being, I think that the only solution is to put your lyx files elsewhere. We've fixed LyX 1.3.6 all over the place in our attempts to get it to run 'as expected' on Windows. Two problems are still to be addressed: * lyx2lyx doesn't like file names with spaces * you can't input such a file in the graphics etc dialogs using the browser. Note, however, that .dvi files will need to be post-processed if they refer to graphics files containing spaces. See http://wiki.lyx.org/LaTeX/FilesWithSpecialChars and the clean_dvi.py script. Basically, spaces in file names lead to all sorts of problems that we've tried hard to resolve. Only real-world usage will show whether we've been successful or not. Other than the remaining issues described above, it looks like the merger of Ruurd's LyX/Win port into the official LyX sources is just about complete. In Edit/Preferences/Path, I changed the working directory to C:\Windows\Temp. But it will not do to have all users writing in there. I'm currently playing with LyX 1.3.6 which I have installed in C:\Program Files\LyX. It tries to use the proper Windows locations for its various paths, although you can reset the document and temp directories in your preferences file. The default settings (as output by lyx -dbg init running from a MinGW console) are: package binary_dir c:/Program Files/LyX/bin/ system_support c:/Program Files/LyX/Resources/lyx/ user_support C:/Documents and Settings/Angus/Application Data/lyx/ locale_dir c:/Program Files/LyX/Resources/locale/ document_dir C:/Documents and Settings/Angus/My Documents temp_dir C:/Documents and Settings/Angus/Local Settings/Temp/ home_dir C:/Documents and Settings/Angus /package I have no difficulty viewing a pdf of the UserGuide (generated by pdflatex (MikTeX 2.4) from C:\Documents and Settings\Angus\Desktop\UserGuide.lyx) using gsview32 (version 4.6) or AcroRd32 (version 7.0), so it looks like we're making progress. Pdf output fails, no matter what i do. It fails either if I want to view in acrord32 or save to disk. I believe it is due to path problems, because lyx keeps creating a directory C:\Documents but that is empty. Yes, LyX 1.3.5 really isn't set up to handle spaces in paths. Kind regards, Angus
Re: Path problem pdf output in Lyx for Win32
Paul Johnson wrote: I'm a Unix user, but have to set up 2 windows computers for LyX. The 1.3.5 edition of Lyx for Win32 works very well as far as I can tell. I can enter equations and view them in dvi. For some reason, yap always opens minimized, but that's OK by me. I think the troubles I find are caused by the fact that the user home dir has spaces in it. User home directories are in C:\Documents And Settings\username. Users want to put lyx files under My Documents in there and then lyx does not work there. So, what to do? Has anybody found a way to reconfigure windows and rename the home dir to C:\DocumentsAndSettings for all users? In Edit/Preferences/Path, I changed the working directory to C:\Windows\Temp. But it will not do to have all users writing in there. I've tried using '\ ' and '%20' in lieu of spaces, but neither worked consistently. I've also tried the 8.3 version of the path name, but it contains a tilde that throws off some Unix tools. Finally gave up and created a separate, space-free path for LyX docs. As a workaround until the much-anticipated 1.3.6 arrives, you might set up separate LyX doc directories for each user (with user-specific permissions, if desired) and then use a file synchronization utility to synch a user's LyX directory with an appropriate subdirectory under My Docs. I use SynchronX, but there's a few of them out there. Pdf output fails, no matter what i do. It fails either if I want to view in acrord32 or save to disk. I believe it is due to path problems, because lyx keeps creating a directory C:\Documents but that is empty. Sounds likely. One other thing to keep in mind about PDFs on Windows v. Unix (using Acrobat Reader): if you try to View-PDF (regular, dvipdfm or pdflatex) while Reader is open, the operation will fail with an error message saying that Reader can't find the file. There are two workarounds: either close Reader before issuing View-PDF, or set up a custom export command 'acrord32 %%FName' and then use File-Export-Custom to export the PDF to Reader (which will display it even if Reader is already open). And speaking of Windows quirks, you can't type 'acrord32 %%FName' into the File-Export-Custom dialog for some reason; you have to manually hack your preferences file and insert the line custom_export_command acrord32 %%FName (one more reason 1.3.6 is *eagerly* anticipated). -- Paul
Path problem & pdf output in Lyx for Win32
I'm a Unix user, but have to set up 2 windows computers for LyX. The 1.3.5 edition of Lyx for Win32 works very well as far as I can tell. I can enter equations and view them in dvi. For some reason, yap always opens minimized, but that's OK by me. I think the troubles I find are caused by the fact that the user home dir has spaces in it. User home directories are in C:\Documents And Settings\username. Users want to put lyx files under "My Documents" in there and then lyx does not work there. So, what to do? Has anybody found a way to reconfigure windows and rename the home dir to C:\DocumentsAndSettings for all users? In Edit/Preferences/Path, I changed the working directory to C:\Windows\Temp. But it will not do to have all users writing in there. Pdf output fails, no matter what i do. It fails either if I want to view in acrord32 or save to disk. I believe it is due to path problems, because lyx keeps creating a directory C:\Documents but that is empty. -- Paul E. Johnson email: [EMAIL PROTECTED] Dept. of Political Sciencehttp://lark.cc.ku.edu/~pauljohn 1541 Lilac Lane, Rm 504 University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66044-3177 FAX: (785) 864-5700
Re: Path problem & pdf output in Lyx for Win32
Paul Johnson wrote: I'm a Unix user, but have to set up 2 windows computers for LyX. The 1.3.5 edition of Lyx for Win32 works very well as far as I can tell. I can enter equations and view them in dvi. For some reason, yap always opens minimized, but that's OK by me. I think the troubles I find are caused by the fact that the user home dir has spaces in it. User home directories are in C:\Documents And Settings\username. Users want to put lyx files under "My Documents" in there and then lyx does not work there. So, what to do? For the time being, I think that the only solution is to put your lyx files elsewhere. We've fixed LyX 1.3.6 all over the place in our attempts to get it to run 'as expected' on Windows. Two problems are still to be addressed: * lyx2lyx doesn't like "file names with spaces" * you can't input such a file in the graphics etc dialogs using the browser. Note, however, that .dvi files will need to be post-processed if they refer to graphics files containing spaces. See http://wiki.lyx.org/LaTeX/FilesWithSpecialChars and the clean_dvi.py script. Basically, spaces in file names lead to all sorts of problems that we've tried hard to resolve. Only real-world usage will show whether we've been successful or not. Other than the remaining issues described above, it looks like the merger of Ruurd's LyX/Win port into the official LyX sources is just about complete. In Edit/Preferences/Path, I changed the working directory to C:\Windows\Temp. But it will not do to have all users writing in there. I'm currently playing with LyX 1.3.6 which I have installed in C:\Program Files\LyX. It tries to use the proper Windows locations for its various paths, although you can reset the document and temp directories in your preferences file. The default settings (as output by "lyx -dbg init" running from a MinGW console) are: binary_dir c:/Program Files/LyX/bin/ system_support c:/Program Files/LyX/Resources/lyx/ user_support C:/Documents and Settings/Angus/Application Data/lyx/ locale_dir c:/Program Files/LyX/Resources/locale/ document_dir C:/Documents and Settings/Angus/My Documents temp_dir C:/Documents and Settings/Angus/Local Settings/Temp/ home_dir C:/Documents and Settings/Angus I have no difficulty viewing a pdf of the UserGuide (generated by pdflatex (MikTeX 2.4) from C:\Documents and Settings\Angus\Desktop\UserGuide.lyx) using gsview32 (version 4.6) or AcroRd32 (version 7.0), so it looks like we're making progress. Pdf output fails, no matter what i do. It fails either if I want to view in acrord32 or save to disk. I believe it is due to path problems, because lyx keeps creating a directory C:\Documents but that is empty. Yes, LyX 1.3.5 really isn't set up to handle spaces in paths. Kind regards, Angus
Re: Path problem & pdf output in Lyx for Win32
Paul Johnson wrote: I'm a Unix user, but have to set up 2 windows computers for LyX. The 1.3.5 edition of Lyx for Win32 works very well as far as I can tell. I can enter equations and view them in dvi. For some reason, yap always opens minimized, but that's OK by me. I think the troubles I find are caused by the fact that the user home dir has spaces in it. User home directories are in C:\Documents And Settings\username. Users want to put lyx files under "My Documents" in there and then lyx does not work there. So, what to do? Has anybody found a way to reconfigure windows and rename the home dir to C:\DocumentsAndSettings for all users? In Edit/Preferences/Path, I changed the working directory to C:\Windows\Temp. But it will not do to have all users writing in there. I've tried using '\ ' and '%20' in lieu of spaces, but neither worked consistently. I've also tried the "8.3" version of the path name, but it contains a tilde that throws off some Unix tools. Finally gave up and created a separate, space-free path for LyX docs. As a workaround until the much-anticipated 1.3.6 arrives, you might set up separate LyX doc directories for each user (with user-specific permissions, if desired) and then use a file synchronization utility to synch a user's LyX directory with an appropriate subdirectory under My Docs. I use SynchronX, but there's a few of them out there. Pdf output fails, no matter what i do. It fails either if I want to view in acrord32 or save to disk. I believe it is due to path problems, because lyx keeps creating a directory C:\Documents but that is empty. Sounds likely. One other thing to keep in mind about PDFs on Windows v. Unix (using Acrobat Reader): if you try to View->PDF (regular, dvipdfm or pdflatex) while Reader is open, the operation will fail with an error message saying that Reader can't find the file. There are two workarounds: either close Reader before issuing View->PDF, or set up a custom export command 'acrord32 %%FName' and then use File->Export->Custom to "export" the PDF to Reader (which will display it even if Reader is already open). And speaking of Windows quirks, you can't type 'acrord32 %%FName' into the File->Export->Custom dialog for some reason; you have to manually hack your preferences file and insert the line custom_export_command "acrord32 %%FName" (one more reason 1.3.6 is *eagerly* anticipated). -- Paul