Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using TeXnicCenter 2.0 Alpha 4 and MikTex 2.9 with SumatraPDF 2.0.1.

My forward/inverse search is off by 3-4 paragraphs. Forward/inverse search under DVI and YAP works correctly. My setup is shown below. How do I get my SumatraPDF to forward/inverse search properly?

Profile screenshot 1 Profile screenshot 2

share|improve this question

closed as too localized by Torbjørn T., Count Zero, Joseph Wright Jun 2 '12 at 21:32

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I can't reproduce the problem at the moment. Forward and inverse search work properly with all documents I tested. Did you install all recent MiKTeX updates? If so, please provide a short sample document that breaks forward/inverse search on your system. Also provide the generated synctex file, and the complete command-line call of SumatraPDF (entry "Executable Path" at the top of your second screenshot, some options are not visible there). –  Martin Apr 28 '12 at 7:41
    
The problem is gone now. Maybe it is something specific to that Tex file. The strange thing is, when I created a new blank Tex file, copied over all the contents from the "error version" to the new file (select all, copy, and paste), the error is now gone! –  Pete Apr 28 '12 at 14:12