From fd17629fe888c887ba132f732a55583c435bd019 Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Mon, 19 Nov 2018 12:55:03 +0100 Subject: [PATCH] Regenerate html files for the MOOC. --- module2/ressources/emacs_orgmode.html | 210 +++++++++++++------------- 1 file changed, 106 insertions(+), 104 deletions(-) diff --git a/module2/ressources/emacs_orgmode.html b/module2/ressources/emacs_orgmode.html index 5f2a5f1..a35d82a 100644 --- a/module2/ressources/emacs_orgmode.html +++ b/module2/ressources/emacs_orgmode.html @@ -4,47 +4,47 @@

Table of Contents

@@ -65,13 +65,13 @@ the -

Installing emacs, org-mode, ess, and auctex.

-
+
+

Installing emacs, org-mode, ess, and auctex.

+
-
-

Linux (Debian, Ubuntu)

-
+
+

Linux (Debian, Ubuntu)

+

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.

-
-

macOS

-
+
+

macOS

+

Note: macOS comes with a prehistoric command-line-only version of Emacs located at /usr/bin/emacs. It's best to forget about it.

@@ -190,9 +190,9 @@ in order to make Emacs accessible directly from /Applications.
-
-

Windows

-
+
+

Windows

+
-
-

Directory naming conventions

-
+
+

Directory naming conventions

+

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.

-
-

Making R and Python available to the console

-
+
+

Making R and Python available to the console

+

When running a command, Windows will look for the command in the directories indicated in the 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)

+

Open an DOS console and type the following command:

@@ -275,9 +275,9 @@ starting with backend, which amounts to use the default Agg
-
-

All platforms: pretty code in HTML export

-
+
+

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 @@ -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 1: Prepare your journal

-
+
+

Step 1: Prepare your journal

+

Create an org/ directory in the top of your home:

@@ -353,9 +355,9 @@ should give a try.

-
-

Step 2: Set up Emacs configuration

-
+
+

Step 2: Set up Emacs configuration

+

Copy rr_org/init.el in your ~/.emacs.d/ directory.

@@ -367,9 +369,9 @@ configuration with the following command: 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

+

There are two situations in which it might be necessary to modify 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

+

Open a new instance of Emacs and open a 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:

+

In step 1, you were told to create an journal in ~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

+

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.

-
-

Emacs tips and tricks

-
+
+

Emacs tips and tricks

+
-
-

Cheat-sheets

-
+
+

Cheat-sheets

+

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:

-
-

Emacs

-
+
+

Emacs

+
-
-

Org-mode

-
+
+

Org-mode

+
-
-

Video tutorials

-
+
+

Video tutorials

+

For those of you who prefer video explanations, here is a Youtube channel with many step by step emacs tutorials.

-
-

Additional useful emacs packages

-
+
+

Additional useful emacs packages

+
-
-

Company-mode

-
+
+

Company-mode

+

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

-
+
+

Magit

+

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 C-x g.

-