Commit e8ef7055 authored by Konrad Hinsen's avatar Konrad Hinsen

Emacs: install htmlize with the other packages

parent 078e28cc
......@@ -133,14 +133,6 @@ matplotlib.matplotlib_fname()
Open the =matplotlibrc= file and modify the line starting with =backend=
to make it =backend : Agg=.
** All platforms: pretty code in HTML export
To have code pretty printing when exporting to HTML, you should
install the =htmlize= package, which is done by opening emacs and
typing the following command:
#+BEGIN_EXAMPLE
M-x package-install RET htmlize RET # where M-x means pressing the "Esc" key then the "x" key
#+END_EXAMPLE
* A simple "reproducible research" emacs configuration
This section is illustrated in a [[https://www.fun-mooc.fr/courses/course-v1:inria+41016+session02/jump_to_id/9cfc7500f0ef46d288d2317ec7b037b4][video tutorial]] (/"Mise en place
Emacs/Orgmode"/ in French). Watching it before following the
......
......@@ -61,6 +61,7 @@
(dolist (pkg '(ess
auctex
htmlize
exec-path-from-shell))
(when (not (package-installed-p pkg))
(package-install pkg)))
......
......@@ -86,6 +86,7 @@ document, simply =M-x org-babel-tangle=.
#+begin_src emacs-lisp
(dolist (pkg '(ess
auctex
htmlize
exec-path-from-shell))
(when (not (package-installed-p pkg))
(package-install pkg)))
......
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