diff --git a/module2/ressources/emacs_orgmode.html b/module2/ressources/emacs_orgmode.html index 5f2a5f1ae706c67572cb5e2def356baffd09fd31..a35d82afe6e4603e62e6e14c19bd3c682310ae29 100644 --- a/module2/ressources/emacs_orgmode.html +++ b/module2/ressources/emacs_orgmode.html @@ -4,47 +4,47 @@
We provide here only instructions for Debian-based distributions. Feel free to contribute to this document to provide up-to-date information @@ -133,9 +133,9 @@ which is now deprecated.
Note: macOS comes with a prehistoric command-line-only version of Emacs located at /usr/bin/emacs
. It's best to forget about it.
/Applications
.
Install the .exe
file from Vincent Goulet:
https://vigou3.gitlab.io/emacs-modified-windows/. It ships with recent
@@ -205,9 +205,9 @@ versions:
In the following instructions, we refer to your home
directory through the (UNIX) ~/
notation. On Windows, your home
@@ -218,9 +218,9 @@ means we are referring to C:\Users\yourname\org
(resp.
When running a command, Windows will look for the command in the
directories indicated in the
Open an DOS console and type the following command:
To have code pretty printing when exporting to HTML, you should
install the
This section is illustrated in a video tutorial ("Mise en place
Emacs/Orgmode" in French). Watching it before following the
@@ -311,14 +311,13 @@ adding a few org-mode specific configurations.
The procedure we propose will wipe your already existing custom Emacs
-configuration if you have one. You should thus beforehand make
-a backup of
@@ -331,12 +330,15 @@ rr_org/init.el
rr_org/journal.org
+
+
+Alternatively, the files you are looking for are available here.
+
Create an
Copy
There are two situations in which it might be necessary to modify
Open a new instance of Emacs and open a
In step 1, you were told to create an journal in
This section is illustrated in a video tutorial ("Écrire un article
réplicable avec Emacs/Orgmode" in French). Watching it before
@@ -510,22 +512,22 @@ chunk of code when exporting.
Learning Emacs and Org-Mode can be difficult as there is an inordinate
amount of shortcuts. Many people have thus come up with
cheat-sheats. Here is a selection in case it helps:
For those of you who prefer video explanations, here is a Youtube
channel with many step by step emacs tutorials.
Company-mode is a text completion framework for Emacs. It allows to
have smart completion in emacs for the most common languages. If you
@@ -569,9 +571,9 @@ official Web page: http://company-mode.
Magit is an Emacs interface for Git. Its usage is briefly illustrated
in the context of this MOOC in a video tutorial ("Utilisation
@@ -589,9 +591,9 @@ invoke magit by using PATH
environment variable. If none of
@@ -237,9 +237,9 @@ explained
-Installing and configuring Matplotlib (graphic python library)
-Installing and configuring Matplotlib (graphic python library)
+backend
, which amounts to use the default Agg
All platforms: pretty code in HTML export
-All platforms: pretty code in HTML export
+htmlize
package, which is done by opening emacs and
@@ -290,9 +290,9 @@ M-x package-install RET htmlize RET # where M-x means pressing the "Esc" key
A simple "reproducible research" emacs configuration
-A simple "reproducible research" emacs configuration
+Step 0: Backup and download our configuration
-Step 0: Backup and download our configuration
+~/.emacs
and of ~/.emacs.d/init.el
(if these files
-exist).
+configuration if you have one. You should thus beforehand make a
+backup of ~/.emacs
and of ~/.emacs.d/init.el
(if these files exist).
Step 1: Prepare your journal
-Step 1: Prepare your journal
+org/
directory in the top of your home:
Step 2: Set up Emacs configuration
-Step 2: Set up Emacs configuration
+rr_org/init.el
in your ~/.emacs.d/
directory.
emacs -q -l rr_org/init.el
Step 3: Adapt the configuration to your specific needs if required
-Step 3: Adapt the configuration to your specific needs if required
+init.el
:
@@ -398,9 +400,9 @@ beginning of the file for instructions.
Step 4: Check whether the installation is working or not
-Step 4: Check whether the installation is working or not
+foo.org
file. Copy the
following lines in this file:
@@ -431,9 +433,9 @@ is demonstrated in the
-Step 5: Open and play with your journal:
-Step 5: Open and play with your journal:
+~org/journal.org
. First you probably want to make sure this file is
@@ -444,9 +446,9 @@ FUN forums.
A stub of a replicable article
-A stub of a replicable article
+Emacs tips and tricks
-Emacs tips and tricks
+Cheat-sheets
-Cheat-sheets
+Emacs
-Emacs
+
Org-mode
-Org-mode
+
Video tutorials
-Video tutorials
+Additional useful emacs packages
-Additional useful emacs packages
+Company-mode
-Company-mode
+Magit
-Magit
+C-x g
.
Other resources
-