GithubHelp home page GithubHelp logo

Comments (6)

cyrilarnould avatar cyrilarnould commented on September 28, 2024 2

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.

barslmn avatar barslmn commented on September 28, 2024 1

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.

seokbeomKim avatar seokbeomKim commented on September 28, 2024 1

Thanks @barslmn. Your workaround works well.

from pdf-tools.

cyrilarnould avatar cyrilarnould commented on September 28, 2024

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.

vedang avatar vedang commented on September 28, 2024

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.

barslmn avatar barslmn commented on September 28, 2024

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)

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.