Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pdf_fulltext_indexing [2017/11/12 19:53] – external edit 127.0.0.1pdf_fulltext_indexing [2017/12/04 08:01] – [PDF Full-Text Indexing] bwiernik
Line 1: Line 1:
-<html><p id="zotero-5-update-warning" style="color: red; font-weight: bold">We’re 
-in the process of updating the documentation for 
-<a href="https://www.zotero.org/blog/zotero-5-0">Zotero 5.0</a>. Some documentation 
-may be outdated in the meantime. Thanks for your understanding.</p></html> 
- 
- 
 ====== PDF Full-Text Indexing ====== ====== PDF Full-Text Indexing ======
  
-Zotero uses the pdfinfo and pdftotext utilities from the open-source [[http://www.foolabs.com/xpdf/|Xpdf]] project for [[searching#fulltext_pdf_indexing|PDF indexing]].+Zotero uses the pdfinfo and pdftotext utilities from the open-source [[http://www.foolabs.com/xpdf/|Xpdf]] project for [[searching#pdf_fulltext_indexing|PDF indexing]].
  
-If installation via the [[preferences/search|Search tab]] of the [[preferences|Zotero preferences]] window fails, the easiest solution is to install the tools from another computer running the same OS and copy the pdfinfo* and pdftotext* files over from the [[zotero_data|Zotero data directory]] on that computer. (On OS X and Linux, be sure to preserve the executable bit on the executables and script files.)+If installation via the [[preferences/search|Search tab]] of the [[preferences|Zotero preferences]] window fails, the easiest solution is to install the tools from another computer running the same OS and copy the pdfinfo* and pdftotext* files over from the [[zotero_data|Zotero data directory]] on that computer. (On macOS and Linux, be sure to preserve the executable bit on the executables and script files.)
  
 ===== Manual Installation ===== ===== Manual Installation =====
Line 16: Line 10:
  
   - The different executables can be placed directly in the data directory or linked to from there. Either way, platform-specific files must be created, conforming to the format ''pdfinfo-{platform}'' and ''pdftotext-{platform}'', where ''{platform}'' is "Win32", "MacIntel", "Linux-i686", etc. To determine your current platform, open the Firefox Web Console and enter ''navigator.platform.replace(' ', '-')''. The Windows executables require the .exe extension (e.g., ''pdftotext-Win32.exe'').   - The different executables can be placed directly in the data directory or linked to from there. Either way, platform-specific files must be created, conforming to the format ''pdfinfo-{platform}'' and ''pdftotext-{platform}'', where ''{platform}'' is "Win32", "MacIntel", "Linux-i686", etc. To determine your current platform, open the Firefox Web Console and enter ''navigator.platform.replace(' ', '-')''. The Windows executables require the .exe extension (e.g., ''pdftotext-Win32.exe'').
-  - One or two scripts are required for proper functioning of the PDF tools within Zotero. <del>On Windows systems, [[https://raw.githubusercontent.com/zotero/zotero/4.0/resource/redirect.vbs|redirect.vbs]] should be saved as ''pdfinfo.vbs'' and [[https://raw.githubusercontent.com/zotero/zotero/4.0/resource/hide.vbs|hide.vbs]] should be saved as ''pdftotext.vbs''.</del> [Note: These scripts are not currently usable on Windows, and Zotero instead uses custom versions of the binaries. If you use different versions of the tools, PDF page counts will not be available, and console windows will appear briefly while the tools run.] On OS X and Linux, [[https://raw.githubusercontent.com/zotero/zotero/4.0/resource/redirect.sh|redirect.sh]] should be saved as ''pdfinfo.sh'', with the executable bit set.+  - One or two scripts are required for proper functioning of the PDF tools within Zotero. 
 +    - On OS X and Linux, [[https://raw.githubusercontent.com/zotero/zotero/master/resource/redirect.sh|redirect.sh]] should be saved as ''pdfinfo.sh'', with the executable bit set. 
 +    - <del>On Windows systems, [[https://raw.githubusercontent.com/zotero/zotero/4.0/resource/redirect.vbs|redirect.vbs]] should be saved as ''pdfinfo.vbs'' and [[https://raw.githubusercontent.com/zotero/zotero/4.0/resource/hide.vbs|hide.vbs]] should be saved as ''pdftotext.vbs''.</del> [Note: These scripts are not currently usable on Windows, and Zotero instead uses custom versions of the binaries. If you use different versions of the tools, PDF page counts will not be available, and console windows will appear briefly while the tools run.] 
   - Text files containing the installed version number should be created with filenames in the format ''{executable-name}.version'' (e.g., ''pdftotext-MacIntel.version'').   - Text files containing the installed version number should be created with filenames in the format ''{executable-name}.version'' (e.g., ''pdftotext-MacIntel.version'').
pdf_fulltext_indexing.txt · Last modified: 2018/04/29 19:11 by dstillman