Ask Different is a question and answer site for power users of Apple hardware and software. 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 TexLipse for working with latex, producing pdfs as output. I have configured it to use preview as viewer using this command line:

open -a "/Applications/" %fullfile

Where %fullfile is the name of the file to be opened. TexLipse supports the adding of a %line argument, that can be passed to the viewer to make it jump to the position where the cursor in the editor is at. However, I could not find a way or any documentation on how to pass that argument to preview. Can anyone explain how to achieve this? Is it even possible?

share|improve this question
up vote 2 down vote accepted

If you are working with LaTeX, you should use not

Skim has support for moving bi-directionally between LaTeX source and the PDF, to a specific line in either the source or PDF file.

share|improve this answer

Not possible with Preview. It can go to a specific page, but that's as close as you can get. And I doubt that's baked into the CL access.

You can get the free Adobe Reader for Mac here. It must be able to do this...

share|improve this answer

It is possible with but it wasn't designed for this so it is a bit of a hack.

Turn on GUI scripting, then make a script that simulates pressing the down arrow, then call that script n times.

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.