From e8e0f5e83162e7566cc39c12841732d68be6026e Mon Sep 17 00:00:00 2001 From: Aurimas Vinckevicius Date: Fri, 16 Jan 2015 14:03:08 -0600 Subject: [PATCH] Bump MAX_PAGES to 15 Re https://forums.zotero.org/discussion/45641/error-getting-metadata/#Item_10 --- chrome/content/zotero/recognizePDF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js index a51ab77e3..71bab85e4 100644 --- a/chrome/content/zotero/recognizePDF.js +++ b/chrome/content/zotero/recognizePDF.js @@ -70,7 +70,7 @@ var Zotero_RecognizePDF = new function() { * @return {Promise} A promise resolved when PDF metadata has been retrieved */ this.recognize = function(file, libraryID, stopCheckCallback) { - const MAX_PAGES = 7; + const MAX_PAGES = 15; var me = this; return _extractText(file, MAX_PAGES).then(function(lines) {