Super User is a question and answer site for computer enthusiasts and power users. 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 have a file example.pdf, where the key to exercises in the top part of the document are posted at the end. Hence, I want to open two instances of this file, so that I can put the window with the answers next to the one with exercises.

A possible solution is of course to cp example.pdf example_copy.pdf, but I wonder if this be done without copying and renaming the file?

share|improve this question
up vote 10 down vote accepted

Open a document in a new instance of its associated application like this:

open -n path/to/file.pdf

Open also allows you to specify the application for the file, but if Preview is your default PDF viewer, you don't need to.


Another option is to bookmark relevant pages of the document, and jump between them by using the Back and Forward commands (Cmd-[ and Cmd-]).

alt text


The command above can be wrapped in a Service that can be assigned a keyboard shortcut in System Preferences » Keyboard using Automator:

alt text

Unfortunately, Preview cannot be scripted, and this Service cannot be launched from within Preview when viewing the document. You can, however, use it in Finder, either via its Finder » Services menu, or the context-menu of any file.

share|improve this answer
    
Note that this solution also works with other pdf readers (say skim). – Dror Aug 28 '13 at 7:36

Hit P or choose File > Print and when the print dialog comes up, instead of printing choose Open PDF in Preview from the PDF menu.

This will open another instance of the document without opening another instance of the Preview application, so you can switch between the two documents using ` as normal. In addition, this instance is only located in temporary memory and will not need to be deleted after closing. However, depending on your printer's settings, the resolution and margins may be affected.

share|improve this answer

Rather than open a whole new instance of Preview (which would then prevent you from toggling which document is in front with command+`), the easiest thing I can think to do for this is copy the pages you want in a new window and use "New from Clipboard" in the file menu. No command line required:

  1. Open the document
  2. Select desired pages from sidebar, or use command+a for select all.
  3. command+c followed by command+n — copy pages from clipboard and create a new document containing those pages.
share|improve this answer
    
Alternatively, Drag&drop pages to the desktop, thereby creating a new file. – Daniel Beck Jan 15 '11 at 21:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .