[Tex/LaTex] MiKTeX+WinEdt How to automatically close the current DVI file before opening a new one

dviwinedt

I am using the MiKTeX + WinEdt for my texing, and every time after click 'texify' WinEdt will automatically open the DVI file for me to preview. Then I usually edit the .tex file and compile again. The thing is, after I am done editing and want to 'texify' + 'preview' the new file, the old DVI window from Yap is no longer useful to me. Instead of manually close it every time, I'd like to configure WinEdt so it will automatically close the current DVI window before open a new one for me. I think this should be pretty simple for some TeX gurus, any help please?

Best Answer

You can use the --single-instance or -1 command line switch, this will prevent YAP from opening a new window ;)

Related Question