Inverse Search between Kile and Okular

Inverse search is a very useful feature when you are writing a LATEX document yourself. If everything is set up properly, you can click into Okular's window with the left mouse button while pressing Shift. After that Kile loads the LATEX source file and jumps to the proper paragraph. To use inverse search, you have to compile your LATEX file with the Modern configuration.

Inverse search cannot work unless:

  • The source file has been compiled successfully.

  • Okular knows which editor you would like to use.

With this feature of Okular, a left mouse click while pressing Shift in the DVI or PDF document will result in Kile opening the corresponding LATEX document and attempt to go to the corresponding line. Remember to tell Okular to use Kile as a text editor, in Okular's menu item SettingsConfigure Okular... (on the page Editor).

Configuring Okular

Configuring Okular