Comments (5)
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.
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.
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.
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, 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)
- Outdated LibreOffice integration submodule HOT 3
- fx-compat: Apple Silicon source build can't load Mac Word dylib HOT 1
- Fix bootstrapped plugins getting disabled on upgrade from Zotero 6 to 7
- Remove Firefox profile-downgrade check
- Update hardened-runtime entitlements for fx102
- Update Firefox to 102.9.0esr HOT 1
- Packaging for Alpine Linux HOT 3
- Building Zotero : fetch_pdftools error HOT 1
- To choose the program for openning a jpg file HOT 1
- Dark theme issue on Linux HOT 2
- Windows: Update version number in Add/Remove Programs on update HOT 4
- Support minimize to tray on Linux HOT 3
- Blank context menus HOT 1
- Fetching XUL runner gets stuck when modifying omni HOT 1
- Register for zotero:// and MIME types on Linux HOT 12
- npm run build errors on arm64 HOT 1
- Replace use of wget with curl
- CFBundleShortVersionString should only contain numbers and periods
- Fix macOS bundle version strings for betas
- Right-click -> Copy in Error Console doesn't copy anything (on macOS only?)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zotero-standalone-build.