General ⇒ Configuring TeXnicCenter with another pdf-viewer than Adobe
Configuring TeXnicCenter with another pdf-viewer than Adobe
I am using the LaTeX => pdf output profile.
I succesfully made TeXnicCenter compile and open my document in the PDF-XChange viewer... when the document is not allready open.
The problem is, that when the document is open it is not possible to write on it.
What I need to do is make TeXnicCenter close the document first.
This is possible, I had no problem with this using Adobe Acrobat reader.
Under "build --> Define Output Profiles" I choose the teab "Viewer", and I figured what I need to do is to write the right code in the field "Close document before running (La)TeX".
So the question I need som help for is: What is the right code?
I allready tried choosing "DDE command" and typin "[DocClose("%bm.pdf")]"
But I think what this program needs is a "command line argument".
I hope you can help me. I really want this to work, since I am tired of Adobe.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis