Comments (6)
Oh interesting! I did not realise there were cases where people where using lisp code from one repository (melpa) and epdfinfo from another repository (melpa-stable)
I generally prefer melpa over melpa-stable as in some cases, packages take longer than major emacs releases to generate a new stable release and sometimes that includes great new features.
The problem with the binary for me is that the integrated autogen rebuild flow didn't work on Windows. I guess I could have looked deeper into making it work but it was much easier to just get the prebuilt binary from MSYS2.
from pdf-tools.
I removed the elpa-pdf-tools-server package with apt and installed epdfinfo with pdf-tools-install
command from emacs. Which solved the issue for me.
from pdf-tools.
Thanks @barslmn. Your workaround works well.
from pdf-tools.
I had the same problem using MSYS2's mingw-w64-emacs-pdf-tools-server
release, I think I figured it out. You're using the melpa
version of the emacs package, but I guess you're using a (prebuilt?) binary for the epdfinfo
executable which is built from tag 1.0.0.
So you have two options I guess:
- Switch to the
melpa-stable
release of the emacs package (unfortunately, there's no highlighting at all in that version as far as I can tell) - (re)build the epdfinfo executable yourself from the latest sources. This resolved the issue for me.
For users who rely on prebuilt binaries it would be nice if there were a new release of pdf-tools soon.
from pdf-tools.
Oh interesting! I did not realise there were cases where people where using lisp code from one repository (melpa) and epdfinfo from another repository (melpa-stable)
I have 3 days in the next week cut out for pdf-tools work. At the end of the days, I will make a stable release so that the new changes propagate to melpa-stable as well.
from pdf-tools.
I am having the same problem on doomemacs.
emacs: 28.2
pdf-tools package: 1.0.0
pdfinfo/poppler: 22.12
epdfinfo (debian apt): 1.0.0-1
from pdf-tools.
Related Issues (20)
- pdf-info-query: epdfinfo: Unknown render command: :selection-style HOT 1
- Remove obsolete annotation-properties variablespdf-annot-default-markup-annotation-properties
- (pdf-tools-install) fails on macOS Sonoma 14.2.1 with poppler installed using homebrew HOT 6
- [MacOS] Figure out why PKG_CONFIG_PATH is not set correctly, and what the canonical way to fix this is (if any) HOT 1
- Move away from Cask for testing / managing package dependencies HOT 1
- Enable turning off pdf-annot-show-annotation highlight
- emacs is slow when the pdf buffer is large HOT 1
- PDF Tools installation trying to install in folder of old version
- The inexplicable right fringe HOT 6
- Emacs sometimes gets stuck after it is idle in a `pdf-tools` buffer HOT 15
- Memory leak worse than expected HOT 5
- How to print? HOT 2
- Compiling failed using most recent MSYS/MingW64 HOT 13
- Viewing pdf files with different org-mode version throws an error
- Set `pdf-view-midnight-colors` are overwritten by `bg`, `fg` in themes
- pdf-tools not working on Windows HOT 3
- synctex_parser.c:8448:13: error: implicit declaration of function 'vasprintf' HOT 1
- Key binding for 'Q' must be rebound for Emacs 30
- Install breaks if cask not installed
- Font gets noticeably thinner in 'pdf-view-midnight-minor-mode' when 'pdf-view-midnight-invert' is set to 't'
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 pdf-tools.