[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using pdf-tools
From: |
Óscar Fuentes |
Subject: |
Re: Using pdf-tools |
Date: |
Thu, 10 Jun 2021 17:51:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Julius Hamilton <julkhami@gmail.com> writes:
> Hey,
>
> I'm a beginner to emacs and I'm trying to get going with the library
> pdf-tools.
Which method did you use for installing pdf-tools?
> The documentation says I should add the line "(pdf-tools-install)"
> "somewhere in my .emacs.el file".
>
> I noticed that in my home directory I have a .emacs.d file. Some
> documentation said people usually have a .emacs file but sometimes also a .
> emacs.el file or a .emacs.d/init.el file, as an init file.
>
> I was wondering, what are the reasons for having these different kinds of
> init files?
That's probably just an historical artifact, resulting from the shifting
preferences and traditions within the Emacs community.
Please note that if you have an ~/.emacs or ~/.emacs.el file it wont load
~/.emacs.d/init.el
> I added "(pdf-tools-install)" at the end of my init.el file, and restarted
> emacs. I tried a command from the pdf-tools docs, "M-x pdf-tools-help RET",
> which the system did not recognize.
>
> I was wondering if anyone could give me a hand and explain to me why this
> is and what a good next step would be. Should I set up my emacs with a
> emacs.el init file instead?
If you have .emacs.d/init.el and none of the other optios (.emacs,
.emacs.el) it should work, provided that pdf-tools is properly
installed.