- path@>=0.12.7
- chokidar@>=3.3.0
- fs-extra@>=8.1.0 <9.0.0
- cross-env@^10.1.0
- @fortawesome/fontawesome-free@5.11.2
-
Made for Pulsar!
This package was written specifically for Pulsar and did not exist in the Atom package repository.
pulsar-pdf-viewer
pulsar-pdf-viewer is a package for the Pulsar editor that makes it possible to view PDF files in Pulsar panes. It is a wrapper around Mozilla's PDF.js library including its viewer application, adapted for the Pulsar environment.

Installation
Install from Pulsar's Settings/Install dialog (search for pulsar-pdf-viewer) or via ppm install pulsar-pdf-viewer.
Usage
PDF files can be opened from the Pulsar user interface, e.g. from the project tree view, or programmatically through atom.workspace.open().
The PDF.js viewer supports a number of keyboard shortcuts, the most important ones are:
| shortcut | function |
|---|---|
| n or j | next page |
| p or k | previous page |
| ctrl+f | find |
| ctrl+g | find next |
| shift+ctrl+g | find previous |
| ctrl++ | zoom in |
| ctrl+- | zoom out |
| ctrl+0 | reset zoom |
| r | rotate clockwise |
| shift+r | rotate counterclockwise |
| F4 | toggle sidebar |
Zoom is also possible via ctrl + the mouse wheel. A click on an internal link scrolls to that position in the document, a click on an external link opens it with the associated application. If modified by ctrl or shift, external links are opened in a separate window.
If the PDF has been generated by *TeX with SyncTeX support, a right click opens the source file in at the corresponding line.
The package watches for file changes and reloads the PDF if necessary. Viewer panes are persistent across runs.
This software is released under the terms of the MIT license, except for the included modified copy of the PDF.js library and viewer (pre-built release pdfjs-2.16.105-dist), © Mozilla and individual contributors and released under the terms of the Apache-2.0 license.