I use the FoxitReader instead of Acrobat Reader to see the pdf files. I defined it when I installed TeXnicCenter. When a new file is compiled, it does not automatically closes off the old one. So in order to see the new file, I have to manually close the old file in Foxit Reader (click the X). What can I do?
Should I change "Close document before running Latex: Do not close"? If so, with what?
Related: http://consult.wikidot.com/latex#foxit
The project's options are:
Profile Latex:
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\pdflatex.exe
-interaction=nonstopmode "%pm"
Bibtex:
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\bibtex.exe
"%bm"
Makeindex:
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\makeindex.exe
"%bm"
Under Viewer:
Path C:\PROGRAM FILES (X86)\FOXIT SOFTWARE\FOXIT READER\FOXIT READER.EX
View Project's Output Command line: "%bm.pdf"
Close document before running Latex: Do not close
Best Answer
I would recommend that you rather use SumatraPDF as a PDF viewer. You do not need to close it before recompiling your document and (very important) it has SyncTex capabilities. That means that you can jump direct from a position in the viewer to the corresponding text in your Latex file and vice versa.
The following setup is from the TeXnicCenter tutorials.
Change the existing profile
LaTeX=>PDF
or make a copy say,LaTeX=>PDF (Sumatra)
. Edit the profile. Under the three tabs: (La)Tex, Postprocessor and Viewer make the following settings:(La)Tex:
Command line arguments to pass to the compiler
Postprocessor:
No settings required
Viewer:
Path of executable
At View project's output set the radio button to
Command line argument
"%bm.pdf"
At Forward search set the radiobutton to
DDE Command
[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]
SUMATRA
Control
At Close document before running (La)TeX set the radio button to
Do not close
.