Git Product home page Git Product logo

Comments (3)

roastedoolong avatar roastedoolong commented on June 30, 2024 1

Thanks!

Installing to MacOS from a repo seemed a bit tricky (Dunn/emacs can't be tapped currently), but I was able to install pdf-tools in doom emacs after following this: politza/pdf-tools#645 (comment). I thought I'd post this in case others on MacOS are interested in your setup but have the same problem.
I can now open PDFs from the file explorer, but 'M-x org-noter' still does not work. When I first entered it, it prompted me to build the epdfinfo program, which I accepted. This built epdfinfo in my ~/.emacs.d/.local/straight/build-## folder, possibly overwriting what was there. I'd be grateful for any suggestions.
EDIT: building epdfinfo did not cause a problem, but 'M-x org-noter' still just creates a note without opening a pdf. I'm a noob but I noticed your init file does not use the (require 'package) syntax. Do I need to install org-noter and pdf-tools dependencies from within emacs to get this to work?
EDIT2: I realised packages are installed via package.el. I've figured out that when I hit TAB+f2 to directly open the PDF from the bib file, the pdf opens fine. So the issue is just with org-noter.
EDIT3: Got it to work! I had to comment out your setq doom-font block which I had copied into my config file (to see what the fonts would look like, I'm surprised this caused a problem). I didn't have the font Iosevka Term SSO4 and somehow this was messing things up.

from academic-doom-emacs-config.

sunnyhasija avatar sunnyhasija commented on June 30, 2024

I am sorry that you are having issues with loading pdfs.

I use fedora and manjaro (desktop and laptop).

I installed emacs using the native comp branch (this got merged into main emacs yesterday, but I have not updated).

I installed DOOM using

git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install 

I had to rebuild pdf-tools a couple of times, but eventually it ended up working. Try installing pdf-tools manually from a repo.

from academic-doom-emacs-config.

sunnyhasija avatar sunnyhasija commented on June 30, 2024

I am glad you got it to work @brendanterry !

from academic-doom-emacs-config.

Related Issues (11)

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.