TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Kile editing my tex files, with Okular for viewing the dvi and PDF files. And I can search the source file from PDF fairly well. I have configured Kile as follows in order to highlight the source line when search incontrovertibly:

Configure Kile->Editor->Fonts & Colors->Text Area Background, 

then I changed the default color of Current line into blue for example, thus I can locate the line when I clicked Shift+Click in PDF file.

But I can not do so when in ForwardPDF, that is from tex to PDF. What I have seen is just the page of the PDF file that corresponds to the source file.

How can I configure my Okular (or Kile), so that I can locate the line (for example, by highlight the line) when in forwardPDF?

share|improve this question

closed as unclear what you're asking by Paul Gessler, Werner, Masroor, Jesse, Christian Hupfer Jul 14 '14 at 17:03

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.SE. I assume you have the -synctex=1 option set? – Peter Grill Oct 4 '12 at 3:02
Certainly I have set. Here is my configuration of Kile: XeLaTeX: Select: PDF Modern; Command: xelatex; Options: -synctex=1 -interaction=nonstropmode '%source' – azhi Oct 4 '12 at 3:34
Did you find a solution for highlighting the relevant line in okular when jumping to it in forward search? – Charl Botha Jun 2 '13 at 10:12
No, I have not find a solution for locating and highlighting the relevant line in okular in forward search. And now I am using Texstudio, it works very well in Debian Wheezy, whose function of forward search and backward search is fairly wonderful. – azhi Jun 3 '13 at 11:40
@azhi, does your comment above mean that you've resolved the issue? Or are you still looking for answers to this question? – Paul Gessler Jul 5 '14 at 21:40