The Problem is, mentioned in the questions comment, that SumatraPDF is linked to the Latex-Compiler through synctex and doesnt know, which created the resulting PDF.
You can use the inverse-search command through the a commandlineswitch of SumatraPDF:-inverse-search
. The commands are:
TeXnicCenter:
-inverse-search "\"C:\Program Files\TeXnicCenter\TEXCNTR.EXE\" /ddecmd \"[goto('%f', '%l')]\""
Note the escapecharacters for doublequotes.
WinEdt:
-inverse-search "\"C:\Program Files\WinEdt Team\WinEdt\winedt.exe\" \"[Open(|%f|);SelPar(%l,8)]\""
Note the escapecharacters for doublequotes.
TexMaker:
-inverse-search "\"C:\Program Files\Texmaker\texmaker.exe\" \"%f\" -line %l"
Note the escapecharacters for doublequotes.
Explanations
Most applications use DDE-commands to interact. So does TeXnicCenter and WinEdt. For inverse-search SumatraPDF has to comunicate with the PDF-producing application. In that case you have to say SumatraPDF which application is the PDF-producer to communicate with. This works with the commandlineswitch I mentioned above. By clicking the view button in the LatexIDE you should start SumatraPDF with the correct parameters.
"C:\Program Files\SumatraPDF\SumatraPDF.exe" "PathToPDF" -inverse-search "PathToEditor InverseSearchCommand"
Additional you can use -reuse-instance
to not open a new PDF-window each time. Also its possible to use only the Latexide applications filename instead of the full path, if the Path of the LatexIDE application is in the systems PATH variable.
Inverse search works for TeXnicCenter, because you added the "TeXnicCenter inverse Search DDE command" correct in SumatraPDFs commandline.
In WinEdt you inserted the correct commandlineswitch but no executable to use for the inverse-search. So use the parameter I mentioned above.
In TexMaker you used no comandlineswitch after all. Add the parameter I mentioned above.
All the informations found in the net: TeXnicCenter and WinEdt, TexMaker
synctex
with Sumatra PDF: william.famille-blum.org/blog/…