Code Monkey home page Code Monkey logo

Comments (5)

dstillman avatar dstillman commented on July 21, 2024

We no longer use customized binaries on OS X and Linux.

For Windows, the main change isn't in the source — it's modifying a flag on the executable (can't remember which one) to prevent the console window from showing when the executable is run. We did also modify pdfinfo.exe to allow it to take an output text file as a parameter, but the diff for that was on our old SVN server, which isn't online anymore. I might be able to retrieve it, but it's also possible to use the stock pdfinfo using the bundled VB scripts, which I can explain if you're on Windows. (We ran into problems running VB scripts with security settings on some Windows computers, which is why that's not the default.)

from zotero-standalone-build.

rmzelle avatar rmzelle commented on July 21, 2024

We did also modify pdfinfo.exe to allow it to take an output text file as a parameter, but the diff for that was on our old SVN server, which isn't online anymore.

@dstillman, looks like you already posted this before: https://gist.github.com/dstillman/7ff988a98076dc61e008/revisions (via #28 (comment))

from zotero-standalone-build.

rmzelle avatar rmzelle commented on July 21, 2024

And http://linux.die.net/man/1/pdftotext suggests that "-q" is the no-output flag:

-q
Don't print any messages or errors.

from zotero-standalone-build.

mandian avatar mandian commented on July 21, 2024

Thank you for your answers.

@dstillman I am just interested in Linux version because I am packaging zotero for the distribution I use. After reading your answer I realized I missed the redirection script for pdfinfo. Just copying modules/zotero/resource/redirect.sh in the system binary path and renaming it solves my issue. So actually I am using the system binaries (I patched zotero in order to let it looks for them in /usr/bin, of course) and from my early tests all it works well.

@rmzelle your link refers to version 3.02 while I was searching for version 3.04. pdftotext-Linux-x86_64 used by zotero has some different options with respect to the binary pdftotext installed on my system but dstillman said they don't modify it any more so I suppose it is only because my system is using a different version. In any way it seems now I don't need it any more. Maybe Debian packager could adopt a similar solution too.

from zotero-standalone-build.

dstillman avatar dstillman commented on July 21, 2024

@dstillman, looks like you already posted this before

Ah, thanks.

And http://linux.die.net/man/1/pdftotext suggests that "-q" is the no-output flag

(That's just output from the command. It will still open a cmd.exe window when run unless a flag is changed on the binary or it's run via a VB script.)

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.