wiki:ForwardSearch

Forward Search

Forward search allows you to jump from a certain position in your tex project to the corresponding position in the dvi, ps, or pdf file.

Set up document viewer

Several modern document viewers support the forward search, e.g.:

  • okular
  • kdvi
  • Skim
  • xdvi

If you are using one of these viewers, you can set up the forwards search in the JLatexEditor by choosing one of the viewers under Settings -> Forward Search. For other viewers you have to specify the viewer command in the global.properties. Thereto select Settings -> Global Settings and search for forward\ search.viewer. Here you can specify the command to open your favorite document viewer at a certain position. Use

  • %file to refer to the file name of the master tex file without extension (e.g. use %file.pdf to specify the generated pdf file)
  • %texfile to refer to the tex file you are currently working in
  • %line to refer to the line number in the currently open tex file

Use the forward search

The default shortcut for initiating the forward search is control+shift+F, but you can change the shortcut in the global.settings.

Last modified 6 years ago Last modified on Nov 12, 2010, 2:57:38 PM