2

so I've been trying for a while to configure those two programs, but I just can't get it to work. I always get the error: [ForwardSearch("%bm.pdf","%Wc",%l,0,0,... Cannot execute the command.

My settings are: The following are my settings.

emmak
  • 21

1 Answers1

3

This configuration works for me.

Executable path

C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe -inverse-search "\"C:\Program Files\TeXnicCenter\TeXnicCenter\TeXnicCenter.exe\" /ddecmd \"[goto('%f','%l')]\""

View project's output

DDE command

Command:"%bm.pdf"

Server: SUMATRA

Topic: control

Forward Search

DDE command

Command:[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]

Server: SUMATRA

Topic: control

Close document before running (La)TeX

Do not close

enter image description here

  • It does not work for me. After TeXnicCenter opens Sumatra, if I double click on a word, Sumatra displays the error "Cannot start inverse search command. Please check the command line in the settings". – Antonio Sesto Jul 15 '16 at 08:43