I am using WinEdt 7.0 and my default pdf viewer is FoxitReader. So when I press F9 (compile) in WinEdt, it compiles and shows the pdf automatically. I want to set WinEdt somehow that after some editing of the tex file, when I want to compile and view the pdf I just press the F9 and the editor automatically closes the previous pdf and shows the updated pdf afterwards.
If I try to recompile the file while the viewer is open the output would be:
I can't write on file 'filename.pdf'
please type another file name for output:
Simply I want to open/close the pdf viewer automatically from WinEdt. I think there is a script (something like that) for that (e.g. --single-instance but I couldn't get it to work).
texfile with thepdffile opened? Is not enough just useAlt+Tabto call the viewer with updated file? – Sigur Jan 07 '14 at 22:05