Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

up vote 7 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

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

Your Answer

 
discard

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.