Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
    
I edited your post to reflect you're using WinEdt and not WinEdit. If this is incorrect, edit or roll back as needed. –  Werner Oct 23 '11 at 2:12
    
Yes you are right, thanks! –  Ying Oct 23 '11 at 2:16
    
In your yap window, you can simply refresh the current .dvi file by pressing F5, no need to close and re-open. –  cmhughes Oct 23 '11 at 4:17
add comment

1 Answer 1

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.