Joon's blog

Python | openSUSE | LaTeX

Archive for the ‘SumatraPDF’ tag

SumatraPDF inverse search options for various Text Editors

without comments

I recommend using this version of SumatraPDF at william.famille-blum.org. It has “Set inverse search command-line” menu at File menu, so it is much easier to set the option. (I have had problems with updating the option with Original version.)

Options for various text editors are: (“C:\Program Files ..\” part may vary depending your system)

SlickEdit

1
C:\Program Files\SlickEditV14.0.1\win\vs.exe "%f" –#%l

UltraEdit

1
"C:\Program Files\IDM Computer Solutions\UltraEdit\Uedit32.exe"^s "%f/%l/%c"

EditPlus

1
C:\Program Files\EditPlus 3\editplus.exe "%f" -cursor %l

TexMaker

1
C:\Program Files\Texmaker\texmaker.exe "%f" -line %l

TeXnicCenter

TeXnicCenter with Sumatra PDF has nice explanation.

*. This post will be updated as I come to know more settings.

Written by joon

July 12th, 2009 at 12:57 pm

SumatraPDF command line forwardsearch

without comments

In order to use forwardsearch in SumatraPDF, one needs a text editor with DDE protocol such as WinEdt. Hence with editors without the protocole, for example UltraEdit, one cannot use forwardsearch without other DDE utility.

Here is simple compiled AutoHotKey script, SumatraForwardsearch.exe for the forwardsearch functionality.

The format of the command is:

SumatraForwardsearch “pdf file path and name” “tex file path and name” “line number” “column number”

For example,

SumatraForwardsearch.exe “D:\test.pdf” “D:\test.tex” “182″ “1″

You can save this file to wherever you want, and customize your favorite text editor (usually through User Tool) to give those arguments to this script.

It seems work well.  Let me know if you have any issues with this script.

Download: SumatraForwardsearch

See Read more to see user tool setting information for SumatraForwardsearch in various text editors. (EditPlus, UltraEdit, SlickEdit)

Read the rest of this entry »

Written by joon

July 5th, 2009 at 2:06 pm