Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to automatically refresh a PDF document open in macOS Preview when the underlying file is modified? [closed]

I’m writing in LaTeX on a macOS machine, while using the preinstalled Preview.app for viewing the compiled document. After the LaTeX file is recompiled, Preview.app:

  1. does not refresh the PDF automatically, and
  2. refreshes when I click its window, but jumps to the top of the document.

I’m wondering whether there is a way to configure it so that Preview.app:

  1. refreshes automatically when the underlying PDF file changes, and
  2. after refreshing, stays on the same page.
like image 687
Chitu Mazhong Avatar asked Feb 04 '15 07:02

Chitu Mazhong


People also ask

How do I refresh a PDF in Preview?

PDF solutionsHold down the Shift key and press the Refresh or Reload button in the browser.

How do I get Preview to automatically open documents on Mac?

Select “Get Info.” (2) In the Get Info dialog box that opens, use the dropdown menu of applications under Open With to select Preview. (3) To change your default settings so that all PDFs automatically open in Preview when you double-click on them, click on the “Change All” button and confirm your change.

How do I open recently closed PDF on Mac?

You can set Preview to open PDFs to the page you were on when you closed the PDF. In the Preview app on your Mac, choose Preview > Preferences, then click PDF. Select “Start on the last viewed page.”


1 Answers

I have been annoyed with this myself and, unfortunately, I only have a “hacked” solution for you.

You can view the PDF in the Single Page mode (activated by the +2 shortcut) to stay on the same page when the file is updated.

I hope someone posts a permanent solution that works in the Continuous Scroll mode.

like image 157
Sigve Karolius Avatar answered Nov 10 '22 01:11

Sigve Karolius