Avtokod - 2012-11-11

Hi all,

in this topic was a small discussion about how to setting up for compile source .tex to PDF and synchronization to corresponding line in the view with SumatraPDF.

Here is small command-line tool I wrote for these tool-chains.

http://code.google.com/p/command-line-version-dde-client/

Now you can compile tex-source and move Notepad++ <-> SumatraPDF forward and reverse, just like in TeXLive.

Code for ForwardSearch is greatly simplified:

cd "$(CURRENT_DIRECTORY)"
<path to>\cl-2-dde.exe @' 'SUMATRA' 'control' '[ForwardSearch("$(CURRENT_DIRECTORY)\$(NAME_PART).pdf","$(CURRENT_DIRECTORY)\$(NAME_PART)$(EXT_PART)",$(CURRENT_LINE),0,0,0)]'