Despite having gone through
Configure TexnicCenter with something else than Adobe Reader X
and having looked at the TeXnicCenter + Sumatra Tutorial, there seems to some little changes for TeXnicCenter version 2.0 as of May 2013. How can I make TeXnicCenter 2.0 to work with Sumatra?
Best Answer
Follow all the steps mentioned in the TeXnicCenter + Sumatra Tutorial, but keep in mind these few things:
In the (La)TeX tab / (La)TeX compiler section / Command line arguments to pass to the compiler bar, you should write:
-synctex=-1 -interaction=nonstopmode "%Wm"
In the Viewer tab / Executable path section, what should be written is:
"C:\Program Files\SumatraPDF\SumatraPDF.exe" -inverse-search "\"C:\Program Files\TeXnicCenter\TeXnicCenter.exe\" /ddecmd \"[goto('%f','%l')]\""
. Please note:1.1 What should be written is a complete line, with spaces between line breakings (it just doesn't fit entirely here to show).
1.1.1 The path could be different in your computer (e.g., your path for the executable file could be in
"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe"
) or depending on your system's language could be something likeC:\Programme\...
1.2 If you copy + paste from Adobe Reader from the tutorial, it is not going to work, as it seems to copy the
'
as ` instead.1.3 The new executable file for TeXnicCenter 2.0 is actually named
TeXnicCenter.exe
, notTEXCNTR.EXE
, as it appears in the tutorial.In the Viewer tab / View project's output section, you should select
DDE command
and the command should be"%bm.pdf"
(as described in the tutorial) and the server should beSUMATRA
. The topic should becontrol
In the Viewer tab / Forward search section, you should select
DDE command
and the command should be[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]
(as described in the tutorial) and the server should beSUMATRA
. The topic should becontrol
In the Viewer tab / Close document before running (La)TeX section you should select
Do not close
.Graphical Description: