Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
Welcome to TeX.sx! Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. –  Kurt Jan 29 '13 at 13:33
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

1 Answer 1

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.