diff --git a/module2/ressources/emacs_orgmode.org b/module2/ressources/emacs_orgmode.org index da521a7fb421cdb4b844e9596dc62247f6b37e01..ca70b41006f21e81f2adcaae2c6b8ad821cc5b6a 100644 --- a/module2/ressources/emacs_orgmode.org +++ b/module2/ressources/emacs_orgmode.org @@ -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 diff --git a/module2/ressources/rr_org/init.el b/module2/ressources/rr_org/init.el index 434ad12e2b583b6620f5701aaee8a7cad73a2fac..e5b09e8ac4a86dd08d07e80f6c720780446a9358 100644 --- a/module2/ressources/rr_org/init.el +++ b/module2/ressources/rr_org/init.el @@ -61,6 +61,7 @@ (dolist (pkg '(ess auctex + htmlize exec-path-from-shell)) (when (not (package-installed-p pkg)) (package-install pkg))) diff --git a/module2/ressources/rr_org/init.org b/module2/ressources/rr_org/init.org index 65fb72736542beee4362e5a98091a7ef906cba6e..8ea4d6f9ab453abffa8deca1ebce94953031b7ef 100644 --- a/module2/ressources/rr_org/init.org +++ b/module2/ressources/rr_org/init.org @@ -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)))