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 TexShop on a Mac OS X Lion. I can sync between the pdf file and the tex file by a right click on "Sync" on the mouse.

My question is the following:

Is it possible also when I compile a tex file (by pressing "Typeset") to get the pdf file opened exactly at the corresponding string (or page) which I just wrote in the tex file?

Should I change anything in the LaTeX settings in order to get this feature?

share|improve this question
You can simply hold down the Command key (⌘) and left-click on a word in the source code (.tex file) and the PDF viewer will jump right to the corresponding paragraph as well as highlight it. This works in both directions, this means you can Command-click a word in the PDF and it will jump to the position in your source code. – brian-ammon Apr 10 '13 at 11:51

Short answer is no. While you can jump from the source to the output in the PDF (as commented, using Command key (⌘) and left-click), this won't happen automatically when you compile.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.