Commit 34a9ce06 authored by Francesco Montanari's avatar Francesco Montanari

Add MELPA installation to README

parent c2583fe7
#-*-mode:text-*-
# Compiled
*.elc
......@@ -13,3 +15,6 @@
# Temporariry files
install.sh
numlib.el
numrecip.cl
tmp.el
\ No newline at end of file
......@@ -52,35 +52,41 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* Download
Downloaded the source code from the [[https://gitlab.com/montanari/cosmo-el][git repository page]].
Alternatively, clone the git repository:
#+BEGIN_SRC shell
git clone git@gitlab.com:montanari/cosmo-el.git
#+END_SRC
* Installation
This program is meant to work with the [[https://www.gnu.org/software/emacs/][Emacs]] text editor. Copy
the =cosmo.el= file into a sub-folder under your Emacs
configuration directory. (In general this directory can be
accessed from Emacs, independently from the operating system,
by typing the command =C-x C-f ~/.emacs.d/=.) E.g., on Unix
systems:
#+BEGIN_SRC shell
mkdir ~/.emacs.d/cosmo-el
cp cosmo.el ~/.emacs.d/cosmo-el
#+END_SRC
Add the path to the =cosmo.el= package folder into your Emacs
configuration file (e.g., =~/.emacs= on Unix systems):
#+BEGIN_SRC emacs-lisp
;; Cosmological calculator
(add-to-list 'load-path "~/.emacs.d/cosmo-el/")
(require 'cosmo)
#+END_SRC
** MELPA
The package is available on the [[https://melpa.org/][MELPA]] repository. Please
follow the related installation instructions.
** Manual installation
[[https://gitlab.com/montanari/cosmo-el][Download]] or clone the git repository:
#+BEGIN_SRC shell
git clone git@gitlab.com:montanari/cosmo-el.git
#+END_SRC
Copy the =cosmo.el= file into a sub-folder under your Emacs
configuration directory. (In general this directory can be
accessed from Emacs, independently from the operating system,
by typing the command =C-x C-f ~/.emacs.d/=.) E.g., on Unix
systems:
#+BEGIN_SRC shell
mkdir ~/.emacs.d/cosmo-el
cp cosmo.el ~/.emacs.d/cosmo-el
#+END_SRC
Add the path to the =cosmo.el= package folder into your Emacs
configuration file (e.g., =~/.emacs= on Unix systems):
#+BEGIN_SRC emacs-lisp
;; Cosmological calculator
(add-to-list 'load-path "~/.emacs.d/cosmo-el/")
(require 'cosmo)
#+END_SRC
* Usage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment