Find a file
Dan Stillman 693f9a7e1b Try to open external PDF reader to page number for "Show on Page"
PDF-handling code from `ZoteroPane.viewAttachment()` predates
`Zotero.OpenPDF` and didn't handle page numbers for external PDF
readers, so when called from "Show on Page" in a note (via
`ZoteroPane.viewPDF()`) it just launched the file itself in the
specified handler or via the OS.

For now, change to use `Zotero.OpenPDF.openToPage()` when there's a page
number. Later we should use `Zotero.OpenPDF` for everything, but that
code is more complicated than just using `launchFile()`, so we'll need
to do some testing (particularly on Linux) to see what's best.

(Note that "Show on Page" with an external reader doesn't make a ton of
sense, since you can't actually see the annotation, but opening the
right page is better than nothing.)

Fixes #2612
2022-05-15 04:28:30 -04:00
.github Update utilities, move tests, add to CI (#2584) 2022-04-30 04:55:11 -04:00
chrome Try to open external PDF reader to page number for "Show on Page" 2022-05-15 04:28:30 -04:00
components Remove note backup functionality 2022-03-05 06:12:29 -05:00
defaults/preferences Add an option to disable smart quotes 2022-04-27 10:23:10 +03:00
note-editor@1a3fa7b30d Show a few missing options in Tools menu when PDF reader tab is open 2022-04-27 18:20:41 +03:00
pdf-reader@4d7ce02e92 Update note-editor and pdf-reader submodules 2022-04-15 05:21:14 -04:00
pdf-worker@03e80435d3 Update pdf-worker submodule 2022-04-12 03:13:02 -04:00
resource Update translators 2022-05-09 09:26:43 -04:00
scripts Update utilities, move tests, add to CI (#2584) 2022-04-30 04:55:11 -04:00
scss Improve column resizing robustness (#2588) 2022-05-03 03:00:23 -04:00
styles@085f270569 Update submodules 2022-02-19 13:53:03 -05:00
test Update utilities, move tests, add to CI (#2584) 2022-04-30 04:55:11 -04:00
translators@a41195e2f8 Update translators 2022-05-09 09:26:43 -04:00
.babelrc Add @babel/plugin-proposal-unicode-property-regex 2021-08-22 04:07:33 -04:00
.eslintignore ESLint: Ignore additional files 2019-02-26 06:07:54 -05:00
.eslintrc Update Babel and ESLint 2021-12-23 04:58:11 -05:00
.gitattributes Fix enforcing of Unix newlines for SQL files 2016-02-26 18:37:44 -05:00
.gitignore Cache PDF tools in the source directory between test runs 2018-01-18 19:24:09 -05:00
.gitmodules Fix CI: Replace git:// URLs with HTTPS 2022-03-15 10:24:57 -07:00
chrome.manifest Add Greek locale 2022-02-19 14:18:50 -05:00
CONTRIBUTING.md Update CONTRIBUTING.md 2018-11-04 01:31:10 -04:00
COPYING Update COPYING 2018-03-26 11:27:48 +02:00
install.rdf Update version 2022-05-09 10:46:18 -04:00
package-lock.json Overhaul Scaffold (#2293) 2022-03-02 22:36:04 -05:00
package.json Overhaul Scaffold (#2293) 2022-03-02 22:36:04 -05:00
README.md README.md: Update CI Badge (#2473) 2022-03-25 22:14:47 -04:00
update.rdf Update Fx minVersion to 45 2016-12-13 09:12:55 -05:00

Zotero

CI

Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.

Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.

For more information on how to use this source code, see the Zotero wiki.