Code Monkey home page Code Monkey logo

Comments (14)

dstillman avatar dstillman commented on July 21, 2024

Zotero uses a modified version of pdfinfo that can write to a text file, so it can't just use the system version.

Update: As of April 2015, Zotero no longer uses modified binaries on OS X and Linux.

from zotero-standalone-build.

heiserhorn avatar heiserhorn commented on July 21, 2024

Ok I found the modified pdfinfo here: https://www.zotero.org/trac/browser/tools/xpdf/pdfinfo.cc

I cannot find the modified version of pdftotext could you point me to it please?

Cheers

Mike

from zotero-standalone-build.

dstillman avatar dstillman commented on July 21, 2024

We use the stock version of pdftotext on Linux, but we don't check for the system version since we need the modified version of pdfinfo anyway.

from zotero-standalone-build.

dstillman avatar dstillman commented on July 21, 2024

If you're looking to avoid Zotero's built-in installation process for the PDF tools, you could perhaps require poppler and then bundle shell scripts in the expected locations within the Zotero data directory that called the system binaries and redirected pdfinfo's output to a text file as necessary. (You'd have to account for the architecture suffixes, though.) No guarantee that that would work, but you can look into it.

from zotero-standalone-build.

heiserhorn avatar heiserhorn commented on July 21, 2024

Thanks for the tipps. I will investigate. I think for the moment I will just disable the installation of pdfinfo and pdftotext.

from zotero-standalone-build.

dstillman avatar dstillman commented on July 21, 2024

Sounds good. We might just start bundling pdfinfo and pdftotext in Standalone, since those are platform-specific downloads anyway.

from zotero-standalone-build.

kovanovic avatar kovanovic commented on July 21, 2024

This issue still exists. I'm not able to use system-wide ones, but there is no install button :(

I'll install standalone version from zotero's webiste to get those utils and then c/p in standalone directory

from zotero-standalone-build.

heiserhorn avatar heiserhorn commented on July 21, 2024

I disabled the install button in the debian package. If you really want you can clone the repository, drop the patch to remove the button and build.

from zotero-standalone-build.

ax3l avatar ax3l commented on July 21, 2024

@heiserhorn do you have any progress on that? still having the problem on jessy :(

from zotero-standalone-build.

heroxbd avatar heroxbd commented on July 21, 2024

I have the same problem. Updates appreciated.

from zotero-standalone-build.

aurimasv avatar aurimasv commented on July 21, 2024

As @kovanovic was suggesting, you can get the Zotero versions of each and place them in the data directory manually:
64 bit:
pdfinfo: https://www.zotero.org/download/xpdf/pdfinfo-Linux-x86_64-3.02
pdftotext: https://www.zotero.org/download/xpdf/pdftotext-Linux-x86_64-3.02
32 bit:
pdfinfo: https://www.zotero.org/download/xpdf/pdfinfo-Linux-i686-3.02
pdftotext: https://www.zotero.org/download/xpdf/pdftotext-Linux-i686-3.02

(rename to remove -3.02 and chmod +x)

from zotero-standalone-build.

heroxbd avatar heroxbd commented on July 21, 2024

aurimasv, thank you for pointing this out.

Where are the sources of pdfinfo and pdftotext? the trac link is down.

from zotero-standalone-build.

dstillman avatar dstillman commented on July 21, 2024

Where are the sources of pdfinfo and pdftotext?

pdfinfo: https://gist.github.com/dstillman/7ff988a98076dc61e008

The pdftotext code wasn't modified. (The hidden flag on the executable was enabled on Windows, but that's it.)

from zotero-standalone-build.

ax3l avatar ax3l commented on July 21, 2024

If pdftotext was not modified it would be great if it would just find/use the default installed one by default (talking about e.g. Debian based install).

About pdfinfo.cc: it might be a good idea for users to provide a minimal script how to compile that modified version.

from zotero-standalone-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.